Welcome, Guest
Username: Password: Remember me
Archived CloudStack Forums for reference purposes please direct all future inquiries to the Apache CloudStack mailing lists.

incubator.apache.org/cloudstack/mailing-lists.html

TOPIC: Insufficient Address Capacity

Insufficient Address Capacity 1 year 4 months ago #11888

  • schalla
  • schalla's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 6
  • Karma: 0
Adding a new instance from an ISO is failing with the below exception. Here is my setup (Private)

Zone/Pod/Cluster/Hosts are on 192.168.2.0/24 N/W
Guest Network 192.168.2.0/24
Public N/W - 192.168.2.6 - 192.168.2.25

Hypervisor - VMWare
CloudStack on CentOS 6.2


2012-07-19 13:29:01,842 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-24) VM is being started in podId: 1
2012-07-19 13:29:01,848 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Asking ExternalGuestNetworkGuru to implement Ntwk[207|Guest|7]
2012-07-19 13:29:01,918 DEBUG [db.Transaction.Transaction] (Job-Executor-7:job-24) Rolling back the transaction: Time = 1 Name = -AsyncJobManagerImpl$1.run:393-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRun:334-FutureTask.run:166-ThreadPoolExecutor.runWorker:1110-ThreadPoolExecutor$Worker.run:603-Thread.run:679; called by -Transaction.rollback:837-Transaction.removeUpTo:780-Transaction.close:599-DatabaseCallback.interceptComplete:67-DatabaseCallback.intercept:32-DataCenterDaoImpl.allocateVnet:186-DatabaseCallback.intercept:30-GuestNetworkGuru.implement:283-ExternalGuestNetworkGuru.implement:102-NetworkManagerImpl.implementNetwork:1713-DatabaseCallback.intercept:30-NetworkManagerImpl.prepare:1842
2012-07-19 13:29:01,918 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Cleaning up because we're unable to implement the network Ntwk[207|Guest|7]
2012-07-19 13:29:01,994 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Releasing 0 port forwarding rules for network id=207 as a part of shutdownNetworkRules
2012-07-19 13:29:01,994 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) There are no rules to forward to the network elements
2012-07-19 13:29:01,996 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Releasing 0 static nat rules for network id=207 as a part of shutdownNetworkRules
2012-07-19 13:29:01,996 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) There are no rules to forward to the network elements
2012-07-19 13:29:01,998 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) There are no rules to forward to the network elements
2012-07-19 13:29:02,000 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Releasing 0 firewall rules for network id=207 as a part of shutdownNetworkRules
2012-07-19 13:29:02,000 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) There are no rules to forward to the network elements
2012-07-19 13:29:02,015 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Sending network shutdown to VirtualRouter
2012-07-19 13:29:02,018 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-7:job-24) Network id=207 is shutdown successfully, cleaning up corresponding resources now.
2012-07-19 13:29:02,021 DEBUG [network.guru.GuestNetworkGuru] (Job-Executor-7:job-24) Releasing vnet for the network id=207
2012-07-19 13:29:02,058 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-24) Insufficient capacity
com.cloud.exception.InsufficientVirtualNetworkCapcityException: Unable to allocate vnet as a part of network Ntwk[207|Guest|7] implement Scope=interface com.cloud.dc.DataCenter; id=1
at com.cloud.network.guru.GuestNetworkGuru.implement(GuestNetworkGuru.java:285)
at com.cloud.network.guru.ExternalGuestNetworkGuru.implement(ExternalGuestNetworkGuru.java:102)
at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1713)
at com.cloud.utils.db.DatabaseCallback.intercept(DatabaseCallback.java:30)
at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:1842)
at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:741)
at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:461)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2580)
at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:2517)
at com.cloud.event.ActionEventCallback.intercept(ActionEventCallback.java:32)
at com.cloud.api.commands.DeployVMCmd.execute(DeployVMCmd.java:317)
at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:132)
at com.cloud.async.AsyncJobManagerImpl$1.run(AsyncJobManagerImpl.java:427)
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)
2012-07-19 13:29:02,099 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-24) Cleaning up resources for the vm VM[User|i-2-15-VM] in Starting state
2012-07-19 13:29:02,102 DEBUG [agent.transport.Request] (Job-Executor-7:job-24) Seq 2-557514785: Sending { Cmd , MgmtId: 264840323175703, via: 2, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-2-15-VM","wait":0}}] }
2012-07-19 13:29:02,103 DEBUG [agent.transport.Request] (Job-Executor-7:job-24) Seq 2-557514785: Executing: { Cmd , MgmtId: 264840323175703, via: 2, Ver: v1, Flags: 100111, [{"StopCommand":{"isProxy":false,"vmName":"i-2-15-VM","wait":0}}] }
2012-07-19 13:29:02,103 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-40:null) Seq 2-557514785: Executing request
2012-07-19 13:29:02,104 INFO [vmware.resource.VmwareResource] (DirectAgent-40:192.168.2.3) Executing resource StopCommand: {"isProxy":false,"vmName":"i-2-15-VM","wait":0}
2012-07-19 13:29:02,104 DEBUG [vmware.mo.HostMO] (DirectAgent-40:192.168.2.3) find VM i-2-15-VM on host
2012-07-19 13:29:02,104 DEBUG [vmware.mo.HostMO] (DirectAgent-40:192.168.2.3) load VM cache on host
2012-07-19 13:29:02,318 INFO [vmware.resource.VmwareResource] (DirectAgent-40:192.168.2.3) VM i-2-15-VM is no longer in vSphere
2012-07-19 13:29:02,319 DEBUG [agent.manager.DirectAgentAttache] (DirectAgent-40:null) Seq 2-557514785: Response Received:
2012-07-19 13:29:02,320 DEBUG [agent.transport.Request] (DirectAgent-40:null) Seq 2-557514785: Processing: { Ans: , MgmtId: 264840323175703, via: 2, Ver: v1, Flags: 110, [{"StopAnswer":{"vncPort":0,"bytesSent":0,"bytesReceived":0,"result":true,"details":"VM i-2-15-VM is no longer in vSphere","wait":0}}] }
2012-07-19 13:29:02,320 DEBUG [cloud.vm.VirtualMachineManagerImpl] (DirectAgent-40:null) Cleanup succeeded. Details VM i-2-15-VM is no longer in vSphere
2012-07-19 13:29:02,320 DEBUG [agent.transport.Request] (Job-Executor-7:job-24) Seq 2-557514785: Received: { Ans: , MgmtId: 264840323175703, via: 2, Ver: v1, Flags: 110, { StopAnswer } }
2012-07-19 13:29:02,320 DEBUG [agent.manager.AgentAttache] (DirectAgent-40:null) Seq 2-557514785: No more commands found
2012-07-19 13:29:02,320 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-24) Cleanup succeeded. Details VM i-2-15-VM is no longer in vSphere
2012-07-19 13:29:02,327 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-7:job-24) Successfully cleanued up resources for the vm VM[User|i-2-15-VM] in Starting state
2012-07-19 13:29:02,329 DEBUG [cloud.deploy.FirstFitPlanner] (Job-Executor-7:job-24) DataCenter id = '1' provided is in avoid set, DeploymentPlanner cannot allocate the VM, returning.
2012-07-19 13:29:02,397 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-7:job-24) VM state transitted from :Starting to Stopped with event: OperationFailedvm's original host id: null new host id: null host id before state transition: 2
2012-07-19 13:29:02,405 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-7:job-24) Hosts's actual total CPU: 4786 and CPU after applying overprovisioning: 4786
2012-07-19 13:29:02,405 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-7:job-24) release cpu from host: 2, old used: 1500,reserved: 0, actual total: 4786, total with overprovisioning: 4786; new used: 1000,reserved:0; movedfromreserved: false,moveToReserveredfalse
2012-07-19 13:29:02,405 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-7:job-24) release mem from host: 2, old used: 1879048192,reserved: 0, total: 8375611392; new used: 1342177280,reserved:0; movedfromreserved: false,moveToReserveredfalse
2012-07-19 13:29:02,515 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-7:job-24) VM state transitted from :Stopped to Error with event: OperationFailedToErrorvm's original host id: null new host id: null host id before state transition: null
2012-07-19 13:29:02,790 INFO [api.commands.DeployVMCmd] (Job-Executor-7:job-24) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|i-2-15-VM]Scope=interface com.cloud.dc.DataCenter; id=1
2012-07-19 13:29:02,790 WARN [cloud.api.ApiDispatcher] (Job-Executor-7:job-24) class com.cloud.api.ServerApiException : Unable to create a deployment for VM[User|i-2-15-VM]
2012-07-19 13:29:02,791 DEBUG [cloud.async.AsyncJobManagerImpl] (Job-Executor-7:job-24) Complete async job-24, jobStatus: 2, resultCode: 530, result: com.cloud.api.response.ExceptionResponse@74328fff
2012-07-19 13:29:06,600 DEBUG [cloud.async.AsyncJobManagerImpl] (catalina-exec-2:null) Async job-24 completed
2012-07-19 13:29:07,247 DEBUG [cloud.server.StatsCollector] (StatsCollector-2:null) VmStatsCollector is running...



Let me know if there is anything wrong in the setup.
Last Edit: 1 year 4 months ago by schalla.
The administrator has disabled public write access.

Re: Insufficient Address Capacity 1 year 4 months ago #11893

  • cloba
  • cloba's Avatar
  • OFFLINE
  • Senior Boarder
  • Posts: 53
  • Thank you received: 2
  • Karma: 2
increase ip range from infrastructure tab.

regards
The administrator has disabled public write access.
Time to create page: 0.377 seconds

Open@Citrix

Citrix supports the open source community via developer support and evangeslism. We have a number of developers and evangelists that participate actively in the open source community in Apache Cloudstack, OpenDaylight, Xen Project and XenServer. We also conduct educational activities via the Build A Cloud events held all over the world. 

Connect