-
Notifications
You must be signed in to change notification settings - Fork 5.1k
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
Subnet previously used by deleted api management service cannot be deleted #4409
Comments
@jhendrixMSFT out of interest, is there a rough timeframe for this? |
We need to get the RP engaged. @solankisamir do you own this? |
@jhendrixMSFT yes we own this. If a subnet is not freed, once the API Management service is deleted, this usually means some issue and best would be to open a support case. The subnet is freed by API Management service within 30 minutes of service getting deleted. |
@solankisamir I believe that the subnet is being freed, the question is the semantics of the API. It's returning a 200 which states that the resource has been deleted however this is misleading as the delete is in progress. Should this be modeled as a LRO? @ravbhatnagar do you have any opinion on this? |
@jhendrixMSFT @solankisamir since this issue was originally opened in July 2018 would it be possible to escalate this to the Service Team? Based on this comment it appears the Subnet isn't usable for up to 2 hours during any change to it at the moment, which means we'd have to poll for this long (which I'd like to avoid if possible). Thanks! |
@tombuildsstuff we are committed to fixing this behavior. But this would require a new api-version to not break existing clients. We are working on |
Hi @solankisamir, sounds good. If this will be fixed in version |
We updated the service side code to make DELETE a long-running operation. Will be working through updating the REST spec and the SDKs. This is currently happening on |
@solankisamir - any idea when this will be in the specs? The problem with updating the service side before the specs is that delete operations from clients are now failing as the service is returning 202, which the client can't handle as it isn't in the specs. |
On this note - isn't this technically a breaking change since it didn't previously return this status code and this isn't listed in the Swagger? |
It is indeed - deleting api management from terraform now fails
|
@hbuckle would you mind opening an issue on our side, so we can patch this? |
|
Fair point - I didn't realise Terraform was using the preview API. @tombuildsstuff 2018-01-01 is still returning 200 for deletes |
@solankisamir is there an expected timeline for when the Swagger for 2019-01-01 will be available? @hbuckle thanks for opening that issue/letting us know - @katbyte has updated TF to use the |
ping @solankisamir :) |
@tombuildsstuff we are just wrapping up a couple of changes required for the stable api-version change. Will update the thread asap. Should be done within a week or two. |
@solankisamir cool thanks 👍 |
hey @solankisamir Is there an updated ETA for this? We've got some features blocked which dependent on this new API version:
Thanks! |
yes, the PR is in review now #5568 |
awesome thanks 👍 |
Seems like ApiManagementService_Delete should be a long-running operation.
See Azure/azure-sdk-for-go#2199 for more details.
The text was updated successfully, but these errors were encountered: