-
Notifications
You must be signed in to change notification settings - Fork 15
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
"vagrant destroy" does not destroy SoftLayer virtual server #43
Comments
Hi @irifed, can you verify there is no pending transaction for that server in the portal. I dont think the destroy actually waits for the transaction if I recall correctly, ill have to double check later, so it could be a delayed destroy on SL side. |
@irifed @ju2wheels: You are correct. The cancellation request will fail if there is an active transaction already on the target VM. The API should return an error to let you know there is an active transaction.
If this is being caused by an active transaction you will have to have the client code wait and retry, or have the user retry at a later time. |
I deleted a vm this morning myself and just went back to the portal to verify that it was gone and its not, however I cant view the details of that vm in the portal either, I get:
I wasnt actually trying to upgrade it over the portal, just clicking the vm hostname link to show the details from the Computing listing page. @underscorephil: any exceptions from the API would have been raised and reported by vagrant in the above case. I also didnt get any exception when deleting my vm so I dont think its related to any pending transaction on the vm. |
I opened Ticket # 15610512, I get the above error in the The API itself is not returning any exceptions. |
@ju2wheels @irifed I took a peek at the ticket and worked with our support and customer service departments a bit on this. It seems that what you have run into is an edge case where in some situations a cancellation will take longer than expected to process and the virtual guest object is not removed until the process is complete. Our support group has escalated this to the dev team and hopefully we may be able to find an elegant way to handle these situations. The specific server mentioned in the ticket should be canceled fully now. |
@underscorephil , thanks - I confirm that |
Hi, I've noticed today that
vagrant destroy
command stopped destroying virtual servers on SoftLayer:After
vagrant destroy
vagrant status
reports that machine is not created, no errors were displayed butsl vs list
command shows that virtual server is running.Previously I did not have problems with
vagrant destroy
.Am I missing something?..
The text was updated successfully, but these errors were encountered: