Pearl1594 commented on issue #5088: URL: https://github.com/apache/cloudstack/issues/5088#issuecomment-857651627
If the VM was destroyed (not expunged) and an attempt was made to the delete the volume before the expunge interval has elapsed - then yes, deletion of volume fails with the mentioned error. I believe this would be the expected behavior. I tried the above steps and attempted deleting the Volume of a destroyed VM, while it did throw the exception, it did not transition the volume to destroy state; and after the expunge interval / delay the volume gets automatically deleted. @levindecaro Is this consistently happening for all volumes? Would it be possible for you to reduce the expunge.delay and expunge.interval to a few seconds and see if the deletion of volume fails when the expunge job automatically kicks in. If yes, can you please share the logs. Thanks -- 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. For queries about this service, please contact Infrastructure at: [email protected]
