-
Notifications
You must be signed in to change notification settings - Fork 9.7k
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
Azure provider: blob lease conflict when reprovisioning instances #3109
Comments
+1 I can reproduce by adding the line A simple retry option would be great for working around this.
|
Tested, working |
I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues. If you have found a problem that seems similar to this, please open a new issue and complete the issue template so we can capture all the details necessary to investigate further. |
With azure provide, when you taint an instance and apply terraform again
(so it destroys and creates the instance again), the creation process will
likely fail with the following error:
A lease conflict occurred with the blob http://...
(see below for all output).Reruning after a while works.
I suspect it is because these resources (disk, in this case) are freed asynchronously, and an immediatelly.
Full error output:
Code Example (copied and adapted from here, not really tested):
The text was updated successfully, but these errors were encountered: