You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Mike Tutkowski (JIRA)" <ji...@apache.org> on 2014/04/23 00:02:18 UTC

[jira] [Resolved] (CLOUDSTACK-6469) [Automation] Failed to created SSVM and CPVM in vmware advanced zone

     [ https://issues.apache.org/jira/browse/CLOUDSTACK-6469?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Mike Tutkowski resolved CLOUDSTACK-6469.
----------------------------------------

    Resolution: Fixed

The code is now checked into 4.4-forward and requires that Daan cherry pick it to 4.4 (I have sent him an e-mail with regards to this).

Thanks!

> [Automation] Failed to created SSVM and CPVM in vmware advanced zone
> --------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-6469
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-6469
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the default.) 
>          Components: VMware
>    Affects Versions: 4.4.0
>         Environment: vmware 5.1
> branch 4.4
>            Reporter: Rayees Namathponnan
>            Assignee: Mike Tutkowski
>            Priority: Blocker
>             Fix For: 4.4.0
>
>         Attachments: management.rar
>
>
> Steps to reproduce 
> Step 1 : Created advanced zone with vmware 5.1
> Step 2 : Wait for SSVM and CPVM
> Result 
> SSVM and CPVM failed to create, observed below error 
> 2014-04-21 17:33:33,831 INFO  [c.c.s.r.VmwareStorageProcessor] (DirectAgent-22:ctx-cb35f168 10.223.250.130) Move volume out of volume-wrapper VM
> 2014-04-21 17:33:34,816 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-22:ctx-cb35f168 10.223.250.130) clone volume from base image failed due to Exception: java.lang.RuntimeException
> Message: File [a885cec84fc23dfe8391b749f803bc78] ROOT-2/ROOT-2.vmdk was not found
> java.lang.RuntimeException: File [a885cec84fc23dfe8391b749f803bc78] ROOT-2/ROOT-2.vmdk was not found
>         at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:335)
>         at com.cloud.hypervisor.vmware.mo.DatastoreMO.moveDatastoreFile(DatastoreMO.java:247)
>         at com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTemplate(VmwareStorageProcessor.java:477)
>         at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
>         at com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(VmwareStorageSubsystemCommandHandler.java:168)
>         at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerBase.java:52)
>         at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:469)
>         at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:216)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:49)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext$1.call(DefaultManagedContext.java:56)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.callWithContext(DefaultManagedContext.java:103)
>         at org.apache.cloudstack.managed.context.impl.DefaultManagedContext.runWithContext(DefaultManagedContext.java:53)
>         at org.apache.cloudstack.managed.context.ManagedContextRunnable.run(ManagedContextRunnable.java:46)
>         at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
>         at java.util.concurrent.FutureTask.run(FutureTask.java:262)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178)
>         at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292)
>         at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
>         at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
>         at java.lang.Thread.run(Thread.java:744)
> 2014-04-21 17:33:34,817 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-22:ctx-cb35f168) Seq 1-2883992611377381
> aslo getting below error while recreating ssvm
> and.CopyCommand":{"srcTO":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"path":"28e3e559a4f334cdbc7ec313413206fc","ori
> gUrl":"http://download.cloud.com/templates/4.3/systemvm64template-2014-01-14-master-vmware.ova","uuid":"ae520c42-c9b1-11e3-ab7
> 9-52b2d980df8a","id":8,"format":"OVA","accountId":1,"checksum":"ef593a061f3b7594ab0bfd9b0ed0a0d4","hvm":false,"displayText":"S
> ystemVM Template (vSphere)","imageDataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"a885cec8-4fc2-3df
> e-8391-b749f803bc78","id":1,"poolType":"NetworkFilesystem","host":"nfs1-ccp.citrix.com","path":"/home/common/automation/SC-CLO
> UD-QA03/primary1","port":2049,"url":"NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC-CLOUD-QA03/primary1/?RO
> LE=Primary&STOREUUID=a885cec8-4fc2-3dfe-8391-b749f803bc78"}},"name":"routing-8","hypervisorType":"VMware"}},"destTO":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"c44b0eeb-ed1a-45d7-81ab-9e452b16030b","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"a885cec8-4fc2-3dfe-8391-b749f803bc78","id":1,"poolType":"NetworkFilesystem","host":"nfs1-ccp.citrix.com","path":"/home/common/automation/SC-CLOUD-QA03/primary1","port":2049,"url":"NetworkFilesystem://nfs1-ccp.citrix.com/home/common/automation/SC-CLOUD-QA03/primary1/?ROLE=Primary&STOREUUID=a885cec8-4fc2-3dfe-8391-b749f803bc78"}},"name":"ROOT-2","size":0,"volumeId":2,"vmName":"v-2-VM","accountId":1,"format":"OVA","id":2,"deviceId":0,"hypervisorType":"VMware"}},"executeInSequence":false,"options":{},"wait":0}}] }
> 2014-04-21 17:33:35,484 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-49:ctx-d2f22bd9) Seq 2-5112992951949066263: Executing request
> 2014-04-21 17:33:35,912 INFO  [c.c.h.v.m.DatastoreMO] (DirectAgent-49:ctx-d2f22bd9 10.223.250.131) Folder ROOT-2 exists on datastore
> 2014-04-21 17:33:35,920 INFO  [c.c.s.r.VmwareStorageProcessor] (DirectAgent-49:ctx-d2f22bd9 10.223.250.131) creating full clone from template
> 2014-04-21 17:33:37,264 ERROR [c.c.s.r.VmwareStorageProcessor] (DirectAgent-49:ctx-d2f22bd9 10.223.250.131) clone volume from base image failed due to Exception: java.lang.RuntimeException
> Message: The name 'ROOT-2' already exists.
> java.lang.RuntimeException: The name 'ROOT-2' already exists.
>         at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:335)
>         at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.createFullClone(VirtualMachineMO.java:670)
>         at com.cloud.storage.resource.VmwareStorageProcessor.createVMFullClone(VmwareStorageProcessor.java:382)
>         at com.cloud.storage.resource.VmwareStorageProcessor.cloneVolumeFromBaseTemplate(VmwareStorageProcessor.java:466)
>         at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.execute(StorageSubsystemCommandHandlerBase.java:81)
>         at com.cloud.storage.resource.VmwareStorageSubsystemCommandHandler.execute(VmwareStorageSubsystemCommandHandler.java:168)
>         at com.cloud.storage.resource.StorageSubsystemCommandHandlerBase.handleStorageCommands(StorageSubsystemCommandHandlerB:



--
This message was sent by Atlassian JIRA
(v6.2#6252)