cloudstack-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yesid Mora <ym...@o4it.com>
Subject RE: Error resize volumen
Date Tue, 05 Apr 2016 20:07:43 GMT
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!" <nux@li.nux.ro<mailto:nux@li.nux.ro>>

To: users@cloudstack.apache.org<mailto: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<http://www.nux.ro>



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

> From: "Yesid Mora" <ymora@o4it.com<mailto:ymora@o4it.com>>

> To: users@cloudstack.apache.org<mailto: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<mailto:ryan.shafer@ecommerce.com>
Mime
  • Unnamed multipart/related (inline, None, 0 bytes)
View raw message