Deploy with livestatus results in error

Bug #1923407 reported by Xav Paice
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Nagios Charm
Xav Paice

Bug Description

If cs:nagios-42 is deployed (bionic) with enable_livestatus=True, the charm immediately fails due to no livestatus socket. If you then retry the config-changed hook, the hook is successful.

This should be picked up in functests, seems to be a race between livestatus package installation, enabling in Nagios config, and the part of the charm that fixes the permissions on the livestatus socket.

Related branches

Revision history for this message
Xav Paice (xavpaice) wrote :

Seems this is only an issue when Nagios is related to thruk-agent, maybe because the package install is handled at a different time.

Changed in charm-nagios:
status: New → In Progress
assignee: nobody → Xav Paice (xavpaice)
Xav Paice (xavpaice)
Changed in charm-nagios:
milestone: none → 21.07
Xav Paice (xavpaice)
Changed in charm-nagios:
status: In Progress → Fix Committed
Xav Paice (xavpaice)
Changed in charm-nagios:
status: Fix Committed → Fix Released
milestone: 21.07 → 21.04
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers