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

[VMware] RestoreVM API fails with NPE

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 4.2.0
    • 4.3.0
    • VMware
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      Steps to reproduce
      ------------------------
      1. Deploy s VM with parameter startVM=false
      2. Call restoreVirtualMachine api on the VM.
      The command will fail with an NPE.

      If a VM instance is deployed with startVm=false, then calling restoreVm on the instance fails with NPE because in case of VMware CS tries to expunge the old root volume that has not yet been created in primary store.

      Attachments

        Activity

          People

            likithas Likitha Shetty
            likithas Likitha Shetty
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: