We obvserve errors "DriverLoadError: Driver, hardware type or interface
ilo-pxe could not be loaded" as it uses the host level access to
/var/lib/ironic, which is owned by root. When we have the
host/container(s) shared access to a bind mounted dir, it needs to be
shared instead of the default private mode.
Additionally, fix the missing /var/lib/ironic ownership change in
the ironix-pxe's kolla config.
Reviewed: https:/ /review. openstack. org/584265 /git.openstack. org/cgit/ openstack/ tripleo- heat-templates/ commit/ ?id=90a7a22f157 b0f50d024d730e8 b97ba268bc58ad
Committed: https:/
Submitter: Zuul
Branch: master
commit 90a7a22f157b0f5 0d024d730e8b97b a268bc58ad
Author: Bogdan Dobrelya <email address hidden>
Date: Fri Jul 20 10:45:34 2018 +0300
Fix containerized ironic bind-mounts
We obvserve errors "DriverLoadError: Driver, hardware type or interface lib/ironic, which is owned by root. When we have the container( s) shared access to a bind mounted dir, it needs to be
ilo-pxe could not be loaded" as it uses the host level access to
/var/
host/
shared instead of the default private mode.
Additionally, fix the missing /var/lib/ironic ownership change in
the ironix-pxe's kolla config.
Related-bug: #1782267
Change-Id: I5ad4956174346f 024945852da09f3 841c3378c2b
Signed-off-by: Bogdan Dobrelya <email address hidden>