-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[REST API] Delete OCCI infrastructure: Volume deleting returns forbidden and takes too long #658
Comments
Hi @victorsndvg , This process is made because the disks cannot be deleted until the VM is totally terminated. Best regards. |
I have updated the 1.7.4-dev docker image version to add this patch. |
I have tested a little this version. I've to say that in general is much more faster than 1.7.3. Great! My particular problem while deleting volumes still there. The logs show the same messages. It finishes with a timeout after 5 minutes of trying to delete de volume:
I wonder if the "Forbidden" keyword is more relates with 403 error code (I saw it in the rocci-http-api web page, but I'm not able to find it again). What do you think? Thanks anyway! :) |
You are right I have to add also the 403 code. |
I have updated, again, the 1.7.4-dev docker image version to add the last patch. |
Perfect, It works! Now logs are more clean and removing VMs seems more agile. Logs look like this now:
Thanks @micafer ! |
Thanks you to test it. |
Hi IM team,
I'm using IM REST API to try to manage deployment and undeployment of single virtual machines using an OCCI endpoint.
When I undeploy the virtual machine it tries to remove the attached volumes (in my case only disk.0, I'm not the owner of the disk) in a loop and it can take minutes.
The debug output I get is the following:
Is there a way to reduce the timeout or to catch "forbidden" (or other 40X-50X errors) to not try to delete it again?
Thanks in advance!
The text was updated successfully, but these errors were encountered: