Abhinandan Prateek created CLOUDSTACK-9953:
----------------------------------------------
Summary: [Vmware] The root disk resize does not work for default
centos template
Key: CLOUDSTACK-9953
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9953
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: VMware
Affects Versions: 4.9.0.1
Environment: vmware 5.5, MS 4.10
Reporter: Abhinandan Prateek
Priority: Blocker
Fix For: Future
When I give a size of 10GB to the root disk while creating VM I see and
insufficient capacity exception in the UI.
In the logs I see that the MS failed to resize disk:
200, unit number: 1
2017-06-10 01:51:43,691 INFO [c.c.h.v.m.VirtualMachineMO]
(DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand)
(logid:1725a568) Test against disk backing : [0ef53da61ee53329a665b93d3b000ce1]
i-2-9-VM/ROOT-9.vmdk
2017-06-10 01:51:43,691 INFO [c.c.h.v.m.VirtualMachineMO]
(DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand)
(logid:1725a568) Disk backing : [0ef53da61ee53329a665b93d3b000ce1]
i-2-9-VM/ROOT-9.vmdk matches ==> ide0:1
2017-06-10 01:51:43,713 INFO [c.c.h.v.r.VmwareResource]
(DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand)
(logid:1725a568) Found existing disk info from volume path: ROOT-9
2017-06-10 01:51:43,713 ERROR [c.c.h.v.r.VmwareResource]
(DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand)
(logid:1725a568) Unsupported Disk chain length 2
2017-06-10 01:51:43,713 INFO [c.c.h.v.u.VmwareHelper]
(DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand)
(logid:1725a568) [ignored]failed toi get message for exception: Unsupported
Disk chain length 2
2017-06-10 01:51:43,718 WARN [c.c.h.v.r.VmwareResource]
(DirectAgent-448:ctx-8f797ec5 10.2.2.39, job-78/job-80, cmd: StartCommand)
(logid:1725a568) StartCommand failed due to Exception: java.lang.Exception
Message: Unsupported Disk chain length 2
java.lang.Exception: Unsupported Disk chain length 2
at
com.cloud.hypervisor.vmware.resource.VmwareResource.resizeRootDisk(VmwareResource.java:2122)
at
com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:2044)
at
com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:470)
at
com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:315)
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)
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)