aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Szumski <will@stackhpc.com>2024-02-22 13:20:39 +0000
committerWill Szumski <will@stackhpc.com>2024-02-22 15:43:36 +0000
commit832a6381c314c947abbb6409122ddc8aa044e7f9 (patch)
treeb68d976af0a6a57b5c100c81dde20d1c3a5fa104
parent756ee984c3c761514115c342e7cba9a3cb533d02 (diff)
downloadkolla-832a6381c314c947abbb6409122ddc8aa044e7f9.tar.gz
kolla-832a6381c314c947abbb6409122ddc8aa044e7f9.zip
Install ironic-inspector in bifrost
Bifrost has moved to use the native in-band inspection support in Ironic[1]. Some features are missing (such as introspection rules), so it may still be desirable to use ironic-inspector for these use cases. It also requires changes to the inspection interface of the ironic nodes (ironic-inspector -> agent), so it also desirable to support ironic-inspector for backwards compatability reasons. We should consider dropping ironic-inspector once the native interface reaches feature parity. This will install ironic-inspector into the image, but will still require configuration in bifrost.yml to use it. [1] https://github.com/openstack/bifrost/commit/dcbf1d98b92236be7e4b9d89169a66892127e63b Change-Id: I3cc8455647339c67ba51620d5aff8a3acbf58dab Partial-Bug: #2054685
-rw-r--r--docker/bifrost/bifrost-base/Dockerfile.j21
-rw-r--r--releasenotes/notes/reenable-ironic-inspector-in-bifrost.yml-5e01af1e96528c62.yaml6
2 files changed, 7 insertions, 0 deletions
diff --git a/docker/bifrost/bifrost-base/Dockerfile.j2 b/docker/bifrost/bifrost-base/Dockerfile.j2
index b44668726..bfe31dbbf 100644
--- a/docker/bifrost/bifrost-base/Dockerfile.j2
+++ b/docker/bifrost/bifrost-base/Dockerfile.j2
@@ -47,6 +47,7 @@ RUN echo " " && \
/bifrost/playbooks/install.yaml \
-e git_branch={{ openstack_branch_slashed }} \
-e ipa_upstream_release={{ openstack_branch }} \
+ -e enable_inspector=true \
-e @/tmp/build_arg.yml && \
{%- if base_package_type == 'deb' %}
apt-get clean && rm -rf /var/lib/apt/lists/*'
diff --git a/releasenotes/notes/reenable-ironic-inspector-in-bifrost.yml-5e01af1e96528c62.yaml b/releasenotes/notes/reenable-ironic-inspector-in-bifrost.yml-5e01af1e96528c62.yaml
new file mode 100644
index 000000000..7dcf4fb51
--- /dev/null
+++ b/releasenotes/notes/reenable-ironic-inspector-in-bifrost.yml-5e01af1e96528c62.yaml
@@ -0,0 +1,6 @@
+---
+fixes:
+ - |
+ Re-enables ironic-inspector in bifrost for backwards compatability. See
+ `LP#2054685 <https://bugs.launchpad.net/kolla/+bug/2054685>`_ for more
+ details.