cloudstack-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Marcus Sorensen" <>
Subject Review Request: Don't return a UserVM object if we fail to stop vm
Date Fri, 26 Apr 2013 04:51:28 GMT

This is an automatically generated e-mail. To reply, visit:

Review request for cloudstack, Chip Childers and edison su.


pass back null if we fail to connect to agent or stop the vm, rather than something that looks
like success to the stopVirtualMachine api command.

This addresses bug CLOUDSTACK-2195.


  server/src/com/cloud/vm/ 7bf04ec 
  server/src/com/cloud/vm/ 2c2986f 



Applied to 4.1 branch, attempted to stop VM with KVM agent disconnected, finally saw it fail.
The logs also showed why, which is good: 

2013-04-25 17:37:09,933 ERROR [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-1:job-44)
Unable to stop vm, agent unavailable: Resource
[Host:1] is unreachable: Host 1: Host with specified id is not in the right state: Disconnected

Started the KVM agent, and stopping succeeded.


Marcus Sorensen

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message