kiranchavala commented on issue #7316:
URL: https://github.com/apache/cloudstack/issues/7316#issuecomment-1459484056

   @swhitman0 
   
   You can try to detach the volume from Cloudstack ui or from the api call 
   
   https://cloudstack.apache.org/api/apidocs-4.17/apis/detachVolume.html
   
   
![detach](https://user-images.githubusercontent.com/1401014/223623322-fdbc9599-deae-45ad-86b8-014480a2d087.png)
   
   From the logs i see that the detachment failed because the vm-node was in 
booting stage 
   ~~~
   2023-03-05 14:18:39,144 ERROR [c.c.v.VmWorkJobHandlerProxy] 
(Work-Job-Executor-92:ctx-3f7cf487 job-1657/job-1658 ctx-d6957fbc) 
(logid:fd682bcf) Invocation exception, caused by: 
com.cloud.utils.exception.CloudRuntimeException: Failed to detach volume 
pvc-0e82d1a8-9af2-40b3-b037-ebcf151febd3 from VM testk8s-node-186b0939378; 
com.cloud.exception.InternalErrorException: Could not detach volume. Probably 
the VM is in boot state at the moment
   ~~~
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to