You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cloudstack.apache.org by Yesid Mora <ym...@o4it.com> on 2016/04/05 18:45:37 UTC

Error resize volumen

Hello guys, please help me, I have an error when I want resize disk, the hypervisor is VMware and the O.S. is Windows Server 2008 R2, attached the error

Thanks

RE: Error resize volumen

Posted by Yesid Mora <ym...@o4it.com>.
Hello thanks for your comments, effective the problem is I cannot  resize the Volumen in UI, exist a process specific or configuration for  template in disk (IDE, SCSI)

The error in UI the CloudStack is :

Unexpected exception

And Error in Vcenter Inform:

Reconfigure virtual machine
A specified parameter was not correct.

Thanks
-----Mensaje original-----
De: Pavan Bandarupally [mailto:pavan.bandarupally@accelerite.com] 
Enviado el: Thursday, April 7, 2016 12:23 AM
Para: users@cloudstack.apache.org
Asunto: RE: Error resize volumen

If it is data disk then it should be supported in VmWare (only increase of disk size is supported on VmWare). But there is a little caveat involved in VmWare data disk resize. It will not be dynamically reflected inside the guest OS if it is windows. I am not sure if your CS UI is showing the increased size after resize ? 

Say you have increased the size from 20 GB to 30 GB and the disk size, in UI data disk size has changed to 30 GB but not in the guest OS, then you have to go to disk management in windows and create the partition. You will see the extra 10 GB as unallocated disk, which you should be able to format and then see the disk partition inside the OS.

If you haven't seen the increased size in UI itself then that must be an issue in disk resize. Since you are using 4.3.0 this feature should work in that release.

Here is the FS for data disk resize: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Resize+Data+Volumes 

Regards,
Pavan

-----Original Message-----
From: Yesid Mora [mailto:ymora@o4it.com] 
Sent: Wednesday, April 06, 2016 10:37 PM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen

Hello Pavan, the volume to resize is data 

Thanks,

-----Original Message-----
From: Pavan Bandarupally [mailto:pavan.bandarupally@accelerite.com] 
Sent: Tuesday, April 05, 2016 11:08 PM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen

Hi Yesid,

Is this a root disk or data disk that you are trying to resize ? If it is Root disk resize, I guess it is not supported on VmWare.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Root+Resize+Support

Regards,
Pavan

From: Yesid Mora [mailto:ymora@o4it.com]
Sent: Wednesday, April 06, 2016 1:38 AM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen


Hello thanks for your comments, confirm that the storage controller is SCSI and LSI Logic SAS, the VM not have snapshot and check in vmware and the ability to resize is available to change, the version in Cloudstack is 4.3.0 the error is:



2016-04-05 10:52:41,826 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) Access to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] granted to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] by DomainChecker

2016-04-05 10:52:41,840 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) ===END===  10.109.3.37 -- GET  jobId=028aae74-c300-419f-97e6-5d89319d7b12&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&response=json&command=queryAsyncJobResult&_=1459871459748&sessionkey=gsICkPB2ddq5%2FJTL%2BGncBcj3cag%3D&jSessionId=37502B148DB676C1B50A9D7346166E24

2016-04-05 10:52:42,205 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-391:ctx-71b1f981 miatmcplathost01.corp.local) Unable to resize volume

java.lang.RuntimeException: A specified parameter was not correct.



        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336)

        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:922)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:680)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:594)

        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        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:745)

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: Response Received:

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: MgmtId 345048626012: Resp: Routing to peer

2016-04-05 10:52:42,620 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-107:ctx-9a0297db job-14058) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd

java.lang.RuntimeException: Unexpected exception

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:950)

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:178)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

        at com.sun.proxy.$Proxy213.resizeVolume(Unknown Source)

        at org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd.execute(ResizeVolumeCmd.java:138)

        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)

        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:97)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:507)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:464)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        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:745)

Caused by: java.lang.RuntimeException: Job failed due to exception null

        ... 29 more

2016-04-05 10:52:42,621 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Complete async job-14058, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unexpected exception"}

2016-04-05 10:52:42,628 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Done executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for job-14058

2016-04-05 10:52:42,633 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-107:ctx-9a0297db job-14058) Remove job-14058 from job monitoring

2016-04-05 10:52:43,758 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-991b95ae) ===START===  10.109.3.37 -- GET  response=json&jobId=028aae74-c300-419f-97e6-5d89319d7b12&command=queryAsyncJobResult&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&_=1459871461748&sessionkey=O2uWEfFcGDTXOVSZiar1CxIBMzg%3D&jSessionId=37502B148DB676C1B50A9D7346166E24



[cid:image001.png@01D18F4C.77A8C250]



-----Original Message-----
From: Ryan Shafer [mailto:ryan.shafer@ecommerce.com]
Sent: Tuesday, April 05, 2016 12:04 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: Re: Error resize volumen



Yesid,



This is most likely not a cloudstack issue.  We ran into this issue when the volume was unavailable for resize in vmware for a few reasons.  Best way to test is to login to vcenter and see if you can manually resize the disk.  In many case you will find that the ability to resize is grayed out.  This is generally due to one of two issues.  First and most likely is that that type of storage controller on the vm is IDE and not iSCSI type, there are vmware articles on how you cna fix this.  The other option is that the vm has snapshots and until you remove the snapshots you cannot resize the disk.  If you can manually resize and the command still does not work please post exact cloudstack version to comfirm root volume resize its enabled in that version



----- Original Message -----

From: "Nux!" <nu...@li.nux.ro>>

To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

Sent: Tuesday, April 5, 2016 12:59:04 PM

Subject: Re: Error resize volumen



Yesid,



The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.



--

Sent from the Delta quadrant using Borg technology!



Nux!

www.nux.ro<http://www.nux.ro>



----- Original Message -----

> From: "Yesid Mora" <ym...@o4it.com>>

> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

> Sent: Tuesday, 5 April, 2016 17:45:37

> Subject: Error resize volumen



> Hello guys, please help me, I have an error when I want resize disk,

> the hypervisor is VMware and the O.S. is Windows Server 2008 R2,

> attached the error

>

> Thanks



--

Sincerely,

Ryan Shafer

Manager of Hosting Infrastructure

Ecommerce LLC

ryan.shafer@ecommerce.com<ma...@ecommerce.com>



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

RE: Error resize volumen

Posted by Pavan Bandarupally <pa...@accelerite.com>.
If it is data disk then it should be supported in VmWare (only increase of disk size is supported on VmWare). But there is a little caveat involved in VmWare data disk resize. It will not be dynamically reflected inside the guest OS if it is windows. I am not sure if your CS UI is showing the increased size after resize ? 

Say you have increased the size from 20 GB to 30 GB and the disk size, in UI data disk size has changed to 30 GB but not in the guest OS, then you have to go to disk management in windows and create the partition. You will see the extra 10 GB as unallocated disk, which you should be able to format and then see the disk partition inside the OS.

If you haven't seen the increased size in UI itself then that must be an issue in disk resize. Since you are using 4.3.0 this feature should work in that release.

Here is the FS for data disk resize: https://cwiki.apache.org/confluence/display/CLOUDSTACK/Resize+Data+Volumes 

Regards,
Pavan

-----Original Message-----
From: Yesid Mora [mailto:ymora@o4it.com] 
Sent: Wednesday, April 06, 2016 10:37 PM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen

Hello Pavan, the volume to resize is data 

Thanks,

-----Original Message-----
From: Pavan Bandarupally [mailto:pavan.bandarupally@accelerite.com] 
Sent: Tuesday, April 05, 2016 11:08 PM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen

Hi Yesid,

Is this a root disk or data disk that you are trying to resize ? If it is Root disk resize, I guess it is not supported on VmWare.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Root+Resize+Support

Regards,
Pavan

From: Yesid Mora [mailto:ymora@o4it.com]
Sent: Wednesday, April 06, 2016 1:38 AM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen


Hello thanks for your comments, confirm that the storage controller is SCSI and LSI Logic SAS, the VM not have snapshot and check in vmware and the ability to resize is available to change, the version in Cloudstack is 4.3.0 the error is:



2016-04-05 10:52:41,826 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) Access to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] granted to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] by DomainChecker

2016-04-05 10:52:41,840 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) ===END===  10.109.3.37 -- GET  jobId=028aae74-c300-419f-97e6-5d89319d7b12&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&response=json&command=queryAsyncJobResult&_=1459871459748&sessionkey=gsICkPB2ddq5%2FJTL%2BGncBcj3cag%3D&jSessionId=37502B148DB676C1B50A9D7346166E24

2016-04-05 10:52:42,205 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-391:ctx-71b1f981 miatmcplathost01.corp.local) Unable to resize volume

java.lang.RuntimeException: A specified parameter was not correct.



        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336)

        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:922)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:680)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:594)

        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        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:745)

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: Response Received:

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: MgmtId 345048626012: Resp: Routing to peer

2016-04-05 10:52:42,620 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-107:ctx-9a0297db job-14058) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd

java.lang.RuntimeException: Unexpected exception

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:950)

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:178)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

        at com.sun.proxy.$Proxy213.resizeVolume(Unknown Source)

        at org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd.execute(ResizeVolumeCmd.java:138)

        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)

        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:97)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:507)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:464)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        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:745)

Caused by: java.lang.RuntimeException: Job failed due to exception null

        ... 29 more

2016-04-05 10:52:42,621 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Complete async job-14058, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unexpected exception"}

2016-04-05 10:52:42,628 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Done executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for job-14058

2016-04-05 10:52:42,633 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-107:ctx-9a0297db job-14058) Remove job-14058 from job monitoring

2016-04-05 10:52:43,758 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-991b95ae) ===START===  10.109.3.37 -- GET  response=json&jobId=028aae74-c300-419f-97e6-5d89319d7b12&command=queryAsyncJobResult&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&_=1459871461748&sessionkey=O2uWEfFcGDTXOVSZiar1CxIBMzg%3D&jSessionId=37502B148DB676C1B50A9D7346166E24



[cid:image001.png@01D18F4C.77A8C250]



-----Original Message-----
From: Ryan Shafer [mailto:ryan.shafer@ecommerce.com]
Sent: Tuesday, April 05, 2016 12:04 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: Re: Error resize volumen



Yesid,



This is most likely not a cloudstack issue.  We ran into this issue when the volume was unavailable for resize in vmware for a few reasons.  Best way to test is to login to vcenter and see if you can manually resize the disk.  In many case you will find that the ability to resize is grayed out.  This is generally due to one of two issues.  First and most likely is that that type of storage controller on the vm is IDE and not iSCSI type, there are vmware articles on how you cna fix this.  The other option is that the vm has snapshots and until you remove the snapshots you cannot resize the disk.  If you can manually resize and the command still does not work please post exact cloudstack version to comfirm root volume resize its enabled in that version



----- Original Message -----

From: "Nux!" <nu...@li.nux.ro>>

To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

Sent: Tuesday, April 5, 2016 12:59:04 PM

Subject: Re: Error resize volumen



Yesid,



The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.



--

Sent from the Delta quadrant using Borg technology!



Nux!

www.nux.ro<http://www.nux.ro>



----- Original Message -----

> From: "Yesid Mora" <ym...@o4it.com>>

> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

> Sent: Tuesday, 5 April, 2016 17:45:37

> Subject: Error resize volumen



> Hello guys, please help me, I have an error when I want resize disk,

> the hypervisor is VMware and the O.S. is Windows Server 2008 R2,

> attached the error

>

> Thanks



--

Sincerely,

Ryan Shafer

Manager of Hosting Infrastructure

Ecommerce LLC

ryan.shafer@ecommerce.com<ma...@ecommerce.com>



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

RE: Error resize volumen

Posted by Yesid Mora <ym...@o4it.com>.
Hello Pavan, the volume to resize is data 

Thanks,

-----Original Message-----
From: Pavan Bandarupally [mailto:pavan.bandarupally@accelerite.com] 
Sent: Tuesday, April 05, 2016 11:08 PM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen

Hi Yesid,

Is this a root disk or data disk that you are trying to resize ? If it is Root disk resize, I guess it is not supported on VmWare.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Root+Resize+Support

Regards,
Pavan

From: Yesid Mora [mailto:ymora@o4it.com]
Sent: Wednesday, April 06, 2016 1:38 AM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen


Hello thanks for your comments, confirm that the storage controller is SCSI and LSI Logic SAS, the VM not have snapshot and check in vmware and the ability to resize is available to change, the version in Cloudstack is 4.3.0 the error is:



2016-04-05 10:52:41,826 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) Access to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] granted to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] by DomainChecker

2016-04-05 10:52:41,840 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) ===END===  10.109.3.37 -- GET  jobId=028aae74-c300-419f-97e6-5d89319d7b12&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&response=json&command=queryAsyncJobResult&_=1459871459748&sessionkey=gsICkPB2ddq5%2FJTL%2BGncBcj3cag%3D&jSessionId=37502B148DB676C1B50A9D7346166E24

2016-04-05 10:52:42,205 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-391:ctx-71b1f981 miatmcplathost01.corp.local) Unable to resize volume

java.lang.RuntimeException: A specified parameter was not correct.



        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336)

        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:922)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:680)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:594)

        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        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:745)

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: Response Received:

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: MgmtId 345048626012: Resp: Routing to peer

2016-04-05 10:52:42,620 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-107:ctx-9a0297db job-14058) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd

java.lang.RuntimeException: Unexpected exception

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:950)

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:178)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

        at com.sun.proxy.$Proxy213.resizeVolume(Unknown Source)

        at org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd.execute(ResizeVolumeCmd.java:138)

        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)

        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:97)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:507)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:464)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        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:745)

Caused by: java.lang.RuntimeException: Job failed due to exception null

        ... 29 more

2016-04-05 10:52:42,621 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Complete async job-14058, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unexpected exception"}

2016-04-05 10:52:42,628 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Done executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for job-14058

2016-04-05 10:52:42,633 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-107:ctx-9a0297db job-14058) Remove job-14058 from job monitoring

2016-04-05 10:52:43,758 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-991b95ae) ===START===  10.109.3.37 -- GET  response=json&jobId=028aae74-c300-419f-97e6-5d89319d7b12&command=queryAsyncJobResult&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&_=1459871461748&sessionkey=O2uWEfFcGDTXOVSZiar1CxIBMzg%3D&jSessionId=37502B148DB676C1B50A9D7346166E24



[cid:image001.png@01D18F4C.77A8C250]



-----Original Message-----
From: Ryan Shafer [mailto:ryan.shafer@ecommerce.com]
Sent: Tuesday, April 05, 2016 12:04 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: Re: Error resize volumen



Yesid,



This is most likely not a cloudstack issue.  We ran into this issue when the volume was unavailable for resize in vmware for a few reasons.  Best way to test is to login to vcenter and see if you can manually resize the disk.  In many case you will find that the ability to resize is grayed out.  This is generally due to one of two issues.  First and most likely is that that type of storage controller on the vm is IDE and not iSCSI type, there are vmware articles on how you cna fix this.  The other option is that the vm has snapshots and until you remove the snapshots you cannot resize the disk.  If you can manually resize and the command still does not work please post exact cloudstack version to comfirm root volume resize its enabled in that version



----- Original Message -----

From: "Nux!" <nu...@li.nux.ro>>

To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

Sent: Tuesday, April 5, 2016 12:59:04 PM

Subject: Re: Error resize volumen



Yesid,



The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.



--

Sent from the Delta quadrant using Borg technology!



Nux!

www.nux.ro<http://www.nux.ro>



----- Original Message -----

> From: "Yesid Mora" <ym...@o4it.com>>

> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

> Sent: Tuesday, 5 April, 2016 17:45:37

> Subject: Error resize volumen



> Hello guys, please help me, I have an error when I want resize disk,

> the hypervisor is VMware and the O.S. is Windows Server 2008 R2,

> attached the error

>

> Thanks



--

Sincerely,

Ryan Shafer

Manager of Hosting Infrastructure

Ecommerce LLC

ryan.shafer@ecommerce.com<ma...@ecommerce.com>



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

RE: Error resize volumen

Posted by Pavan Bandarupally <pa...@accelerite.com>.
Hi Yesid,

Is this a root disk or data disk that you are trying to resize ? If it is Root disk resize, I guess it is not supported on VmWare.

https://cwiki.apache.org/confluence/display/CLOUDSTACK/Root+Resize+Support

Regards,
Pavan

From: Yesid Mora [mailto:ymora@o4it.com]
Sent: Wednesday, April 06, 2016 1:38 AM
To: users@cloudstack.apache.org
Subject: RE: Error resize volumen


Hello thanks for your comments, confirm that the storage controller is SCSI and LSI Logic SAS, the VM not have snapshot and check in vmware and the ability to resize is available to change, the version in Cloudstack is 4.3.0 the error is:



2016-04-05 10:52:41,826 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) Access to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] granted to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] by DomainChecker

2016-04-05 10:52:41,840 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) ===END===  10.109.3.37 -- GET  jobId=028aae74-c300-419f-97e6-5d89319d7b12&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&response=json&command=queryAsyncJobResult&_=1459871459748&sessionkey=gsICkPB2ddq5%2FJTL%2BGncBcj3cag%3D&jSessionId=37502B148DB676C1B50A9D7346166E24

2016-04-05 10:52:42,205 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-391:ctx-71b1f981 miatmcplathost01.corp.local) Unable to resize volume

java.lang.RuntimeException: A specified parameter was not correct.



        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336)

        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:922)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:680)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:594)

        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        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:745)

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: Response Received:

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: MgmtId 345048626012: Resp: Routing to peer

2016-04-05 10:52:42,620 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-107:ctx-9a0297db job-14058) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd

java.lang.RuntimeException: Unexpected exception

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:950)

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:178)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

        at com.sun.proxy.$Proxy213.resizeVolume(Unknown Source)

        at org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd.execute(ResizeVolumeCmd.java:138)

        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)

        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:97)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:507)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:464)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        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:745)

Caused by: java.lang.RuntimeException: Job failed due to exception null

        ... 29 more

2016-04-05 10:52:42,621 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Complete async job-14058, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unexpected exception"}

2016-04-05 10:52:42,628 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Done executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for job-14058

2016-04-05 10:52:42,633 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-107:ctx-9a0297db job-14058) Remove job-14058 from job monitoring

2016-04-05 10:52:43,758 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-991b95ae) ===START===  10.109.3.37 -- GET  response=json&jobId=028aae74-c300-419f-97e6-5d89319d7b12&command=queryAsyncJobResult&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&_=1459871461748&sessionkey=O2uWEfFcGDTXOVSZiar1CxIBMzg%3D&jSessionId=37502B148DB676C1B50A9D7346166E24



[cid:image001.png@01D18F4C.77A8C250]



-----Original Message-----
From: Ryan Shafer [mailto:ryan.shafer@ecommerce.com]
Sent: Tuesday, April 05, 2016 12:04 PM
To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>
Subject: Re: Error resize volumen



Yesid,



This is most likely not a cloudstack issue.  We ran into this issue when the volume was unavailable for resize in vmware for a few reasons.  Best way to test is to login to vcenter and see if you can manually resize the disk.  In many case you will find that the ability to resize is grayed out.  This is generally due to one of two issues.  First and most likely is that that type of storage controller on the vm is IDE and not iSCSI type, there are vmware articles on how you cna fix this.  The other option is that the vm has snapshots and until you remove the snapshots you cannot resize the disk.  If you can manually resize and the command still does not work please post exact cloudstack version to comfirm root volume resize its enabled in that version



----- Original Message -----

From: "Nux!" <nu...@li.nux.ro>>

To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

Sent: Tuesday, April 5, 2016 12:59:04 PM

Subject: Re: Error resize volumen



Yesid,



The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.



--

Sent from the Delta quadrant using Borg technology!



Nux!

www.nux.ro<http://www.nux.ro>



----- Original Message -----

> From: "Yesid Mora" <ym...@o4it.com>>

> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

> Sent: Tuesday, 5 April, 2016 17:45:37

> Subject: Error resize volumen



> Hello guys, please help me, I have an error when I want resize disk,

> the hypervisor is VMware and the O.S. is Windows Server 2008 R2,

> attached the error

>

> Thanks



--

Sincerely,

Ryan Shafer

Manager of Hosting Infrastructure

Ecommerce LLC

ryan.shafer@ecommerce.com<ma...@ecommerce.com>



DISCLAIMER
==========
This e-mail may contain privileged and confidential information which is the property of Accelerite, a Persistent Systems business. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Accelerite, a Persistent Systems business does not accept any liability for virus infected mails.

RE: Error resize volumen

Posted by Yesid Mora <ym...@o4it.com>.
Hello thanks for your comments, confirm that the storage controller is SCSI and LSI Logic SAS, the VM not have snapshot and check in vmware and the ability to resize is available to change, the version in Cloudstack is 4.3.0 the error is:



2016-04-05 10:52:41,826 DEBUG [c.c.u.AccountManagerImpl] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) Access to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] granted to Acct[07224ecd-35fd-41d2-92e8-1121918df2bf-usercsn] by DomainChecker

2016-04-05 10:52:41,840 DEBUG [c.c.a.ApiServlet] (catalina-exec-2:ctx-a7997fc0 ctx-9eb2a31d) ===END===  10.109.3.37 -- GET  jobId=028aae74-c300-419f-97e6-5d89319d7b12&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&response=json&command=queryAsyncJobResult&_=1459871459748&sessionkey=gsICkPB2ddq5%2FJTL%2BGncBcj3cag%3D&jSessionId=37502B148DB676C1B50A9D7346166E24

2016-04-05 10:52:42,205 ERROR [c.c.h.v.r.VmwareResource] (DirectAgent-391:ctx-71b1f981 miatmcplathost01.corp.local) Unable to resize volume

java.lang.RuntimeException: A specified parameter was not correct.



        at com.cloud.hypervisor.vmware.util.VmwareClient.waitForTask(VmwareClient.java:336)

        at com.cloud.hypervisor.vmware.mo.VirtualMachineMO.configureVm(VirtualMachineMO.java:922)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.execute(VmwareResource.java:680)

        at com.cloud.hypervisor.vmware.resource.VmwareResource.executeRequest(VmwareResource.java:594)

        at com.cloud.agent.manager.DirectAgentAttache$Task.runInContext(DirectAgentAttache.java:215)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        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:745)

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.DirectAgentAttache] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: Response Received:

2016-04-05 10:52:42,206 DEBUG [c.c.a.m.ClusteredAgentManagerImpl] (DirectAgent-391:ctx-71b1f981) Seq 3279-1872975942: MgmtId 345048626012: Resp: Routing to peer

2016-04-05 10:52:42,620 ERROR [c.c.a.ApiAsyncJobDispatcher] (API-Job-Executor-107:ctx-9a0297db job-14058) Unexpected exception while executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd

java.lang.RuntimeException: Unexpected exception

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:950)

        at com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:178)

        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

       at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)

        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

        at java.lang.reflect.Method.invoke(Method.java:606)

        at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:317)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:183)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:150)

        at com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:50)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)

        at org.springframework.aop.interceptor.ExposeInvocationInterceptor.invoke(ExposeInvocationInterceptor.java:91)

        at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:172)

        at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)

        at com.sun.proxy.$Proxy213.resizeVolume(Unknown Source)

        at org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd.execute(ResizeVolumeCmd.java:138)

        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:161)

        at com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:97)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:507)

        at org.apache.cloudstack.managed.context.ManagedContextRunnable$1.run(ManagedContextRunnable.java:50)

        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:47)

        at org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:464)

        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)

        at java.util.concurrent.FutureTask.run(FutureTask.java:262)

        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:745)

Caused by: java.lang.RuntimeException: Job failed due to exception null

        ... 29 more

2016-04-05 10:52:42,621 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Complete async job-14058, jobStatus: FAILED, resultCode: 530, result: org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"Unexpected exception"}

2016-04-05 10:52:42,628 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] (API-Job-Executor-107:ctx-9a0297db job-14058) Done executing org.apache.cloudstack.api.command.user.volume.ResizeVolumeCmd for job-14058

2016-04-05 10:52:42,633 INFO  [o.a.c.f.j.i.AsyncJobMonitor] (API-Job-Executor-107:ctx-9a0297db job-14058) Remove job-14058 from job monitoring

2016-04-05 10:52:43,758 DEBUG [c.c.a.ApiServlet] (catalina-exec-14:ctx-991b95ae) ===START===  10.109.3.37 -- GET  response=json&jobId=028aae74-c300-419f-97e6-5d89319d7b12&command=queryAsyncJobResult&tenantParam=f045cb13-5183-4830-bb0a-730b2979feb2&_=1459871461748&sessionkey=O2uWEfFcGDTXOVSZiar1CxIBMzg%3D&jSessionId=37502B148DB676C1B50A9D7346166E24



[cid:image001.png@01D18F4C.77A8C250]



-----Original Message-----
From: Ryan Shafer [mailto:ryan.shafer@ecommerce.com]
Sent: Tuesday, April 05, 2016 12:04 PM
To: users@cloudstack.apache.org
Subject: Re: Error resize volumen



Yesid,



This is most likely not a cloudstack issue.  We ran into this issue when the volume was unavailable for resize in vmware for a few reasons.  Best way to test is to login to vcenter and see if you can manually resize the disk.  In many case you will find that the ability to resize is grayed out.  This is generally due to one of two issues.  First and most likely is that that type of storage controller on the vm is IDE and not iSCSI type, there are vmware articles on how you cna fix this.  The other option is that the vm has snapshots and until you remove the snapshots you cannot resize the disk.  If you can manually resize and the command still does not work please post exact cloudstack version to comfirm root volume resize its enabled in that version



----- Original Message -----

From: "Nux!" <nu...@li.nux.ro>>

To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

Sent: Tuesday, April 5, 2016 12:59:04 PM

Subject: Re: Error resize volumen



Yesid,



The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.



--

Sent from the Delta quadrant using Borg technology!



Nux!

www.nux.ro<http://www.nux.ro>



----- Original Message -----

> From: "Yesid Mora" <ym...@o4it.com>>

> To: users@cloudstack.apache.org<ma...@cloudstack.apache.org>

> Sent: Tuesday, 5 April, 2016 17:45:37

> Subject: Error resize volumen



> Hello guys, please help me, I have an error when I want resize disk,

> the hypervisor is VMware and the O.S. is Windows Server 2008 R2,

> attached the error

>

> Thanks



--

Sincerely,

Ryan Shafer

Manager of Hosting Infrastructure

Ecommerce LLC

ryan.shafer@ecommerce.com<ma...@ecommerce.com>

Re: Error resize volumen

Posted by Ryan Shafer <ry...@ecommerce.com>.
Yesid,

This is most likely not a cloudstack issue.  We ran into this issue when the volume was unavailable for resize in vmware for a few reasons.  Best way to test is to login to vcenter and see if you can manually resize the disk.  In many case you will find that the ability to resize is grayed out.  This is generally due to one of two issues.  First and most likely is that that type of storage controller on the vm is IDE and not iSCSI type, there are vmware articles on how you cna fix this.  The other option is that the vm has snapshots and until you remove the snapshots you cannot resize the disk.  If you can manually resize and the command still does not work please post exact cloudstack version to comfirm root volume resize its enabled in that version

----- Original Message -----
From: "Nux!" <nu...@li.nux.ro>
To: users@cloudstack.apache.org
Sent: Tuesday, April 5, 2016 12:59:04 PM
Subject: Re: Error resize volumen

Yesid,

The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Yesid Mora" <ym...@o4it.com>
> To: users@cloudstack.apache.org
> Sent: Tuesday, 5 April, 2016 17:45:37
> Subject: Error resize volumen

> Hello guys, please help me, I have an error when I want resize disk, the
> hypervisor is VMware and the O.S. is Windows Server 2008 R2, attached the error
> 
> Thanks

-- 
Sincerely,
Ryan Shafer
Manager of Hosting Infrastructure
Ecommerce LLC
ryan.shafer@ecommerce.com

Re: Error resize volumen

Posted by Nux! <nu...@li.nux.ro>.
Yesid,

The mailing list strips attachments, better upload it to imgur or somewhere else and send the link or just copy/paste the text.

--
Sent from the Delta quadrant using Borg technology!

Nux!
www.nux.ro

----- Original Message -----
> From: "Yesid Mora" <ym...@o4it.com>
> To: users@cloudstack.apache.org
> Sent: Tuesday, 5 April, 2016 17:45:37
> Subject: Error resize volumen

> Hello guys, please help me, I have an error when I want resize disk, the
> hypervisor is VMware and the O.S. is Windows Server 2008 R2, attached the error
> 
> Thanks