[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-3318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

manasaveloori closed CLOUDSTACK-3318.
-------------------------------------


The issue was due to exhausted  ips in the shared network.
Hence closing the bug.
                
> [Add network][VMware]Adding multiple shared networks to a VM is throwing 
> exception.
> -----------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-3318
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3318
>             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
>         Environment: master-6-17-stable branch
>            Reporter: manasaveloori
>            Assignee: Saksham Srivastava
>            Priority: Critical
>             Fix For: 4.2.0
>
>         Attachments: management-server.zip, mysqldump1.dmp
>
>
> 1.    Have a CS with advanced zone.
> 2.    Create a VPC and a tier network.
> 3.    Create 2 shared networks.
> 4.    Deploy a VM using 1 tier and 1 shared network.
> 5.    Install VMware tools.
> 6.    Now add 2nd shared network to the vm using “add network to VM” option.
> Observation:
> Observed following exception
> 2013-07-02 18:03:17,278 DEBUG [cloud.deploy.FirstFitPlanner] 
> (Job-Executor-48:job-73) Listing clusters in order of aggregate capacity, 
> that have (atleast one host with) enough CPU and RAM capacity under this 
> Zone: 1
> 2013-07-02 18:03:17,285 DEBUG [cloud.deploy.FirstFitPlanner] 
> (Job-Executor-48:job-73) Removing from the clusterId list these clusters from 
> avoid set: [1]
> 2013-07-02 18:03:17,285 DEBUG [cloud.deploy.FirstFitPlanner] 
> (Job-Executor-48:job-73) No clusters found after removing disabled clusters 
> and clusters in avoid list, returning.
> 2013-07-02 18:03:17,305 DEBUG [cloud.capacity.CapacityManagerImpl] 
> (Job-Executor-48:job-73) VM state transitted from :Starting to Stopped with 
> event: OperationFailedvm's original host id: null new host id: null host id 
> before state transition: null
> 2013-07-02 18:03:17,309 ERROR [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-48:job-73) Unexpected exception while executing 
> org.apache.cloudstack.api.command.user.vm.AddNicToVMCmd
> com.cloud.utils.exception.CloudRuntimeException: Insufficient capacity when 
> adding NIC to VM[User|vpctiernetwork1]: 
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
> deployment for VM[DomainRouter|r-13-VM]Scope=interface 
> com.cloud.dc.DataCenter; id=1
>         at 
> com.cloud.vm.UserVmManagerImpl.addNicToVirtualMachine(UserVmManagerImpl.java:894)
>         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-07-02 18:03:17,313 DEBUG [cloud.async.AsyncJobManagerImpl] 
> (Job-Executor-48:job-73) Complete async job-73, jobStatus: 2, resultCode: 
> 530, result: Error Code: 530 Error text: Insufficient capacity when adding 
> NIC to VM[User|vpctiernetwork1]: 
> com.cloud.exception.InsufficientServerCapacityException: Unable to create a 
> deployment for VM[DomainRouter|r-13-VM]Scope=interface 
> com.cloud.dc.DataCenter; id=1
> 2013-07-02 18:03:19,215 DEBUG [agent.manager.AgentManagerImpl] 
> (AgentManager-Handler-5:null) SeqA 3-9789: Processing Seq 3-9789:  { Cmd , 
> MgmtId: -1, via: 3, Ver: v1, Flags: 11, 
> [{"ConsoleProxyLoadReportCommand":{"_proxyVmId":2,"_loadInfo":"{\n  
> \"connections\": []\n}","wait":0}}] }
> 2013-07-02 18:03:19,224 DEBUG [agent.manager.AgentManagerImpl] 
> (AgentManager-Handler-5:null) SeqA 3-9789: Sending Seq 3-9789:  { Ans: ,
> Attaching the MS 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

Reply via email to