service stuck in agent-state pending cannot be terminated

Bug #1237068 reported by David Lawson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
juju-core
New
Undecided
Unassigned

Bug Description

With juju1.14.1-precise-amd64 if a service agent is stuck in the pending state, for example due to an error in installing the charm, that service is essentially unkillable. The service agent clearly appears to know it should be dying but never actually gets to the point where it can die.

2013-10-08 20:24:29 INFO juju runner.go:253 worker: start "uniter"
2013-10-08 20:24:29 INFO juju.worker.uniter uniter.go:83 unit "e-t-daisy-gunicorn/0" started
2013-10-08 20:24:29 INFO juju.worker.uniter.filter filter.go:424 unit is dying
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:408 ModeInit starting
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:29 updating unit addresses
2013-10-08 20:24:29 DEBUG juju.worker.uniter.filter filter.go:467 charm check skipped, unit is dying
2013-10-08 20:24:29 DEBUG juju.worker.uniter.filter filter.go:289 got unit change
2013-10-08 20:24:29 DEBUG juju.worker.uniter.filter filter.go:297 got service change
2013-10-08 20:24:29 DEBUG juju.worker.uniter.filter filter.go:467 charm check skipped, unit is dying
2013-10-08 20:24:29 DEBUG juju.worker.uniter.filter filter.go:313 got relations change
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:52 reconciling relation state
2013-10-08 20:24:29 DEBUG juju.worker.uniter modes.go:410 ModeInit exiting
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:408 ModeContinue starting
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:65 loading uniter state
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:68 charm is not deployed
2013-10-08 20:24:29 DEBUG juju.worker.uniter modes.go:410 ModeContinue exiting
2013-10-08 20:24:29 INFO juju.worker.uniter modes.go:408 ModeInstalling local:precise/gunicorn-1 starting
2013-10-08 20:24:29 INFO juju.worker.uniter uniter.go:230 fetching charm "local:precise/gunicorn-1"
2013-10-08 20:24:29 DEBUG juju.worker.uniter modes.go:410 ModeInstalling local:precise/gunicorn-1 exiting
2013-10-08 20:24:29 INFO juju.worker.uniter uniter.go:112 unit "e-t-daisy-gunicorn/0" shutting down: ModeInstalling local:precise/gunicorn-1: bundle file not found: metadata.yaml
2013-10-08 20:24:29 ERROR juju.worker.uniter.filter filter.go:115 tomb: dying
2013-10-08 20:24:29 ERROR juju runner.go:211 worker: exited "uniter": ModeInstalling local:precise/gunicorn-1: bundle file not found: metadata.yaml
2013-10-08 20:24:29 INFO juju runner.go:245 worker: restarting "uniter" in 3s

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.