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.
Reviewed: https:/ /review. openstack. org/613361 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=48e7aba0bfb 116b9370cc337eb 966cd27393a7e5
Committed: https:/
Submitter: Zuul
Branch: master
commit 48e7aba0bfb116b 9370cc337eb966c d27393a7e5
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 7dde20a28110bf0 8f54187c49f 9993459f83b5f90 393d7798a82
Depends-On: Icc532115891c56
Change-Id: Id26b578b57c46f