Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-8578

listVirtualMachines does not return deleted machines when zone is specified

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Minor
    • Resolution: Fixed
    • 4.1.1, 4.2.1, 4.3.1, 4.4.3, 4.5.1
    • None
    • API
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      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

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            Unassigned Unassigned
            resmo Rene Moser
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment