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

[VMware] restoreVirtualMachine should forcefully power off VM

    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

          People

            Unassigned Unassigned
            mattycourtney Matty Courtney
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: