[
https://issues.apache.org/jira/browse/CLOUDSTACK-6007?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13889274#comment-13889274
]
ASF subversion and git services commented on CLOUDSTACK-6007:
-------------------------------------------------------------
Commit 9cb37ec349a6740a2f012ef4e6ac58a6c3b13907 in branch refs/heads/master
from [~likithas]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9cb37ec ]
CLOUDSTACK-6007. Restore VM command fails with NPE.
If a VM instance is deployed with startVm=false, then calling restoreVm on the
instance fails with NPE
because CS tries to expunge a volume that has not been created in primary store.
> [VMware] RestoreVM API fails with NPE
> -------------------------------------
>
> Key: CLOUDSTACK-6007
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6007
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: VMware
> Affects Versions: 4.2.0
> Reporter: Likitha Shetty
> Assignee: Likitha Shetty
> Fix For: 4.3.0
>
>
> 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.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)