[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-5666?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13857991#comment-13857991
 ] 

ASF subversion and git services commented on CLOUDSTACK-5666:
-------------------------------------------------------------

Commit 9ca34f14a2fad303ba85f167150e3daf331082fa in branch refs/heads/master 
from [~sateeshc]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=9ca34f1 ]

CLOUDSTACK-5666 Cant remove a nic when a vm is in the Stopped state

When VM is not running, existing code is unable to retrieve associated 
cluster's Id. Now we will try to get this information using previous host where 
the VM was running.

Signed-off-by: Sateesh Chodapuneedi <[email protected]>

Conflicts:

        plugins/hypervisors/vmware/src/com/cloud/hypervisor/guru/VMwareGuru.java


> Cant remove a nic when a vm is in the Stopped state 
> ----------------------------------------------------
>
>                 Key: CLOUDSTACK-5666
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-5666
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: VMware
>    Affects Versions: 4.2.0
>         Environment: ESXi 5.0u2 with Cloudstack 4.2 
>            Reporter: Sateesh Chodapuneedi
>            Assignee: Sateesh Chodapuneedi
>            Priority: Critical
>             Fix For: 4.3.0
>
>
> Exception seen when executing remove nic, when a vm is stopped.
>  2013-11-04 15:49:04,508 ERROR [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-3:job-258803 = [ 63d4cd4b-bda7-498d-a8e6-a747b47043ed ]) 
> Unexpected exception while executing 
> org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
>  java.lang.NullPointerException
>  at com.cloud.hypervisor.guru.VMwareGuru.implement(VMwareGuru.java:191)
>  at 
> com.cloud.vm.VirtualMachineManagerImpl.removeNicFromVm(VirtualMachineManagerImpl.java:2998)
>  at 
> com.cloud.vm.UserVmManagerImpl.removeNicFromVirtualMachine(UserVmManagerImpl.java:1018)
>  at 
> org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd.execute(RemoveNicFromVMCmd.java:103)
>  at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:158)
>  at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:531)
>  at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:439)
>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:138)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:895)
>  at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:918)
>  at java.lang.Thread.run(Thread.java:680)



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Reply via email to