[18.05] config-changed fails on rsyncing a nagios check due to a non-existing target dir (nrpe is not installed)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack RabbitMQ Server Charm |
Fix Released
|
High
|
Edward Hope-Morley |
Bug Description
Single-unit rabbitmq-server, no nagios or nrpe in the model
App Version Status Scale Charm Store Rev OS Notes
rabbitmq-server 3.6.10 error 1 rabbitmq-server jujucharms 77 ubuntu
Unit Workload Agent Machine Public address Ports Message
rabbitmq-server/0* error idle 2/lxd/5 10.232.6.197 hook failed: "config-changed"
juju config rabbitmq-server | pastebinit
http://
juju debug-log -i rabbitmq-server/0 --replay | pastebinit
http://
unit-rabbitmq-
unit-rabbitmq-
unit-rabbitmq-
unit-rabbitmq-
unit-rabbitmq-
unit-rabbitmq-
unit-rabbitmq-
ubuntu@
File: '/var/lib/
Size: 3330 Blocks: 8 IO Block: 4096 regular file
Device: 801h/2049d Inode: 4983339 Links: 1
Access: (0755/-rwxr-xr-x) Uid: ( 0/ root) Gid: ( 0/ root)
Access: 2018-08-09 00:40:35.373994726 +0000
Modify: 2018-08-09 00:40:35.373994726 +0000
Change: 2018-08-09 00:40:35.373994726 +0000
Birth: -
ubuntu@
stat: cannot stat '/usr/local/
ubuntu@
rsync: change_dir#3 "/usr/local/
rsync error: errors selecting input/output files, dirs (code 3) at main.c(712) [Receiver=3.1.1]
ubuntu@
1
Changed in charm-rabbitmq-server: | |
milestone: | none → 18.11 |
assignee: | nobody → Edward Hope-Morley (hopem) |
tags: | added: stable-backport |
Changed in charm-rabbitmq-server: | |
importance: | Undecided → High |
Changed in charm-rabbitmq-server: | |
status: | Fix Committed → Fix Released |
This is quite problematic in conjunction with this behavior in Juju https:/ /bugs.launchpad .net/juju/ +bug/1786165
workaround:
# juju ssh <unit> sudo -i 06074d- 2-lxd-6: ~# mkdir -p /usr/local/ lib/nagios/ plugins/
root@juju-
# juju resolved <unit>