Dependency engine logging should provide more information
Bug #1513667 reported by
Charles Butler
This bug affects 16 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical Juju |
Fix Released
|
Critical
|
Alexis Bruemmer | ||
juju-core |
Won't Fix
|
Undecided
|
Unassigned | ||
1.25 |
Fix Released
|
Medium
|
William Reade |
Bug Description
While revving charms, I encountered a situation that spammed failure logs about failing to start the uniter, dependency unavailable - however it gave no context into what was happening, or what restarted/caused the uniter to fail.
unit-swarm-6[3112]: 2015-11-06 00:00:46 WARNING juju.worker.
unit-etcd-0[3120]: 2015-11-06 00:00:47 WARNING juju.worker.
I'll try to reproduce this and attach unit logs + repeatability.
Changed in juju-core: | |
status: | New → Triaged |
importance: | Undecided → Medium |
tags: | added: sts |
tags: | added: kanban-cross-team |
tags: | removed: kanban-cross-team |
tags: | removed: sts |
tags: | added: canonical-bootstack |
tags: | added: canonical-is |
summary: |
- Better error messaging around uniter failure + Dependency engine logging should provide more information |
affects: | juju-core → juju |
Changed in juju: | |
milestone: | 2.0.0 → none |
milestone: | none → 2.0.0 |
Changed in juju-core: | |
status: | New → Won't Fix |
Changed in juju: | |
importance: | High → Critical |
assignee: | nobody → Alexis Bruemmer (alexis-bruemmer) |
milestone: | 2.0.0 → 2.0-beta18 |
Changed in juju: | |
status: | Triaged → Fix Committed |
Changed in juju: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I've encountered this as well, it appears that juju is confused about leader status, since this is a single unit but this is the only thing in the logs. Note that this starter, as far as I can tell, spontaneously, I wasn't logged on to the unit nor was anyone else interacting with it.
2015-12-04 06:45:02 WARNING juju.worker. uniter. operation leader.go:115 we should run a leader-deposed hook here, but we can't yet uniter. filter filter.go:137 tomb: dying dependency engine.go:304 failed to start "uniter" manifold worker: dependency not available
2015-12-04 06:45:04 ERROR juju.worker.
2015-12-04 06:45:04 WARNING juju.worker.
...
That message repeats up until the current time.