Hi all, According to the design document of OVS Tunnel Manager (https://cwiki.apache.org/CLOUDSTACK/ovs-tunnel-manager-for-cloudstack.html), I have configured “sdn.ovs.controller” to true, and create one advanced zone with one physical network whose isolation method is “GRE”. Advacned zone is created successfully, but when creating new instance, it will pop follow error, “Unable to create a deployment for VM”, and following logs within “vmops.log”. If have any suggestion or references for this problem ? I used CloudStack 4.0.1/4.1 + XenServer 6.0.2. If need another configuration on XenServer or CloudStack ? Thanks a lot.
-------------------------------------------------------------------------------- 2013-05-16 14:54:12,508 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Lock is acquired for network id 204 as a part of network implement 2013-05-16 14:54:12,508 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Asking OvsGuestNetworkGuru to implement Ntwk[204|Guest|8] 2013-05-16 14:54:12,512 DEBUG [db.Transaction.Transaction] (Job-Executor-11:job-11) Rolling back the transaction: Time = 1 Name = -AsyncJobManagerImpl$1.run:401-Executors$RunnableAdapter.call:471-FutureTask$Sync.innerRun:334-FutureTask.run:166-ThreadPoolExecutor.runWorker:1146-ThreadPoolExecutor$Worker.run:615-Thread.run:679; called by -Transaction.rollback:890-Transaction.removeUpTo:833-Transaction.close:657-TransactionContextBuilder.interceptComplete:56-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:131-DataCenterDaoImpl.allocateVnet:192-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125-OvsGuestNetworkGuru.allocateVnet:97-GuestNetworkGuru.implement:326-OvsGuestNetworkGuru.implement:114-NetworkManagerImpl.implementNetwork:1425-ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept:125 2013-05-16 14:54:12,512 INFO [utils.exception.CSExceptionErrorCode] (Job-Executor-11:job-11) Could not find exception: com.cloud.exception.InsufficientVirtualNetworkCapcityException in error code list for exceptions 2013-05-16 14:54:12,512 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Cleaning up because we're unable to implement the network Ntwk[204|Guest|8] 2013-05-16 14:54:12,519 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Releasing 0 port forwarding rules for network id=204 as a part of shutdownNetworkRules 2013-05-16 14:54:12,519 DEBUG [network.firewall.FirewallManagerImpl] (Job-Executor-11:job-11) There are no rules to forward to the network elements 2013-05-16 14:54:12,520 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Releasing 0 static nat rules for network id=204 as a part of shutdownNetworkRules 2013-05-16 14:54:12,520 DEBUG [network.firewall.FirewallManagerImpl] (Job-Executor-11:job-11) There are no rules to forward to the network elements 2013-05-16 14:54:12,521 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) There are no rules to forward to the network elements 2013-05-16 14:54:12,521 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Releasing 0 firewall ingress rules for network id=204 as a part of shutdownNetworkRules 2013-05-16 14:54:12,521 DEBUG [network.firewall.FirewallManagerImpl] (Job-Executor-11:job-11) There are no rules to forward to the network elements 2013-05-16 14:54:12,522 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Releasing 0 firewall egress rules for network id=204 as a part of shutdownNetworkRules 2013-05-16 14:54:12,522 DEBUG [network.firewall.FirewallManagerImpl] (Job-Executor-11:job-11) There are no rules to forward to the network elements 2013-05-16 14:54:12,523 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Releasing 0 Network ACLs for network id=204 as a part of shutdownNetworkRules 2013-05-16 14:54:12,523 DEBUG [network.firewall.FirewallManagerImpl] (Job-Executor-11:job-11) There are no rules to forward to the network elements 2013-05-16 14:54:12,524 DEBUG [network.rules.RulesManagerImpl] (Job-Executor-11:job-11) Found 0 static nat rules to apply for network id 204 2013-05-16 14:54:12,531 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Sending network shutdown to VirtualRouter 2013-05-16 14:54:12,532 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Network id=204 is shutdown successfully, cleaning up corresponding resources now. 2013-05-16 14:54:12,536 DEBUG [cloud.network.NetworkManagerImpl] (Job-Executor-11:job-11) Lock is released for network id 204 as a part of network implement 2013-05-16 14:54:12,536 INFO [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-11:job-11) Insufficient capacity com.cloud.exception.InsufficientVirtualNetworkCapcityException: Unable to allocate vnet as a part of network Ntwk[204|Guest|8] implement Scope=interface com.cloud.dc.DataCenter; id=1 at com.cloud.network.guru.OvsGuestNetworkGuru.allocateVnet(OvsGuestNetworkGuru.java:99) at com.cloud.network.guru.GuestNetworkGuru.implement(GuestNetworkGuru.java:326) at com.cloud.network.guru.OvsGuestNetworkGuru.implement(OvsGuestNetworkGuru.java:114) at com.cloud.network.NetworkManagerImpl.implementNetwork(NetworkManagerImpl.java:1425) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at com.cloud.network.NetworkManagerImpl.prepare(NetworkManagerImpl.java:1596) at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:746) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3865) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679) 2013-05-16 14:54:12,550 DEBUG [cloud.vm.VirtualMachineManagerImpl] (Job-Executor-11:job-11) Cleaning up resources for the vm VM[User|251b392c-11ed-432d-9122-1dc6d0692e3f] in Starting state ... 2013-05-16 14:54:12,746 DEBUG [cloud.capacity.CapacityManagerImpl] (Job-Executor-11:job-11) 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 2013-05-16 14:54:12,771 INFO [user.vm.DeployVMCmd] (Job-Executor-11:job-11) com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|251b392c-11ed-432d-9122-1dc6d0692e3f]Scope=interface com.cloud.dc.DataCenter; id=1 2013-05-16 14:54:12,771 INFO [user.vm.DeployVMCmd] (Job-Executor-11:job-11) Unable to create a deployment for VM[User|251b392c-11ed-432d-9122-1dc6d0692e3f] com.cloud.exception.InsufficientServerCapacityException: Unable to create a deployment for VM[User|251b392c-11ed-432d-9122-1dc6d0692e3f]Scope=interface com.cloud.dc.DataCenter; id=1 at com.cloud.vm.VirtualMachineManagerImpl.advanceStart(VirtualMachineManagerImpl.java:728) at com.cloud.vm.VirtualMachineManagerImpl.start(VirtualMachineManagerImpl.java:471) at org.apache.cloudstack.engine.cloud.entity.api.VMEntityManagerImpl.deployVirtualMachine(VMEntityManagerImpl.java:212) at org.apache.cloudstack.engine.cloud.entity.api.VirtualMachineEntityImpl.deploy(VirtualMachineEntityImpl.java:209) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3865) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3458) at com.cloud.vm.UserVmManagerImpl.startVirtualMachine(UserVmManagerImpl.java:3444) at com.cloud.utils.component.ComponentInstantiationPostProcessor$InterceptorDispatcher.intercept(ComponentInstantiationPostProcessor.java:125) at org.apache.cloudstack.api.command.user.vm.DeployVMCmd.execute(DeployVMCmd.java:379) at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:162) 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:1146) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:679)