-
Notifications
You must be signed in to change notification settings - Fork 4
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
mist_device_gateway_cluster not removing devices on a destroy #67
Comments
added for tracking purposes and comms, thanks @tmunzer |
Hi @zbuchheit, The only way I found to replicate the issue was to remove the devices part of the cluster from the However, I'm bringing changes to the |
Improve the creation resource behavior when one of both of the cluster nodes already belong to a cluster. The provider will no more raise an error when the existing cluster in the Mist Cloud is matching the planned cluster (same primary node, same secondary node).
hmm makes sense. I think that improvement would be a welcomed one and help fix a potential broken scenario |
Hi @zbuchheit , I did some testing with SRX cluster, and when the resource is deleted by Terraform (meaning the cluster is deleted on the Mist side), Mist is sending all the required commands to unconfigure the VC on the devices and reboot them. This means when the devices are back online, it is possible to recreate the VC with Terraform. Let me know if I can close this issue or if you want to perform additional tests. Regards, |
let me see if I can investigate further as to what happened, otherwise we may be able to close the issue. As always thanks for your diligence and work to fix things! |
Describe the bug
When attempting to destroy a gateway_cluster it seems the devices are being left in the cluster and causes a subsequent apply to fail with the devices still part of the cluster
To Reproduce
Steps to reproduce the behavior:
TODO
Expected behavior
I would expect for the devices to be removed from the cluster and running an
apply
to re-create the cluster successfullyError Message
If applicable, add screenshots or paste the Terraform error message to help explain your problem.
Software
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: