destroy-controller fails on microk8s
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
Low
|
Unassigned |
Bug Description
I'm running the following versions:
$ snap list microk8s
Name Version Rev Tracking Publisher Notes
microk8s v1.17.3 1214 stable canonical✓ classic
$ snap list juju
Name Version Rev Tracking Publisher Notes
juju 2.8-beta1+
I've created a k8s controller, and deployed a charm into the model. I then saw a config-changed hook error, so decided to destroy the controller (I'm iterating on developing a charm locally). However, it's still running approximately 15 minutes later:
$ juju status -m is-pd-bot
Model Controller Cloud/Region Version SLA Timestamp
is-pd-bot micro microk8s/localhost 2.8-beta1 unsupported 13:33:45+01:00
App Version Status Scale Charm Store Rev OS Address Notes
pd-bot error 1 pd-bot local 0 kubernetes hook failed: "config-changed"
Unit Workload Agent Address Ports Message
pd-bot/0* error idle hook failed: "config-changed"
$ juju destroy-model is-pd-bot
WARNING! This command will destroy the "is-pd-bot" model.
This includes all containers, applications, data and other resources.
Continue [y/N]? y
Destroying model
Waiting for model to be removed, 1 application(
.......
.......
.......
.......
.......
Checking microk8s the operator pod is still running:
$ microk8s.kubectl get pods --all-namespaces
NAMESPACE NAME READY STATUS RESTARTS AGE
container-registry registry-
controller-micro controller-0 2/2 Running 1 25m
is-pd-bot pd-bot-operator-0 1/1 Running 0 15m
kube-system coredns-
kube-system hostpath-
Changed in juju: | |
milestone: | 2.8-beta1 → 2.8.1 |
Changed in juju: | |
milestone: | 2.8.1 → 2.8-next |
Running juju status in a separate window I see "attempt 1 to destroy model failed (will retry): model not empty, found 1 application (model not empty)", fwiw.