killing instance outside of juju, doesn't get noticed
Bug #1205451 reported by
Sidnei da Silva
This bug affects 4 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
juju-core |
Fix Released
|
High
|
Frank Mueller |
Bug Description
One frequent problem that I have with canonistack is that sometimes an instance will be stuck in 'BUILD' state, waiting for a resource that is not available (eg, a fixed ip address when the dhcp pool is exausted).
In pyjuju i would just kill that instance outside of juju (eg, nova delete) and juju would promptly launch a new one.
In gojuju, i killed the instance and juju status still lists it as pending, hasn't tried to fire up a new one.
Related branches
lp://staging/~themue/juju-core/055-apiserver-heartbeat-analyzing
- Juju Engineering: Pending requested
-
Diff: 232 lines (+131/-14)4 files modifiedstate/apiserver/admin.go (+1/-1)
state/apiserver/export_test.go (+2/-0)
state/apiserver/root.go (+102/-13)
state/apiserver/root_test.go (+26/-0)
tags: | added: state-server |
tags: |
added: cts-cloud-review removed: cts |
Changed in juju-core: | |
milestone: | none → 1.17.0 |
assignee: | nobody → Frank Mueller (themue) |
status: | Triaged → In Progress |
Changed in juju-core: | |
status: | In Progress → Fix Committed |
Changed in juju-core: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
In some ways, this issue overlaps with bug 1089291 -- juju couldn't be used to terminate the machine. I think this bug needs to remain separate since users can always used their provider to terminate an instance and we expect Juju to notice.