Skip to content
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

Deleted App Configuration Services are not releasing name #264

Closed
hecflores opened this issue Feb 11, 2020 · 12 comments
Closed

Deleted App Configuration Services are not releasing name #264

hecflores opened this issue Feb 11, 2020 · 12 comments
Assignees
Labels
service Issues related to the AppConfig service

Comments

@hecflores
Copy link

Timeline

  • Latest seen working: 02/06/2020
  • Earliest seen failing: 02/11/2020

Info

  • Region: eastus
  • Sku: Standard
  • Creation Method: ARM template (2019-10-01)

Repo Steps

  1. Create an App Configuration Service using ARM Template
  2. Delete entire resource group containing app configuration service
  3. Create an App Configuration Service (With the same name as step 1)

Expected Results:

  • Creation succeeds

Actual Results:

  • Error: "The specified name is already in use."
@drago-draganov
Copy link
Contributor

@hecflores

AppConfiguration doesn't guarantee releasing the name immediately after deleting of the resource. It's by design.

@hecflores
Copy link
Author

hecflores commented Feb 12, 2020

@drago-draganov
This is causing issues in organizations. If proper DevOps practices are used, naming conventions is what drives consistency.

If we cant be guaranteed a name that was previously removed it causes anti-patterns to be used in DevOps pipelines.

Is there anything in the backlog that will remove this constraint from the service?

Its much like the "configurable" option of Soft Delete for Key Vaults, I propose the same for the app config service.

@drago-draganov
Copy link
Contributor

The name will be released asynchronously.

To rely on name availability after delete is a bit slippery. There is always a gap between delete and create. The race condition window has non-zero width. There is always possibility that the name can be taken in between, even if released synchronously.

Soft delete is in the works.

@zhenlan zhenlan added the service Issues related to the AppConfig service label Feb 12, 2020
@wahyuen
Copy link

wahyuen commented Feb 19, 2020

We have also been experiencing the same issue. While we appreciate that it is done asynchronously, there should be some reasonable expectation that a resource that has been deleted for a number of hours would have released a resource name. If this is not the case, perhaps there should be more documentation/warnings given to end users to indicate this case.

@drago-draganov
Copy link
Contributor

@wahyuen

Absolutely! The name certainly should be available within a few minutes (<< 1 hour). In the past week or so we had to disable releasing the name for a different reason. This week that problem should be addressed and I'm expecting going back to normal.

I do apologize for the inconvenience. Thanks for you patience!

@wahyuen
Copy link

wahyuen commented Feb 19, 2020

@drago-draganov thanks for that. As some feedback, at the time of writing, we are still seeing these name holding issues as of today...7 hours after deletion of the resource in Australia Central region...in case you are expecting it to already be resolved :)

@drago-draganov
Copy link
Contributor

@wahyuen
Unfortunately Australia Central is still not updated. In the next couple of days I expect all regions to be covered. Let me know if need it sooner. :)

@podgito
Copy link

podgito commented Feb 19, 2020

I'm seeing this issue for App Configuration resources deleted days ago in North Europe

@drago-draganov
Copy link
Contributor

@podgito
North Europe update is pending too. I will update the thread once completed.

@drago-draganov
Copy link
Contributor

Rolling the update is completed for Australia East and North Europe regions. It would be great if you check again.

Thanks again for your patience!

@wahyuen
Copy link

wahyuen commented Feb 21, 2020

@drago-draganov name reservation seems to be resolved in Australia East...thanks!

@drago-draganov
Copy link
Contributor

Thanks for confirming, @wahyuen

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
service Issues related to the AppConfig service
Projects
None yet
Development

No branches or pull requests

5 participants