Hello!
I am unable to destroy a model and its machines. It contained a working cdk cluster, after running juju destroy-model it removed the applications but not the machines, and the containers are still running there.
I tried with remove-machine --force, tried rebooting the controller, nothing happens. I am on MaaS. If I release or delete the machines manually, how can I clean up the model in the controller?
Thanks
$ juju status
Model Controller Cloud/Region Version SLA Timestamp Notes
conjure-canonical-kubern-194 conjure-up-dcmaas-d96 dcmaas 2.5.0 unsupported 17:00:01Z attempt 8 to destroy model failed (will retry): model not empty, found 8 machines (model not empty)
Machine State DNS Inst id Series AZ Message
0 stopped 10.66.100.130 n3acer bionic default Deployed
1 stopped 10.66.100.131 xewaft bionic default Deployed
4 stopped 10.66.100.134 n478qp bionic default Deployed
5 stopped 10.66.100.136 qms8bh bionic default Deployed
7 stopped 10.66.100.139 8agg4b bionic default Deployed
8 stopped 10.66.100.135 ctwwtq bionic default Deployed
9 stopped 10.66.100.137 tmffx6 bionic default Deployed
12 stopped 10.66.100.140 6mp4ss bionic default Deployed
juju debug-log
[...]
unit-kubernetes-worker-2: 16:28:23 ERROR juju.worker.dependency "upgrader" manifold worker returned unexpected error: cannot set agent version: unit "kubernetes-worker/2" not found
unit-kubernetes-worker-0: 16:28:23 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: failed to initialize uniter for "unit-kubernetes-worker-0": unit "kubernetes-worker/0" not found
unit-kubernetes-worker-5: 16:28:24 ERROR juju.worker.dependency "upgrader" manifold worker returned unexpected error: cannot set agent version: unit "kubernetes-worker/5" not found
unit-kubernetes-worker-0: 16:28:24 ERROR juju.worker.dependency "upgrader" manifold worker returned unexpected error: cannot set agent version: unit "kubernetes-worker/0" not found
unit-kubernetes-worker-2: 16:28:24 ERROR juju.worker.dependency "meter-status" manifold worker returned unexpected error: unit "kubernetes-worker/2" not found
unit-kubernetes-worker-1: 16:28:24 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: failed to initialize uniter for "unit-kubernetes-worker-1": unit "kubernetes-worker/1" not found
unit-kubernetes-worker-2: 16:28:24 ERROR juju.worker.dependency "uniter" manifold worker returned unexpected error: failed to initialize uniter for "unit-kubernetes-worker-2": unit "kubernetes-worker/2" not found