Machine not getting removed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Triaged
|
High
|
Unassigned |
Bug Description
I have a machine that's stuck in a staging model on a 2.4.3 controller (prodstack-is). I've tried `juju remove-machine 21` and `juju remove-machine 21 --force` many times, but the machine is not getting removed. I also tried shutting down the instance and removing it with nova, no luck.
(mojo-stg-
Model Controller Cloud/Region Version SLA Timestamp
stg-omnibus prodstack-is prodstack-
...
Machine State DNS Inst id Series AZ Message
...
21 stopped 10.50.144.24 4a3bb491-
...
Changed in juju: | |
milestone: | none → 2.5-beta1 |
status: | New → Triaged |
importance: | Undecided → High |
Changed in juju: | |
milestone: | 2.5-beta1 → 2.5-beta2 |
Changed in juju: | |
milestone: | 2.5-beta2 → 2.5-beta3 |
Ok, more background on this...
There was storage previously attached to the unit that was placed onto this machine.
I removed the unit, but never removed the storage that was attached to it. The unit went into dying state and eventually removed, but the machine was stuck in a "stopped" state.
I noticed the storage left behind by this unit, removed it, and the machine promptly died and Juju cleaned it up.
So, I think this is still a bug, but there is a potential workaround worth documenting here, in case anyone gets into a similar predicament: if you have a machine that doesn't die, check to make sure the storage that was attached to it is also removed.