Closed irifed closed 9 years ago
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.
SoftLayer.exceptions.SoftLayerAPIError: SoftLayerAPIError(SoftLayer_Exception_Public): This cancellation could not be processed please contact support.This cancellation could not be processed please contact support. There is currently 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:
Computing instance (vagranttest5.<mydomain>) cannot be upgraded due to the incorrect billing information. Please contact sales.
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 manage.softlayer.com
portal when trying to view the deleted vm details and in the control.softlayer.com
portal it does show the vm details but it does not allow me to delete it even though I have pretty much all permissions available on my account.
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 vagrant destroy
is working normally today
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 withvagrant destroy
. Am I missing something?..