[ https://issues.apache.org/jira/browse/CLOUDSTACK-3920?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13723312#comment-13723312 ]
Mice Xia commented on CLOUDSTACK-3920: -------------------------------------- pull lastest code in 4.2 branch and can not reproduce it > VMSnapshot on VMWare: User VM fails to start after changing the Service > Offering of the VM after taking a VMSnapshot > -------------------------------------------------------------------------------------------------------------------- > > Key: CLOUDSTACK-3920 > URL: https://issues.apache.org/jira/browse/CLOUDSTACK-3920 > Project: CloudStack > Issue Type: Bug > Security Level: Public(Anyone can view this level - this is the > default.) > Components: Management Server, VMware > Affects Versions: 4.2.0 > Reporter: Chandan Purushothama > Assignee: Mice Xia > Priority: Critical > Fix For: 4.2.0 > > > =========== > Environment: > =========== > Advanced Zone, ESXi 5.0 Update 2 Host > ================ > Steps to Reproduce: > ================ > 1. Deploy a CentOS 5.5 User VM with Root and one Data Disk. > 2. Create files on the ROOT and DATA Disks. > 3. Take a VMSnapshot of 'Disk' Type on the User VM. > 4. Create more files on the DATA Disk. > 5. Take a VMSnapshot of 'Disk & Memory' Type on the User VM. > 6. Stop the VM. > 7. Change the Service Offering of the Stopped VM. > 8. Start the Stopped User VM. > =========== > Observations: > =========== > 2013-07-29 14:39:54,201 WARN [vmware.resource.VmwareResource] > (DirectAgent-147:10.223.59.67) StartCommand 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:290) > at > com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:835) > at > com.cloud.hypervisor.vmware.mo.VirtualMachineMO.tearDownDevices(VirtualMachineMO.java:1653) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2609) > at > com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:520) > 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) > 2013-07-29 14:39:54,204 DEBUG [agent.manager.DirectAgentAttache] > (DirectAgent-147:null) Seq 1-828506730: Response Received: > 2013-07-29 14:39:54,206 DEBUG [agent.transport.Request] > (DirectAgent-147:null) Seq 1-828506730: Processing: { Ans: , MgmtId: > 6914427586246, via: 1, Ver: v1, Flags: 10, > [{"com.cloud.agent.api.StartAnswer":{"vm":{"id":8,"name":"i-3-8-VM","bootloader":"HVM","type":"User","cpus":1,"minSpeed":1000,"maxSpeed":1000,"minRam":1073741824,"maxRam":1073741824,"arch":"x86_64","os":"CentOS > 5.3 > (64-bit)","bootArgs":"","rebootOnCrash":false,"enableHA":false,"limitCpuUse":false,"enableDynamicallyScaleVm":false,"vncPassword":"c66739f6b92a1eac","params":{"nicAdapter":"E1000","nestedVirtualizationFlag":"false","enable.dynamic.scaling":"false","Message.ReservedCapacityFreed.Flag":"false","rootDiskController":"ide"},"uuid":"943177ea-31b7-4044-ba3a-09f6e5e919b1","disks":[{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"eace7711-6b92-449f-9808-4c24fef278c4","volumeType":"ROOT","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c9fae6cd-2e89-36eb-906f-46d4e53208fd","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/chandan/campocr-195-103/vmware_primary","port":2049}},"name":"ROOT-8","size":0,"path":"ROOT-8-9-000001","volumeId":9,"vmName":"i-3-8-VM","accountId":3,"format":"OVA","id":9,"hypervisorType":"None"}},"diskSeq":0,"type":"ROOT"},{"data":{"org.apache.cloudstack.storage.to.VolumeObjectTO":{"uuid":"765585a5-cfa1-4bb9-9fab-7e47a7655a02","volumeType":"DATADISK","dataStore":{"org.apache.cloudstack.storage.to.PrimaryDataStoreTO":{"uuid":"c9fae6cd-2e89-36eb-906f-46d4e53208fd","id":1,"poolType":"NetworkFilesystem","host":"10.223.110.232","path":"/export/home/chandan/campocr-195-103/vmware_primary","port":2049}},"name":"DATA-8","size":5120,"path":"c6b586749ea043f38d478ddd251f99ad-000001","volumeId":10,"vmName":"i-3-8-VM","accountId":3,"format":"OVA","id":10,"hypervisorType":"None"}},"diskSeq":1,"type":"DATADISK"},{"data":{"org.apache.cloudstack.storage.to.TemplateObjectTO":{"id":0,"format":"ISO","accountId":0,"hvm":false}},"diskSeq":3,"type":"ISO"}],"nics":[{"deviceId":0,"networkRateMbps":200,"defaultNic":true,"uuid":"d5c59411-a998-4f3e-8383-18a07b422649","ip":"192.168.10.141","netmask":"255.255.255.0","gateway":"192.168.10.1","mac":"02:00:7e:cf:00:04","dns1":"8.8.8.8","dns2":"8.8.4.4","broadcastType":"Vlan","type":"Guest","broadcastUri":"vlan://2612","isolationUri":"vlan://2612","isSecurityGroupEnabled":false}]},"result":false,"details":"StartCommand > failed due to Exception: java.lang.RuntimeException\nMessage: Invalid > configuration for device '0'.\n","wait":0}}] } -- 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