[ https://issues.apache.org/jira/browse/CLOUDSTACK-368?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13478254#comment-13478254 ]
angeline shen commented on CLOUDSTACK-368: ------------------------------------------ Reference http://bugs.cloudstack.org/browse/CS-16488 > OVM - cannot create guest VM > ---------------------------- > > Key: CLOUDSTACK-368 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-368 > Project: CloudStack > Issue Type: Bug > Components: Management Server > Affects Versions: 4.0.0 > Environment: MS 10.223.195.49 rhel5 build 3.0.5 patch 1 > host 10.223.51.2 ovm 2.2.3 > Reporter: angeline shen > Assignee: frank zhang > Priority: Blocker > Fix For: 4.1.0 > > > MS 10.223.195.49 rhel5 build 3.0.5 patch 1 > host 10.223.51.2 ovm 2.2.3 > 1. advance zone> pod> cluster> host > 2. create guest VM FAIL > 2012-10-10 18:28:35,028 INFO [cloud.vm.VirtualMachineManagerImpl] > (Job-Executor-14:job-14) Unable to start VM on Host[-5-Routing] due to > <ShellExceutedFailedException: ERROR: trying to add VLAN #2485 to IF -:eth0:- > error: Invalid argument > , return code:3> > StackTrace: > File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 359, in createVlanBridge > vlan = network._createVlan(v) > File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 163, in _createVlan > doCmd(['vconfig', 'add', vlan.pif, vlan.vid]) > File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 121, in doCmd > res = runCmd(cmdStr) > File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 114, in runCmd > raise ShellExceutedFailedException(stderr, process.returncode) > 2012-10-10 18:28:35,047 DEBUG [cloud.vm.VirtualMachineManagerImpl] > (Job-Executor-14:job-14) Cleaning up resources for the vm > VM[User|z1d1domainV21] in Starting state > 2012-10-10 18:28:35,049 DEBUG [agent.transport.Request] > (Job-Executor-14:job-14) Seq 5-217251909: Waiting for Seq 217251906 > Scheduling: { Cmd , MgmtId: 7397376526031, via: 5, Ver: v1, Flags: 100111, > [{"StopCommand":{"isProxy":false,"vmName":"i-3-8-VM","wait":0}}] } > 2012-10-10 18:28:35,053 DEBUG [ovm.object.Connection] (DirectAgent-230:null) > Ovm call OvmNetwork.getBridgeDetails finished in 0.0 secs > 2012-10-10 18:28:35,054 DEBUG [ovm.object.Connection] (DirectAgent-230:null) > Call Ovm agent: > ["OvmNetwork.createVlanBridge","{\"name\":\"vlan2484\",\"attach\":\"null\",\"interfaces\":[\"eth0\"]}","{\"vid\":2484,\"pif\":\"eth0\"}"] > 2012-10-10 18:28:35,072 DEBUG [ovm.object.Connection] (DirectAgent-230:null) > Ovm call OvmNetwork.createVlanBridge finished in 0.0 secs > 2012-10-10 18:28:35,073 DEBUG [ovm.hypervisor.OvmResourceBase] > (DirectAgent-230:null) Start vm i-2-9-VM failed > org.apache.xmlrpc.XmlRpcException: <ShellExceutedFailedException: ERROR: > trying to add VLAN #2484 to IF -:eth0:- error: Invalid argument > , return code:3> > StackTrace: > File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 359, in createVlanBridge > vlan = network._createVlan(v) > File "/opt/ovs-agent-2.3/OvmNetworkModule.py", line 163, in _createVlan > doCmd(['vconfig', 'add', vlan.pif, vlan.vid]) > File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 121, in doCmd > res = runCmd(cmdStr) > File "/opt/ovs-agent-2.3/OvmCommonModule.py", line 114, in runCmd > raise ShellExceutedFailedException(stderr, process.returncode) > at > com.cloud.ovm.object.Connection.callTimeoutInSec(Connection.java:104) > at > com.cloud.ovm.object.Connection.callTimeoutInSec(Connection.java:113) > at com.cloud.ovm.object.Connection.call(Connection.java:74) > at com.cloud.ovm.object.OvmBridge.createVlanBridge(OvmBridge.java:53) > at > com.cloud.ovm.hypervisor.OvmResourceBase.createVlanBridge(OvmResourceBase.java:565) > at > com.cloud.ovm.hypervisor.OvmResourceBase.getNetwork(OvmResourceBase.java:581) > at > com.cloud.ovm.hypervisor.OvmResourceBase.createVif(OvmResourceBase.java:601) > at > com.cloud.ovm.hypervisor.OvmResourceBase.createVifs(OvmResourceBase.java:609) > at > com.cloud.ovm.hypervisor.OvmResourceBase.execute(OvmResourceBase.java:651) > at > com.cloud.ovm.hypervisor.OvmResourceBase.executeRequest(OvmResourceBase.java:1335) > at > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:187) > 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.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$101(ScheduledThreadPoolExecutor.java:165) > at > java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:266) > 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:636) > 2012-10-10 18:28:35,073 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-230:null) Seq 5-217251906: Response Received: -- 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