config-changed hook fails with enable_livestatus enabled
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Nagios Charm |
Fix Released
|
High
|
Xav Paice |
Bug Description
http://
2019-03-11 20:20:47 INFO juju-log Fixing perms on the socket
2019-03-11 20:20:47 DEBUG config-changed Traceback (most recent call last):
2019-03-11 20:20:47 DEBUG config-changed File "/var/lib/
2019-03-11 20:20:47 DEBUG config-changed enable_
2019-03-11 20:20:47 DEBUG config-changed File "/var/lib/
2019-03-11 20:20:47 DEBUG config-changed os.chown(
2019-03-11 20:20:47 DEBUG config-changed OSError: [Errno 2] No such file or directory: '/var/lib/
In enable_
This results in a hook failure. The application eventually gets to Ready, but this is enough to trip juju wait.
Related branches
- Drew Freiberger (community): Approve
- James Hebden: Pending requested
- Joe Guo: Pending requested
-
Diff: 81 lines (+29/-27)1 file modifiedhooks/upgrade_charm.py (+29/-27)
- James Hebden (community): Approve
- Joe Guo (community): Approve
-
Diff: 81 lines (+29/-27)1 file modifiedhooks/upgrade_charm.py (+29/-27)
Changed in nagios-charm: | |
importance: | Undecided → High |
status: | New → Triaged |
Changed in charm-nagios: | |
assignee: | nobody → Xav Paice (xavpaice) |
Changed in charm-nagios: | |
status: | Fix Committed → Fix Released |
milestone: | none → 21.01 |
I'm unable to find a reproducer for this, it's likely either been fixed by an update since the bug was reported, or I need to get some more info on how to demonstrate this issue.