[ https://issues.apache.org/jira/browse/CLOUDSTACK-1228?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Koneti reopened CLOUDSTACK-1228: -------------------------------------- The permission Issue is always seen in the VMware setup both in the Master and 4.1 even if we create it in the new machine(Freshly installed RHEL).Hence Re opening this issue. The folder "/var/cloudstack/mnt/VM/6950196609054.51e6a86f/ contains the template folder with the root as the owner and changing it to cloud should be done manually.This should be done Automatically while installing the CS. Once the owner permissions are changed the CS starts installing the System Vm's. > Unable to Create System Vm's in the VMware Hypervisor setup. > ------------------------------------------------------------ > > Key: CLOUDSTACK-1228 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1228 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Install and Setup > Affects Versions: 4.1.0 > Reporter: Kiran Koneti > Assignee: Venkata Siva Vijayendra Bhamidipati > Priority: Blocker > Fix For: 4.1.0 > > Attachments: catalina.2013-02-11.zip, catalina.zip, > management-server-18-2-2013.zip, management-server.zip > > > Created a Advanced Zone setup using the Latest 4.1 build > (http://repo-ccp.citrix.com/releases/ASF/rhel/6.3/4.1/CloudStack-non-OSS-11-rhel6.3.tar.gz) > While trying to create the system VM's error messages are obserevd. > Attaching the Management server logs. > Error message Observed: > Executing copyTemplateFromSecondaryToPrimary. secondaryStorage: > nfs://10.147.28.7/export/home/kiran/s, templatePathAtSecondaryStorage: > template/tmpl/1/8/, templateName: routing-8 > 2013-02-11 23:03:41,530 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.47bfef59 > 2013-02-11 23:03:41,531 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.648a617f > 2013-02-11 23:03:41,531 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.2257f5b0 > 2013-02-11 23:03:41,532 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.3e22e9af > 2013-02-11 23:03:41,533 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.1e46e9bc > 2013-02-11 23:03:41,534 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.49fee4a0 > 2013-02-11 23:03:41,535 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.c1b6a94 > 2013-02-11 23:03:41,535 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.5604ba42 > 2013-02-11 23:03:41,536 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.3632e0de > 2013-02-11 23:03:41,537 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount: > /var/lib/cloud/mnt/VM/7313725325399.22475368 > 2013-02-11 23:03:41,537 WARN [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create a mount point > 2013-02-11 23:03:41,538 ERROR [vmware.manager.VmwareManagerImpl] > (DirectAgent-2:10.147.40.18) Unable to create mount point for > nfs://10.147.28.7/export/home/kiran/s > 2013-02-11 23:03:41,538 INFO [vmware.manager.VmwareStorageManagerImpl] > (DirectAgent-2:10.147.40.18) Secondary storage mount point: /mnt/sec > 2013-02-11 23:03:41,538 INFO [vmware.manager.VmwareStorageManagerImpl] > (DirectAgent-2:10.147.40.18) Executing command: tar --no-same-owner -xf > /mnt/sec/template/tmpl/1/8/routing-8.ova > 2013-02-11 23:03:41,539 DEBUG [vmware.manager.VmwareStorageManagerImpl] > (DirectAgent-2:10.147.40.18) Executing: tar --no-same-owner -xf > /mnt/sec/template/tmpl/1/8/routing-8.ova > 2013-02-11 23:03:41,603 WARN [vmware.manager.VmwareStorageManagerImpl] > (DirectAgent-2:10.147.40.18) Exception: tar --no-same-owner -xf > /mnt/sec/template/tmpl/1/8/routing-8.ova > java.io.IOException: Cannot run program "tar" (in directory > "/mnt/sec/template/tmpl/1/8"): java.io.IOException: error=2, No such file or > directory > at java.lang.ProcessBuilder.start(ProcessBuilder.java:475) > at com.cloud.utils.script.Script.execute(Script.java:183) > at com.cloud.utils.script.Script.execute(Script.java:161) > at > com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.copyTemplateFromSecondaryToPrimary(VmwareStorageManagerImpl.java:443) > at > com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:138) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3587) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:401) > at > com.cloud.agent.manager.DirectAgentAttache$Task.run(DirectAgentAttache.java:186) > 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:679) > Caused by: java.io.IOException: java.io.IOException: error=2, No such file or > directory > at java.lang.UNIXProcess.<init>(UNIXProcess.java:164) > at java.lang.ProcessImpl.start(ProcessImpl.java:81) > at java.lang.ProcessBuilder.start(ProcessBuilder.java:468) > ... 15 more -- 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