cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "manasaveloori (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-3094) [VPC][SharedN/W]Adding a shared network to already deployed VM is failing.
Date Thu, 20 Jun 2013 12:04:19 GMT
manasaveloori created CLOUDSTACK-3094:
-----------------------------------------

             Summary: [VPC][SharedN/W]Adding a shared network to already deployed VM is failing.
                 Key: CLOUDSTACK-3094
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3094
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Network Controller
    Affects Versions: 4.2.0
            Reporter: manasaveloori
            Priority: Critical
             Fix For: 4.2.0
         Attachments: management-server.zip, mysqldump1.dmp

Steps:
1.	Have a CS with advanced zone.
2.	Create a VPC and a tier network.
3.	Create a VM using the tier network.
4.	Create a shared network.
5.	Go to the VPC VM ->NICs->Add network. Select the shared network from the dropdown
and add the network.

Observation:
Adding the shared network is failing with unexpected exception.

013-06-20 22:37:18,984 DEBUG [network.guru.DirectNetworkGuru] (Job-Executor-16:job-184) remove
nic 80 secondary ip
2013-06-20 22:37:19,000 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-16:job-184)
Removed nic id=80
2013-06-20 22:37:19,002 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-16:job-184)
Revoving nic secondary ip entry ...
2013-06-20 22:37:19,003 ERROR [cloud.async.AsyncJobManagerImpl] (Job-Executor-16:job-184)
Unexpected exception while executing org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd
com.cloud.utils.exception.CloudRuntimeException: Unable to add NIC to VM[User|979cbfa9-5e02-4f35-8ac9-fe8c25dac2ae]
        at com.cloud.vm.UserVmManagerImpl.addNicToVirtualMachine(UserVmManagerImpl.java:916)
        at org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd.execute(AddNicToVMCmd.java:109)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:155)
        at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:437)
        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:1110)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
        at java.lang.Thread.run(Thread.java:679)
2013-06-20 22:37:19,004 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-16:job-184)
Complete async job-184, jobStatus: 2, resultCode: 530, result: Error Code: 530 Error text:
Unable to add NIC to VM[User|979cbfa9-5e02-4f35-8ac9-fe8c25dac2ae]
2013-06-20 22:37:20,113 INFO  [vmware.resource.VmwareResource] (DirectAgent-125:10.147.40.29)
vm_data command on domain router 10.147.40.181 completed
2013-06-20 22:37:20,115 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-125:null) Seq
1-563282274: Response Received:
2013-06-20 22:37:20,116 DEBUG [agent.transport.Request] (DirectAgent-125:null) Seq 1-563282274:
Processing:  { Ans: , MgmtId: 6805241462820, via: 1, Ver: v1, Flags: 110, [{"Answer":{"result":true,"wait":0}}]
}




UI is listing all the nics even though adding a nic is failing.(Ifconfig –a in the VM  not
showing the added shared network)


We are able to add multiple shared networks while deploying the VM(instance creation), but
same is not happening through “ Add network option”

Attaching the MS logs and DB logs.


--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message