cannot access '/var/lib/rabbitmq': No such file or directory
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
rabbitmq-server (Juju Charms Collection) |
New
|
Undecided
|
Unassigned | ||
rabbitmq-server (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
For Vivid-Kilo OpenStack deployments, the config-changed hook fails. It looks like either the charm needs to handle a missing /var/lib/rabbitmq path, or the vivid rabbitmq-server package needs to create it.
# from juju stat
units:
rabbitmq-
## rmq unit juju log:
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO unit.rabbitmq-
2015-02-01 23:19:31 INFO juju.worker.
2015-02-01 23:19:31 ERROR juju.worker.uniter uniter.go:608 hook "config-changed" failed: exit status 1
## manually apt-get installing rabbitmq-server on vivid:
Setting up rabbitmq-server (3.4.3-2) ...
Adding group `rabbitmq' (GID 118) ...
Done.
Adding system user `rabbitmq' (UID 111) ...
Adding new user `rabbitmq' (UID 111) with group `rabbitmq' ...
Not creating home directory `/var/lib/
* Starting message broker rabbitmq-server
...done.
Processing triggers for libc-bin (2.19-13ubuntu3) ...
Processing triggers for ureadahead (0.100.0-17) ...
ubuntu@
rabbitmq-server:
Installed: 3.4.3-2
Candidate: 3.4.3-2
Version table:
*** 3.4.3-2 0
500 http://
100 /var/lib/
FYI juju deployment used amd64 images; my manual test inadvertently used the i386 image. I re-confirmed manual apt pkg install with an amd64 vivid image.
Adding system user `rabbitmq' (UID 111) ... rabbitmq' . vivid181213: ~$ apt-cache policy rabbitmq-server nova.clouds. archive. ubuntu. com/ubuntu/ vivid/main amd64 Packages dpkg/status vivid181213: ~$
Adding new user `rabbitmq' (UID 111) with group `rabbitmq' ...
Not creating home directory `/var/lib/
* Starting message broker rabbitmq-server
...done.
Processing triggers for libc-bin (2.19-13ubuntu3) ...
Processing triggers for ureadahead (0.100.0-17) ...
ubuntu@
rabbitmq-server:
Installed: 3.4.3-2
Candidate: 3.4.3-2
Version table:
*** 3.4.3-2 0
500 http://
100 /var/lib/
ubuntu@