[ 
https://issues.apache.org/jira/browse/CLOUDSTACK-7495?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14148921#comment-14148921
 ] 

ASF subversion and git services commented on CLOUDSTACK-7495:
-------------------------------------------------------------

Commit ec1123aca18009ac91e571e150fcf4c98df5e482 in cloudstack's branch 
refs/heads/master from [~devdeep]
[ https://git-wip-us.apache.org/repos/asf?p=cloudstack.git;h=ec1123a ]

CLOUDSTACK-7495. Volume resize is only supported on kvm, vmware and xenserver. 
If
the operation is tried on other hypervisors it fails but logs a stack trace. We
should just log a message that the operation isn't supported.


> [Automation][HyperV] Stack trace along with error message - CloudStack 
> currently only supports volumes marked as the KVM, VMware, or XenServer 
> hypervisor type for resize.
> --------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: CLOUDSTACK-7495
>                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-7495
>             Project: CloudStack
>          Issue Type: Bug
>      Security Level: Public(Anyone can view this level - this is the 
> default.) 
>          Components: Automation, Test
>    Affects Versions: 4.5.0
>            Reporter: Chandan Purushothama
>            Assignee: Devdeep Singh
>            Priority: Critical
>             Fix For: 4.5.0
>
>
> {code}
> 2014-09-03 17:55:32,084 DEBUG [c.c.a.ApiServlet] 
> (catalina-exec-11:ctx-5e814549 ctx-6724d865 ctx-56a27ef7) ===END===  
> 10.220.135.217 -- GET  
> jobid=3f397629-d004-4020-a97d-8aa277ea2c61&apiKey=hCPmYiAF1lm_sBLrhXIEWXCJt0vYbxzkeFfv7E1ZhyPPL_TF6BvI8cVOm2AqLlzWwa2w9dO0eFQu6SafM_st3g&command=queryAsyncJobResult&response=json&signature=6X9pGZqTxQTAxWy4N73kVno%2B62s%3D
> 2014-09-03 17:55:32,091 ERROR [c.c.a.ApiAsyncJobDispatcher] 
> (API-Job-Executor-123:ctx-0a86f6fa job-255) Unexpected exception while 
> executing 
> org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin
> com.cloud.exception.InvalidParameterValueException: CloudStack currently only 
> supports volumes marked as the KVM, VMware, or XenServer hypervisor type for 
> resize.
>       at 
> com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:725)
>       at 
> com.cloud.storage.VolumeApiServiceImpl.resizeVolume(VolumeApiServiceImpl.java:150)
>       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:601)
>       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 
> org.apache.cloudstack.network.contrail.management.EventUtils$EventInterceptor.invoke(EventUtils.java:106)
>       at 
> org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:161)
>       at 
> com.cloud.event.ActionEventInterceptor.invoke(ActionEventInterceptor.java:51)
>       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 $Proxy184.resizeVolume(Unknown Source)
>       at 
> org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin.execute(ResizeVolumeCmdByAdmin.java:37)
>       at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:141)
>       at 
> com.cloud.api.ApiAsyncJobDispatcher.runJob(ApiAsyncJobDispatcher.java:108)
>       at 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.runInContext(AsyncJobManagerImpl.java:503)
>       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 
> org.apache.cloudstack.framework.jobs.impl.AsyncJobManagerImpl$5.run(AsyncJobManagerImpl.java:460)
>       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.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
>       at 
> java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
>       at java.lang.Thread.run(Thread.java:722)
> 2014-09-03 17:55:32,093 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
> (API-Job-Executor-123:ctx-0a86f6fa job-255) Complete async job-255, 
> jobStatus: FAILED, resultCode: 530, result: 
> org.apache.cloudstack.api.response.ExceptionResponse/null/{"uuidList":[],"errorcode":530,"errortext":"CloudStack
>  currently only supports volumes marked as the KVM, VMware, or XenServer 
> hypervisor type for resize."}
> 2014-09-03 17:55:32,102 DEBUG [o.a.c.f.j.i.AsyncJobManagerImpl] 
> (API-Job-Executor-123:ctx-0a86f6fa job-255) Done executing 
> org.apache.cloudstack.api.command.admin.volume.ResizeVolumeCmdByAdmin for 
> job-255
> 2014-09-03 17:55:32,105 INFO  [o.a.c.f.j.i.AsyncJobMonitor] 
> (API-Job-Executor-123:ctx-0a86f6fa job-255) Remove job-255 from job monitoring
> 2014-09-03 17:55:32,898 INFO  [c.c.u.AccountManagerImpl] 
> (AccountChecker-1:ctx-45564dcf) Found 0 removed accounts to cleanup
> 2014-09-03 17:55:32,899 INFO  [c.c.u.AccountManagerImpl] 
> (AccountChecker-1:ctx-45564dcf) Found 0 disabled accounts to cleanup
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to