cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF GitHub Bot (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-8578) listVirtualMachines does not return deleted machines when zone is specified
Date Tue, 23 Jun 2015 11:54:00 GMT

    [ https://issues.apache.org/jira/browse/CLOUDSTACK-8578?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14597525#comment-14597525
] 

ASF GitHub Bot commented on CLOUDSTACK-8578:
--------------------------------------------

Github user resmo commented on the pull request:

    https://github.com/apache/cloudstack/pull/510#issuecomment-114465874
  
    @DaanHoogland We already do :). User permissions API is **not affected** of this change
however.
    
    The API does already return VMs `listVirtualMacines` in `destroyed` state if you have
*admin* permissions. 
    
    But if you provide `zoneid` in `listVirtualMacines` with *admin* permissions, it does
not return VMs in `destroyed` state. This makes no sense to me. The bug was already fixed
in CLOUDSTACK-284 but then the bug was reimplemented by accident.



> listVirtualMachines does not return deleted machines when zone is specified
> ---------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-8578
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8578
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: API
>    Affects Versions: 4.1.1, 4.2.1, 4.3.1, 4.4.3, 4.5.1
>            Reporter: René Moser
>            Priority: Minor
>
> A REST API query "command=listVirtualMachines&zoneid=<zone-uuid>" does not
return destroyed virtual machines in the response.
> There was a similar issue reported in #284 and fixed but in accidentally re-implemented
in https://github.com/apache/cloudstack/commit/c167ad45e3480160c086e5bf532a72d9704c072b#diff-20f157170d9a50e3010375d071fd4db5R747
 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message