You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Saksham Srivastava (JIRA)" <ji...@apache.org> on 2014/09/12 10:45:34 UTC

[jira] [Commented] (CLOUDSTACK-7538) Can not remove the vm nic due to there is another vm with same internal ip having port forwording rule

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

Saksham Srivastava commented on CLOUDSTACK-7538:
------------------------------------------------

https://issues.apache.org/jira/browse/CLOUDSTACK-6223 had tried to fix the issue, but I don't think the fix was complete.
The query should be include networkid IMO.


> Can not remove the vm nic due to there is another vm with same internal ip having port forwording rule
> ------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7538
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7538
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>    Affects Versions: 4.4.0, 4.5.0
>            Reporter: Wei Zhou
>            Assignee: Wei Zhou
>             Fix For: 4.5.0, 4.4.1
>
>
> When I tried to remove a nic from a VM, an exception raised:
> 2014-09-08 10:07:12,847 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-109:job-11939 = [ 5c3c0d5b-6b48-45fe-ad36-a0aea13479c4 ]) Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.RemoveNicFromVMCmd
>  com.cloud.utils.exception.CloudRuntimeException: Failed to remove nic from VM[User|CentOS65] in Ntwk[300|Guest|1], nic has associated Port forwarding or Load balancer or Static NAT rules.
>  at com.cloud.vm.VirtualMachineManagerImpl.removeNicFromVm(VirtualMachineManagerImpl.java:3129)
>  at com.cloud.vm.UserVmManagerImpl.removeNicFromVirtualMachine(UserVmManagerImpl.java:1068)
>  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:471)
>  at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
>  at java.util.concurrent.FutureTask.run(FutureTask.java:166)
>  at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)
>  at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>  at java.lang.Thread.run(Thread.java:701)
>  2014-09-08 10:07:12,849 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-109:job-11939 = [ 5c3c0d5b-6b48-45fe-ad36-a0aea13479c4 ]) Complete async job-11939 = [ 5c3c0d5b-6b48-45fe-ad36-a0aea13479c4 ], jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text: Failed to remove nic from VM[User|CentOS65] in Ntwk[300|Guest|1], nic has associated Port forwarding or Load balancer or Static NAT rules.
> This is because there is another vm (with same internal ip) having port forward rules .



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)