You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cloudstack.apache.org by "Likitha Shetty (JIRA)" <ji...@apache.org> on 2015/04/28 06:16:07 UTC

[jira] [Created] (CLOUDSTACK-8411) Volume is stuck in Copying state after a failed attach

Likitha Shetty created CLOUDSTACK-8411:
------------------------------------------

             Summary: Volume is stuck in Copying state after a failed attach
                 Key: CLOUDSTACK-8411
                 URL: https://issues.apache.org/jira/browse/CLOUDSTACK-8411
             Project: CloudStack
          Issue Type: Bug
      Security Level: Public (Anyone can view this level - this is the default.)
          Components: Volumes
            Reporter: Likitha Shetty
            Assignee: Likitha Shetty
             Fix For: 4.6.0


+Steps to reproduce+
1. Deploy a VMware setup.
2. Upload an OVA volume to CS that is incompatible with the ESXi host.
3. Attempt to attach the uploaded volume to a VM.
4. Attach will fail because of the incompatibility and the volume will remain in Copying state.
5. Trying to delete the volume will result in the below error -
{noformat}
2015-04-23 13:58:33,131 DEBUG [o.a.c.s.v.VolumeObject] (catalina-exec-6:ctx-dc092088 ctx-4e53aa0e) (logid:71d41bd9) Failed to transit volume: 22, due to: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state from Copying via DestroyRequested
2015-04-23 13:58:33,131 WARN  [c.c.s.VolumeApiServiceImpl] (catalina-exec-6:ctx-dc092088 ctx-4e53aa0e) (logid:71d41bd9) Failed to expunge volume:
com.cloud.utils.exception.CloudRuntimeException: Failed to transit volume: 22, due to: com.cloud.utils.fsm.NoTransitionException: Unable to transition to a new state from Copying via DestroyRequested
        at org.apache.cloudstack.storage.volume.VolumeObject.stateTransit(VolumeObject.java:190)
        at org.apache.cloudstack.storage.volume.VolumeServiceImpl.destroyVolume(VolumeServiceImpl.java:761)
        at com.cloud.storage.VolumeApiServiceImpl.deleteVolume(VolumeApiServiceImpl.java:1203)
        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 $Proxy186.deleteVolume(Unknown Source)
        at org.apache.cloudstack.api.command.user.volume.DeleteVolumeCmd.execute(DeleteVolumeCmd.java:85)
        at com.cloud.api.ApiDispatcher.dispatch(ApiDispatcher.java:150)
        at com.cloud.api.ApiServer.queueCommand(ApiServer.java:723)
        at com.cloud.api.ApiServer.handleRequest(ApiServer.java:548)
        at com.cloud.api.ApiServlet.processRequestInContext(ApiServlet.java:282)
        at com.cloud.api.ApiServlet$1.run(ApiServlet.java:120)
        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 com.cloud.api.ApiServlet.processRequest(ApiServlet.java:117)
        at com.cloud.api.ApiServlet.doGet(ApiServlet.java:79)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
        at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
        at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
        at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
        at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:555)
        at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
        at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
        at org.apache.coyote.http11.Http11NioProcessor.process(Http11NioProcessor.java:889)
        at org.apache.coyote.http11.Http11NioProtocol$Http11ConnectionHandler.process(Http11NioProtocol.java:721)
        at org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.run(NioEndpoint.java:2268)
        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)
{noformat}



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