-
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
[Compute] Dedicated Host DELETE API is broken #8137
Comments
@zivraf, could you take a look at this issue? |
Thank you for this feedback. We've looked into the issue as reported and acknowledge the behavior as described. While the fix is not simple, we would like to propose a work around. Assuming you're using the REST calls in order to script the deletion of host and the host group, we recommend making one GET call which should buy you sufficient time. Basically, you can check that the GET returns 404 before attempting to delete the host group. |
@magodo, are you still seeing this issue? From discussions with the team, it looks like this issue should either be fixed, or the problem is something that will need to be debugged by the Azure Resource Manager team as the failure may be occurring due to interactions between the compute resource provider and the resource manager. |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure. |
Moving this issue over to ARM because it sounds like the compute resource provider is doing the right thing here and the issue lies in ARM. |
@magodo This could be happening due to a few reasons. For example, if your DELETE calls hit different ARM regional endpoints, this issue could be due to a discrepancy in the resource state (deleted vs existing) that hasn't yet propagated across regions. It can also be the result of a similar issue with resource state with the Resource Provider, which is Microsoft.Compute in this case. It's difficult for us to thoroughly debug something that occurred so long ago (because of what's easily query-able for us). If you run into this again, please re-open the case and share your correlationId (feel free to email me this info). It'd be great if we could get to the bottom of this edge case. |
The issue still exists and 100% reproducible, the correlationId you asked are listed below:
Please keep this issue open until it is resolved. |
When attempting to delete an dedicated host group and its containing dedicated host via Azure API, the normal control flow failed as illustrated below.
Firstly delete the dedicated host as below:
which returns a Long Running Request as shown below:
Then send one/several GET request against this URL:
which eventually returns
Succeeded
(which should mean that the Dedicated Host no longer exists):At this time - it should be possible to delete the Dedicated Host Group (since there's no items left within it). Attempting to do so:
which fails though:
Would it be possible for someone to look into these bugs?
Thanks!
The text was updated successfully, but these errors were encountered: