We are splitting the ironic-inspector package into RDO into
ironic-inspector itself and its dnsmasq service. This change
updates kolla to install both packages to avoid breakages when
RDO removes mutual dependency between them.
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:
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
/var/lib/ironic-inspector/dhcp-hostsdir to ironic-inspector user to make
This change updates the docker files to use base_package_type instead
of doing specific distro checks for the rhel/deb generic cases. The
base_distro is still available and is used when a specific distro needs
a customization but if the differences are purely rpm vs deb, then the
base_package_type can be used.
Use LABEL instruction instead of MAINTAINER (deprecated) instruc-
tion as suggested by Docker's official dockerfile guide.
This change updates the ironic-inspector image to use the
ironic-inspector user rather than the ironic user to execute the
ironic inspector service as this more closely aligns with what is
typically done by downstream packagers (specifically, Ubuntu and
This change rebases the ironic-inspector image onto the openstack-base
image instead of the ironic-base image. We configure an
ironic-inspector user and use this to execute the ironic-inspector
service. We also configure ironic-inspector to log to
/var/log/kolla/ironic-inspector instead of the previous ironic
Following this change we no longer need the workaround of a
sudoers file for the binary install type that was added in change