Unable to destroy service/machine/unit
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Won't Fix
|
Low
|
Unassigned |
Bug Description
1.24-beta5-
I haven't been able to reproduce this since, but somehow my local (lxc) environment ended up in a broken state.
I deployed mysql and before it was done installing I ran
`juju destroy-service mysql`
It put the service in 'dying' state but never came out.
When I ran
`juju destroy-machine --force 4`
nothing changed.
When I tried to destroy the unit I got the following error
`juju destroy-unit mysql/0`
"ERROR no units were destroyed: state changing too quickly; try again soon"
The machine 4's log didn't have anything out of the ordinary except this final line
"FATAL: Could not load /lib/modules/
At this point there was nothing I could do to get the environment back into a functional state and had to destroy it.
Sorry there isn't much here but hopefully these error messages allow someone to work backwards to find the root cause.
description: | updated |
tags: | added: destroy-machine local-provider lxc |
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in juju-core: | |
importance: | Medium → Low |
Changed in juju-core: | |
status: | Triaged → Won't Fix |
This happened to me as well. Had to go into the mongo database and manually change the workload status from maintenance to error. After which I was able to destroy the unit. I will try to reproduce and post logs.