Comment 13 for bug 1882557

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-hacluster (master)

Reviewed: https://review.opendev.org/740979
Committed: https://git.openstack.org/cgit/openstack/charm-hacluster/commit/?id=24fa642247b0692de387df417b7862ee450e15b9
Submitter: Zuul
Branch: master

commit 24fa642247b0692de387df417b7862ee450e15b9
Author: Alex Kavanagh <email address hidden>
Date: Tue Jul 14 09:58:50 2020 +0100

    Fix directory /etc/nagios/nrpe.d/ issue

    Under certain deployment conditions, the charm can attempt to write to
    the /etc/nagios/nrpe.d/ directory before it exists. This directory is
    created by the nrpe charm, but if the hacluster (this charm) gets
    installed first, then it can be triggered to attempt to set up the nrpe
    entries before the directory can be created by nrpe. This change (and
    the associated charm-helpers change) ensures that the charm will delay
    the nrpe config until the directory is available (and thus, the nrpe
    charm is fully installed)

    Related charm-helpers: https://github.com/juju/charm-helpers/pull/492

    Change-Id: Ibcbb5f56205b72c475807e3c34c64a00844908f4
    Closes-Bug: #1882557