commit 6acca35f5b3a7517881b5d494500e3b67152285d
Author: Mark Goddard <email address hidden>
Date: Fri Jun 7 18:49:46 2019 +0100
Fix ownership of ironic inspector DHCP hostsdir
If you run with enable_ironic set to true and
ironic_inspector_pxe_filter set to dnsmasq (the default in stein),
ironic inspector can fail with the following in the logs:
Reviewed: https:/ /review. opendev. org/666077 /git.openstack. org/cgit/ openstack/ kolla/commit/ ?id=6acca35f5b3 a7517881b5d4945 00e3b67152285d
Committed: https:/
Submitter: Zuul
Branch: stable/stein
commit 6acca35f5b3a751 7881b5d494500e3 b67152285d
Author: Mark Goddard <email address hidden>
Date: Fri Jun 7 18:49:46 2019 +0100
Fix ownership of ironic inspector DHCP hostsdir
If you run with enable_ironic set to true and inspector_ pxe_filter set to dnsmasq (the default in stein),
ironic_
ironic inspector can fail with the following in the logs:
Permission denied: u'/var/ lib/ironic- inspector/ dhcp-hostsdir/ <MAC address>'
A node must be registered with a port for this to happen.
Weirdly this happens on centos/source, ubuntu/source, and ubuntu/binary,
but not centos/binary.
This change changes the ownership of lib/ironic- inspector/ dhcp-hostsdir to ironic-inspector user to make
/var/
it writeable.
Change-Id: I19447727f19dbd 9c0a3e17d218b48 ddc4c253587 066b79804fdce9f 81cc129735)
Closes-Bug: #1832026
(cherry picked from commit 41bcd7b4961fd52