[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-1536?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13598610#comment-13598610
 ] 

Sateesh Chodapuneedi commented on CLOUDSTACK-1536:
--------------------------------------------------

Volume creation command failed with above described error 
(java.lang.RuntimeException: Invalid configuration for device '0'.) because of 
unsuccessful template download to primary storage pool.

2013-03-06 20:43:03,147 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-29:null) Seq 1-2044985389: Response Received:
2013-03-06 20:43:03,148 DEBUG [agent.transport.Request] (DirectAgent-29:null) 
Seq 1-2044985389: Processing:  { Ans: , MgmtId: 6950196609054, via: 1, Ver: v1, 
Flags: 110, 
[{"storage.PrimaryStorageDownloadAnswer":{"templateSize":0,"result":false,"details":"Unable
 to execute PrimaryStorageDownloadCommand due to exception","wait":0}}] }
2013-03-06 20:43:03,148 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 
1-2044985389: Received:  { Ans: , MgmtId: 6950196609054, via: 1, Ver: v1, 
Flags: 110, { PrimaryStorageDownloadAnswer } }
2013-03-06 20:43:03,149 DEBUG [agent.manager.AgentManagerImpl] 
(secstorage-1:null) Details from executing class 
com.cloud.agent.api.storage.PrimaryStorageDownloadCommand: Unable to execute 
PrimaryStorageDownloadCommand due to exception
2013-03-06 20:43:03,149 DEBUG [cloud.template.TemplateManagerImpl] 
(secstorage-1:null) Template 8 download to pool 200 failed due to Unable to 
execute PrimaryStorageDownloadCommand due to exception
2013-03-06 20:43:03,149 DEBUG [cloud.template.TemplateManagerImpl] 
(secstorage-1:null) Downloading 8 via 1
2013-03-06 20:43:03,151 DEBUG [agent.manager.AgentAttache] 
(DirectAgent-29:null) Seq 1-2044985389: No more commands found
2013-03-06 20:43:03,163 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 
1-2044985390: Sending  { Cmd , MgmtId: 6950196609054, via: 1, Ver: v1, Flags: 
100111, 
[{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","poolUuid":"cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","poolId":200,"primaryPool":{"id":200,"uuid":"cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","host":"10.147.28.7","path":"/export/home/kiran/p","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://10.147.28.7/export/home/kiran/s","primaryStorageUrl":"nfs://10.147.28.7/export/home/kiran/p","url":"nfs://10.147.28.7/export/home/kiran/s/template/tmpl/1/8/","format":"OVA","accountId":1,"name":"routing-8","wait":10800}}]
 }
2013-03-06 20:43:03,165 DEBUG [agent.transport.Request] (secstorage-1:null) Seq 
1-2044985390: Executing:  { Cmd , MgmtId: 6950196609054, via: 1, Ver: v1, 
Flags: 100111, 
[{"storage.PrimaryStorageDownloadCommand":{"localPath":"/mnt/cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","poolUuid":"cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","poolId":200,"primaryPool":{"id":200,"uuid":"cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","host":"10.147.28.7","path":"/export/home/kiran/p","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://10.147.28.7/export/home/kiran/s","primaryStorageUrl":"nfs://10.147.28.7/export/home/kiran/p","url":"nfs://10.147.28.7/export/home/kiran/s/template/tmpl/1/8/","format":"OVA","accountId":1,"name":"routing-8","wait":10800}}]
 }
2013-03-06 20:43:03,166 DEBUG [agent.manager.DirectAgentAttache] 
(DirectAgent-11:null) Seq 1-2044985390: Executing request
2013-03-06 20:43:03,174 INFO  [vmware.resource.VmwareResource] 
(DirectAgent-11:10.147.40.9) Executing resource PrimaryStorageDownloadCommand: 
{"localPath":"/mnt/cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","poolUuid":"cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","poolId":200,"primaryPool":{"id":200,"uuid":"cea9b2e6-a7a2-343b-916e-8e7ba9bbf903","host":"10.147.28.7","path":"/export/home/kiran/p","port":2049,"type":"NetworkFilesystem"},"secondaryStorageUrl":"nfs://10.147.28.7/export/home/kiran/s","primaryStorageUrl":"nfs://10.147.28.7/export/home/kiran/p","url":"nfs://10.147.28.7/export/home/kiran/s/template/tmpl/1/8/","format":"OVA","accountId":1,"name":"routing-8","wait":10800}
2013-03-06 20:43:03,211 INFO  [vmware.manager.VmwareStorageManagerImpl] 
(DirectAgent-11:10.147.40.9) Template routing-8 is not setup yet, setup 
template from secondary storage with uuid name: 85307d8540163ceda43715651bcb4f61
2013-03-06 20:43:03,236 INFO  [vmware.manager.VmwareStorageManagerImpl] 
(DirectAgent-11:10.147.40.9) Executing copyTemplateFromSecondaryToPrimary. 
secondaryStorage: nfs://10.147.28.7/export/home/kiran/s, 
templatePathAtSecondaryStorage: template/tmpl/1/8/, templateName: routing-8
2013-03-06 20:43:03,237 INFO  [vmware.manager.VmwareStorageManagerImpl] 
(DirectAgent-11:10.147.40.9) Secondary storage mount point: 
/var/cloudstack/mnt/VM/6950196609054.51e6a86f
2013-03-06 20:43:03,237 INFO  [vmware.manager.VmwareStorageManagerImpl] 
(DirectAgent-11:10.147.40.9) Executing command: tar --no-same-owner -xf 
/var/cloudstack/mnt/VM/6950196609054.51e6a86f/template/tmpl/1/8/routing-8.ova
2013-03-06 20:43:03,237 DEBUG [vmware.manager.VmwareStorageManagerImpl] 
(DirectAgent-11:10.147.40.9) Executing: tar --no-same-owner -xf 
/var/cloudstack/mnt/VM/6950196609054.51e6a86f/template/tmpl/1/8/routing-8.ova
2013-03-06 20:43:03,287 WARN  [vmware.manager.VmwareStorageManagerImpl] 
(DirectAgent-11:10.147.40.9) Exception: tar --no-same-owner -xf 
/var/cloudstack/mnt/VM/6950196609054.51e6a86f/template/tmpl/1/8/routing-8.ova
java.io.IOException: Cannot run program "tar" (in directory 
"/var/cloudstack/mnt/VM/6950196609054.51e6a86f/template/tmpl/1/8"): 
java.io.IOException: error=13, Permission denied
        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:461)
        at 
com.cloud.hypervisor.vmware.manager.VmwareStorageManagerImpl.execute(VmwareStorageManagerImpl.java:152)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3656)
        at 
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:414)
        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)

                
> System VM's not creating in Master with VMware setup.
> -----------------------------------------------------
>
>                 Key: CLOUDSTACK-1536
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-1536
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Install and Setup
>    Affects Versions: 4.2.0
>            Reporter: Kiran Koneti
>            Assignee: Sateesh Chodapuneedi
>            Priority: Blocker
>             Fix For: 4.2.0
>
>
> Created a VMware Advanced Zone setup and while creating the system Vm's 
> obserevd the following error messages.
> 2013-03-06 20:43:38,149 ERROR [vmware.resource.VmwareResource] 
> (DirectAgent-31:10.147.40.9) CreateCommand failed due to Exception: 
> java.lang.RuntimeException
> Message: Invalid configuration for device '0'.
> java.lang.RuntimeException: Invalid configuration for device '0'.
>         at 
> com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:269)
>         at 
> com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createDisk(VirtualMachineMO.java:944)
>         at 
> com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createDisk(VirtualMachineMO.java:867)
>         at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:3951)
>         at 
> com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:348)
>         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)
> Attaching the MS logs.

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

Reply via email to