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

Error: Error waiting for deletion of HDInsight "Hadoop" Cluster #4499

Closed
dvp236 opened this issue Oct 3, 2019 · 3 comments
Closed

Error: Error waiting for deletion of HDInsight "Hadoop" Cluster #4499

dvp236 opened this issue Oct 3, 2019 · 3 comments

Comments

@dvp236
Copy link

dvp236 commented Oct 3, 2019

Community Note

  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Terraform (and AzureRM Provider) Version

Terraform v0.12.9

Affected Resource(s)

  • HDInsight

Debug Output

When destroying cluster we get below

Error: Error waiting for deletion of HDInsight "Hadoop" Cluster "example-hdinsight" (Resource Group "example-hadoop-rg"): azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/b40a1a90-908080/providers/Microsoft.HDInsight/locations/East%20US/azureasyncoperations/b0d42452-e8ccadsfasdf-sdf-0-r?api-version=2018-06-01-preview: StatusCode=0 -- Original Error: Manually created ServicePrincipalToken does not contain secret material to retrieve a new access token

We also get below issue as well.

Error deleting Resource Group "example-rabbitmq-rg": azure.BearerAuthorizer#WithAuthorization: Failed to refresh the Token for request to https://management.azure.com/subscriptions/b40a1a90-e321-45bsdfs/operationresults/eyJqb2JJZad09VUkNFR1JPVVBERUxFVElPTkpPQi1EUEFURUw6MkREUEFBUzoyRFJBRUFTVFVTIiwiam9iTG9jYXRpb24iOiJlYXN0dXMifQ?api-version=2018-05-01: StatusCode=0 -- Original Error: Manually created ServicePrincipalToken does not contain secret material to retrieve a new access token

Expected Behavior

It should have destroyed resources without complaint.

Actual Behavior

It throws an error and fails to delete some resources. In our case the storage account on the cloud.

Steps to Reproduce

  1. terraform destroy
@tombuildsstuff
Copy link
Contributor

hi @dvp236

Thanks for opening this issue :)

Taking a look through this appears to be a duplicate of #2602 - rather than having multiple issues open tracking the same thing I'm going to close this issue in favour of that one; would you mind subscribing to #2602 for updates?

Thanks!

@dvp236
Copy link
Author

dvp236 commented Oct 3, 2019

Sure. Thanks!

@ghost
Copy link

ghost commented Mar 29, 2020

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 feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Mar 29, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants