cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "angeline shen (JIRA)" <j...@apache.org>
Subject [jira] [Created] (CLOUDSTACK-2614) PVLAN Ubuntu 13.04 host - Unable to start SSVM due to Cannot run program on Ununtu host "/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl : Permission denied
Date Wed, 22 May 2013 01:22:19 GMT
angeline shen created CLOUDSTACK-2614:
-----------------------------------------

             Summary: PVLAN Ubuntu 13.04 host - Unable to start SSVM due to Cannot run program
on Ununtu host "/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl :
Permission denied
                 Key: CLOUDSTACK-2614
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-2614
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: KVM
    Affects Versions: 4.2.0
         Environment: MS   Ubuntu 13.04  KVM  PVLAN
host  Ubuntu 13.04  KVM  PVLAN
            Reporter: angeline shen
            Priority: Blocker
             Fix For: 4.2.0


MS   Ubuntu 13.04  KVM  PVLAN
host  Ubuntu 13.04  KVM  PVLAN

1. During zone creation, Unable to start SSVM due to error:

Cannot run program on host "/usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl
: Permission denied


root@ubuntu8161:~# ll -l /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl

-rw-r--r-- 1 root root 1879 May 15 12:15 /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl


After add execution permission to  /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl,
 SSVM started successfully

root@ubuntu8161:~# ll -l /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl

-rwxr-xr-x 1 root root 1879 May 15 12:15 /usr/share/cloudstack-common/scripts/vm/hypervisor/kvm/patchviasocket.pl*

MS log:

2013-05-21 17:51:11,541 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-68943901:
Received:  { Ans: , MgmtId: 6655051826959, via: 1, Ver: v1, Flags: 110, { StartAnswer, Answer
} }
2013-05-21 17:51:11,542 DEBUG [agent.manager.AgentAttache] (AgentManager-Handler-4:null) Seq
1-68943904: Sending now.  is current sequence.
2013-05-21 17:51:11,544 INFO  [cloud.vm.VirtualMachineManagerImpl] (secstorage-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-21 17:51:11,547 DEBUG [cloud.vm.VirtualMachineManagerImpl] (secstorage-1:null) Cleaning
up resources for the vm VM[SecondaryStorageVm|s-1-VM] in Starting state
2013-05-21 17:51:11,548 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 1-68943905:
Waiting for Seq 68943904 Scheduling:  { Cmd , MgmtId: 6655051826959, via: 1, Ver: v1, Flags:
100111, [{"StopCommand":{"isProxy":false,"vmName":"s-1-VM","wait":0}}] }
2013-05-21 17:51:11,703 DEBUG [agent.transport.Request] (AgentManager-Handler-5:null) Seq
1-68943904: Processing: 


--
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

Mime
View raw message