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

terraform fail to destroy maas_instance when disk erase set to default in MAAS #260

Open
noama-nv opened this issue Feb 11, 2025 · 0 comments
Labels
bug Something isn't working good first issue Good for newcomers triaged Triaged to be addressed in a given cycle

Comments

@noama-nv
Copy link

PSB expected status after release is the machine to be ready seems like any other status considered as bad
please add this stage as optional in transitioning from deployed to Ready so that the delete timeout is really effective

maas_instance.controllers[0]: Destroying... [id=b4qqxb]
maas_instance.workers[0]: Destroying... [id=6bwhkd]
maas_instance.workers[1]: Destroying... [id=4pdmwt]
maas_instance.workers[1]: Still destroying... [id=4pdmwt, 10s elapsed]
maas_instance.workers[0]: Still destroying... [id=6bwhkd, 10s elapsed]
maas_instance.controllers[0]: Still destroying... [id=b4qqxb, 10s elapsed]
maas_instance.controllers[0]: Destruction complete after 11s
maas_instance.workers[0]: Still destroying... [id=6bwhkd, 20s elapsed]
maas_instance.workers[1]: Still destroying... [id=4pdmwt, 20s elapsed]
maas_instance.workers[0]: Still destroying... [id=6bwhkd, 30s elapsed]
maas_instance.workers[1]: Still destroying... [id=4pdmwt, 30s elapsed]
maas_instance.workers[1]: Still destroying... [id=4pdmwt, 40s elapsed]
maas_instance.workers[0]: Still destroying... [id=6bwhkd, 40s elapsed]
maas_instance.workers[1]: Still destroying... [id=4pdmwt, 50s elapsed]
maas_instance.workers[0]: Still destroying... [id=6bwhkd, 50s elapsed]
╷
│ Error: unexpected state 'Disk erasing', wanted target 'Ready'. last error: %!s(<nil>)
│ 
│ 
╵
╷
│ Error: unexpected state 'Disk erasing', wanted target 'Ready'. last error: %!s(<nil>)
│ 
│ 
╵
Releasing state lock. This may take a few moments...
@skatsaounis skatsaounis added bug Something isn't working good first issue Good for newcomers triaged Triaged to be addressed in a given cycle labels Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers triaged Triaged to be addressed in a given cycle
Projects
None yet
Development

No branches or pull requests

2 participants