Comment 10 for bug 1780421

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to tripleo-heat-templates (master)

Reviewed: https://review.openstack.org/613361
Committed: https://git.openstack.org/cgit/openstack/tripleo-heat-templates/commit/?id=48e7aba0bfb116b9370cc337eb966cd27393a7e5
Submitter: Zuul
Branch: master

commit 48e7aba0bfb116b9370cc337eb966cd27393a7e5
Author: Harald Jensås <email address hidden>
Date: Thu Oct 25 17:21:26 2018 +0200

    Do not purge the Ironic Inspector dhcp-hostsdir

    Since the ironic-inspector service and the dnsmasq
    service for ironic-inspector is running in different
    containters, having the ironic-inspector service
    start/stop the dnsmasq service is non-trivial.

    Using `--pid="host"` and making the containers
    priviligeied seems less than ideal.

    This changes the ironic-inspector configuration so
    that it will no longer purge the dhcp-hosts dir on
    intialization. Purging the directory without also
    restarting (or HUP) the dnsmasq service can cause
    the configuration in the DHCP service to deviate
    from what ironic-inspector intend it to be.

    Related-Bug: #1780421
    Depends-On: Icc532115891c567dde20a28110bf08f54187c49f
    Change-Id: Id26b578b57c46f9993459f83b5f90393d7798a82