cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (CLOUDSTACK-5666) Cant remove a nic when a vm is in the Stopped state
Date Sat, 28 Dec 2013 09:15:51 GMT

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

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

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

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 <sateesh@apache.org>


> 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)

Mime
View raw message