I installed a lab of openstack through juju, deployed rabbitmq-server on the same node that holds mysql. but I found that rabbitmq-server
gives unsolvable hook failed
error.
So I tried to destroy the service to deploy it again but it doesn't.
I tried destroy service from juju-gui
and juju destroy-service rabbitmq-server
and it still there. only the unit rabbitmq-server/0 were gone.
Now the service "life" is stuck on "dying"
rabbitmq-server:
charm: cs:precise/rabbitmq-server-16
exposed: true
life: dying
relations:
cluster:
- rabbitmq-server
I connected to the node and didn't find any logs related to rabbitmq at the logs directory. but I found this logs:
/var/log/juju/unit-rabbitmq-server-0.log
2013-12-12 11:16:33 INFO juju.worker.uniter uniter.go:363 committing "stop" hook
2013-12-12 11:16:33 INFO juju.worker.uniter uniter.go:381 committed "stop" hook
2013-12-12 11:16:33 INFO juju.worker.uniter modes.go:421 ModeContinue starting
2013-12-12 11:16:33 INFO juju.worker.uniter modes.go:84 continuing after "stop" hook
2013-12-12 11:16:33 INFO juju.worker.uniter modes.go:421 ModeTerminating starting
2013-12-12 11:16:33 INFO juju.worker.uniter uniter.go:105 unit "rabbitmq-server/0" shutting down: agent should be terminated
2013-12-12 11:16:33 ERROR juju.worker.uniter.filter filter.go:117 tomb: dying
2013-12-12 11:16:33 ERROR juju runner.go:200 worker: fatal "uniter": agent should be terminated
2013-12-12 11:16:33 ERROR juju runner.go:200 worker: fatal "api": agent should be terminated
2013-12-12 11:16:33 INFO juju supercommand.go:286 command finished
Is there anyway to force it to be destroyed completely?