From 832a6381c314c947abbb6409122ddc8aa044e7f9 Mon Sep 17 00:00:00 2001 From: Will Szumski Date: Thu, 22 Feb 2024 13:20:39 +0000 Subject: 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 --- docker/bifrost/bifrost-base/Dockerfile.j2 | 1 + .../reenable-ironic-inspector-in-bifrost.yml-5e01af1e96528c62.yaml | 6 ++++++ 2 files changed, 7 insertions(+) create mode 100644 releasenotes/notes/reenable-ironic-inspector-in-bifrost.yml-5e01af1e96528c62.yaml 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 `_ for more + details. -- cgit v1.2.3