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.
** Changed in: charm-nagios
Status: Triaged => Incomplete
--
You received this bug notification because you are a member of Nagios
Charm developers, which is subscribed to Nagios Charm.
https://bugs.launchpad.net/bugs/1819537
Title:
config-changed hook fails with enable_livestatus enabled
Status in Nagios Charm:
Incomplete
Bug description:
http://paste.ubuntu.com/p/qQn2CZSPvY/
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/juju/agents/unit-nagios-0/charm/hooks/config-changed", line 350, in
<module>
2019-03-11 20:20:47 DEBUG config-changed enable_livestatus_config()
2019-03-11 20:20:47 DEBUG config-changed File
"/var/lib/juju/agents/unit-nagios-0/charm/hooks/config-changed", line 106, in
enable_livestatus_config
2019-03-11 20:20:47 DEBUG config-changed os.chown(livestatus_path, uid,
gid)
2019-03-11 20:20:47 DEBUG config-changed OSError: [Errno 2] No such file or
directory: '/var/lib/nagios3/livestatus/socket'
In enable_livestatus_config, it is creating this directory and then
trying to chown livestatus_path, but it doesn't look like anything has
made a socket there. I don't know what is supposed to.
This results in a hook failure. The application eventually gets to
Ready, but this is enough to trip juju wait.
To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-nagios/+bug/1819537/+subscriptions
--
Mailing list: https://launchpad.net/~nagios-charmers
Post to : [email protected]
Unsubscribe : https://launchpad.net/~nagios-charmers
More help : https://help.launchpad.net/ListHelp