angeline shen created CLOUDSTACK-2755:
-----------------------------------------
Summary: PVLAN - Ubuntu 13.04 KVM openvswitch - SSVM CPVM unable
to go to running state.
Key: CLOUDSTACK-2755
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2755
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: Management Server
Affects Versions: 4.2.0
Environment: MS ubuntu 13.04 KVM ACS 4.2 PVLAN build 417
host ubuntu 13.04 KVM ACS 4.2 PVLAN build 22
Reporter: angeline shen
Assignee: Sheng Yang
Priority: Blocker
Fix For: 4.2.0
1. Create advance zone. SSVM CPVM unable to go to running state.
MS log:
2013-05-28 19:12:06,023 DEBUG [agent.transport.Request]
(AgentManager-Handler-7:null) Seq 1-685047847: Processing: { Ans: , MgmtId:
6655051826959, via: 1, Ver: v1, Flags: 110,
[{"StartAnswer":{"vm":{"id":2,"name":"v-2-VM","type":"ConsoleProxy","cpus":1,"minSpeed":500,"maxSpeed":500,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"Debian
GNU/Linux 5.0 (32-bit)","bootArgs":" template=domP type=consoleproxy
host=10.223.195.113 port=8250 name=v-2-VM premium=true zone=1 pod=1
guid=Proxy.2 proxy_vm=2 disable_rp_filter=true eth2ip=10.223.161.58
eth2mask=255.255.255.192 gateway=10.223.161.1 eth0ip=169.254.3.222
eth0mask=255.255.0.0 eth1ip=10.223.81.50 eth1mask=255.255.255.192
mgmtcidr=10.223.195.0/24 localgw=10.223.81.1 internaldns1=10.223.110.254
dns1=10.223.110.254","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"vncPassword":"ef44f7b5cb5dd158","vncAddr":"10.223.81.61","params":{},"uuid":"011eec7d-8776-4149-b17f-6f0904191417","disks":[{"id":6,"name":"ROOT-2","mountPoint":"/export/home/angie/primary/kvm424","path":"bd28415c-5961-4bef-9efa-495b9d6c8a77","size":0,"type":"ROOT","storagePoolType":"NetworkFilesystem","storagePoolUuid":"774b9428-0310-3e2d-b0b5-1540dd953251","deviceId":0}],"nics":[{"deviceId":2,"networkRateMbps":-1,"defaultNic":true,"uuid":"d9c2b426-358c-4005-962f-cdfab8079bb8","ip":"10.223.161.58","netmask":"255.255.255.192","gateway":"10.223.161.1","mac":"06:c7:fa:00:00:08","dns1":"10.223.110.254","broadcastType":"Vlan","type":"Public","broadcastUri":"vlan://1610","isolationUri":"vlan://1610","isSecurityGroupEnabled":false},{"deviceId":0,"networkRateMbps":-1,"defaultNic":false,"uuid":"dd237a46-1d56-4f81-830f-baef24c96018","ip":"169.254.3.222","netmask":"255.255.0.0","gateway":"169.254.0.1","mac":"0e:00:a9:fe:03:de","broadcastType":"LinkLocal","type":"Control","isSecurityGroupEnabled":false},{"deviceId":1,"networkRateMbps":-1,"defaultNic":false,"uuid":"8000e4c2-74e3-485b-8a34-01754e27c4c8","ip":"10.223.81.50","netmask":"255.255.255.192","gateway":"10.223.81.1","mac":"06:67:c8:00:00:01","broadcastType":"Native","type":"Management","isSecurityGroupEnabled":false}]},"result":false,"details":"java.io.IOException:
Cannot run program
\"/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl\":
java.io.IOException: error=13, Permission denied\n\tat
java.lang.ProcessBuilder.start(ProcessBuilder.java:488)\n\tat
com.cloud.utils.script.Script.execute(Script.java:183)\n\tat
com.cloud.utils.script.Script.execute(Script.java:161)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.passCmdLine(LibvirtComputingResource.java:1063)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3323)\n\tat
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1187)\n\tat
com.cloud.agent.Agent.processRequest(Agent.java:525)\n\tat
com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)\n\tat
com.cloud.utils.nio.Task.run(Task.java:83)\n\tat
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1146)\n\tat
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)\n\tat
java.lang.Thread.run(Thread.java:679)\nCaused by: java.io.IOException:
java.io.IOException: error=13, Permission denied\n\tat
java.lang.UNIXProcess.<init>(UNIXProcess.java:164)\n\tat
java.lang.ProcessImpl.start(ProcessImpl.java:81)\n\tat
java.lang.ProcessBuilder.start(ProcessBuilder.java:470)\n\t... 11
more\n","wait":0}},{"Answer":{"result":false,"details":"Stopped by previous
failure","wait":0}}] }
2013-05-28 19:12:06,023 DEBUG [agent.transport.Request] (consoleproxy-1:null)
Seq 1-685047847: Received: { Ans: , MgmtId: 6655051826959, via: 1, Ver: v1,
Flags: 110, { StartAnswer, Answer } }
2013-05-28 19:12:06,025 DEBUG [agent.manager.AgentAttache]
(AgentManager-Handler-7:null) Seq 1-685047848: Sending now. is current
sequence.
2013-05-28 19:12:06,027 INFO [cloud.vm.VirtualMachineManagerImpl]
(consoleproxy-1:null) Unable to start VM on Host[-1-Routing] due to
java.io.IOException: Cannot run program
"/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl":
java.io.IOException: error=13, Permission denied
at java.lang.ProcessBuilder.start(ProcessBuilder.java:488)
at com.cloud.utils.script.Script.execute(Script.java:183)
at com.cloud.utils.script.Script.execute(Script.java:161)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.passCmdLine(LibvirtComputingResource.java:1063)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.execute(LibvirtComputingResource.java:3323)
at
com.cloud.hypervisor.kvm.resource.LibvirtComputingResource.executeRequest(LibvirtComputingResource.java:1187)
at com.cloud.agent.Agent.processRequest(Agent.java:525)
at com.cloud.agent.Agent$AgentRequestHandler.doTask(Agent.java:852)
at com.cloud.utils.nio.Task.run(Task.java:83)
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)
Caused by: java.io.IOException: java.io.IOException: error=13, Permission denied
at java.lang.UNIXProcess.<init>(UNIXProcess.java:164)
at java.lang.ProcessImpl.start(ProcessImpl.java:81)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:470)
... 11 more
2013-05-28 19:12:06,031 DEBUG [cloud.vm.VirtualMachineManagerImpl]
(consoleproxy-1:null) Cleaning up resources for the vm VM[ConsoleProxy|v-2-VM]
in Starting state
2013-05-28 19:12:06,033 DEBUG [agent.transport.Request] (consoleproxy-1:null)
Seq 1-685047849: Waiting for Seq 685047848 Scheduling: { Cmd , MgmtId:
6655051826959, via: 1, Ver: v1, Flags: 100111,
[{"StopCommand":{"isProxy":false,"vmName":"v-2-VM","wait":0}}] }
2. This is due to On the agent:
Unable to start VM on Host[-1-Routing] due to java.io.IOException: Cannot run
program
"/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl":
java.io.IOException: error=13, Permission denied
--
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