nagios-charmers team mailing list archive
-
nagios-charmers team
-
Mailing list archive
-
Message #00317
[Bug 1819537] [NEW] config-changed hook fails with enable_livestatus enabled
Public bug reported:
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.
** Affects: nagios-charm
Importance: Undecided
Status: New
** Tags: cdo-qa foundations-engine
--
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:
New
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/nagios-charm/+bug/1819537/+subscriptions
Follow ups
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Linda Guo, 2021-02-23
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Drew Freiberger, 2020-10-30
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Drew Freiberger, 2020-10-29
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Launchpad Bug Tracker, 2020-10-29
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Launchpad Bug Tracker, 2020-10-01
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Launchpad Bug Tracker, 2020-10-01
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Xav Paice, 2020-09-30
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Launchpad Bug Tracker, 2020-05-01
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Xav Paice, 2020-03-01
-
[Bug 1819537] Re: config-changed hook fails with enable_livestatus enabled
From: Junien Fridrick, 2019-06-06