Vms in Destroyed state should be returned in listVirtualMachines API response (when the call is made by root/domain Admin) no matter if it's executed with zoneId, or w/o.
Simon, please file a bug against management server component. Thanks, Alena. On 10/5/12 9:27 AM, "Simon Waterhouse" <[email protected]> wrote: >I have a single zone CloudStack with some deleted instances in the zone > >If I use the REST API to query "command=listVirtualMachines" then it >returns me a record of the deleted instances. However if I specify the >UID of the zone with the query >"command=listVirtualMachines&zoneid=<zone-uuid>" then the server returns >an empty response. > >My initial feeling is this is a bug - or are deleted machines no longer >regarded as "in" the zone? If so, there is a bug to be filed against the >management console (as the Instances list shows the zone of a deleted >instance). > >Any thoughts before I head to the bug list? > >Thanks >Simon >
