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

[VMware] restoreVirtualMachine should forcefully power off VM

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

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.4.2, 4.5.1
    • None
    • API, VMware
    • Security Level: Public (Anyone can view this level - this is the default.)

    Description

      When restoreVirtualMachine API is called against a running instance CloudStack issues a command to vCenter to shutdown the guest OS, which shuts the OS down gracefully.

      Sometimes this graceful shutdown can take several minutes if there are processes that prevent/delay the OS shutting down gracefully.

      Presumably, when I call the restoreVirtualMachine API I don't care about the current state of the instance and nor do I care if it shuts down gracefully.

      Could the restoreVirtualMachine instead tell vCenter to Power Off the VM, which results in the VM immediately changing to a stopped state?

      Attachments

        Activity

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

          People

            Unassigned Unassigned
            mattycourtney Matty Courtney

            Dates

              Created:
              Updated:

              Slack

                Issue deployment