From 8ed9f7037a1508e741ec618de9c38c3758ac0d3f Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Mon, 14 Apr 2025 14:54:53 +0100 Subject: [PATCH] Fix network configure on Rocky hosts When evaluating the templates, an error is raised failing to load ipaddr. Fix this by bumping the version of MichaelRigart.interfaces. ``` ansible.errors.AnsibleError: template error while templating string: Could not load "ipaddr": 'ipaddr'. ``` NOTE(priteau): Make overcloud upgrade jobs non-voting until RabbitMQ migration issues are resolved. Closes-Bug: #2107335 Change-Id: I17a94a7367c57b37fa01db737f0235472360155a --- ...-rocky-network-templating-d16606de0ea28d2d.yaml | 7 +++++++ requirements.yml | 2 +- zuul.d/project.yaml | 14 ++++++++------ 3 files changed, 16 insertions(+), 7 deletions(-) create mode 100644 releasenotes/notes/fix-rocky-network-templating-d16606de0ea28d2d.yaml diff --git a/releasenotes/notes/fix-rocky-network-templating-d16606de0ea28d2d.yaml b/releasenotes/notes/fix-rocky-network-templating-d16606de0ea28d2d.yaml new file mode 100644 index 000000000..867c69c4c --- /dev/null +++ b/releasenotes/notes/fix-rocky-network-templating-d16606de0ea28d2d.yaml @@ -0,0 +1,7 @@ +--- +fixes: + - | + Bumps MichaelRigart.interfaces to fix an issue where ``kayobe overcloud + host configure`` would fail to template during the networking tasks on + Rocky hosts, with the error ``Could not load "ipaddr"``. + `LP#2107335 `__ diff --git a/requirements.yml b/requirements.yml index 3eb44c145..11b2b0025 100644 --- a/requirements.yml +++ b/requirements.yml @@ -27,7 +27,7 @@ roles: # There are no versioned releases of this role. version: acd08fd126d0e442ab8b3bc518e37761390d8c2f - src: MichaelRigart.interfaces - version: v1.15.4 + version: v1.15.5 - src: mrlesmithjr.chrony version: v0.1.6 - src: mrlesmithjr.manage_lvm diff --git a/zuul.d/project.yaml b/zuul.d/project.yaml index c1ac2b82f..23657b613 100644 --- a/zuul.d/project.yaml +++ b/zuul.d/project.yaml @@ -21,9 +21,14 @@ - kayobe-overcloud-tls-rocky9 - kayobe-overcloud-host-configure-rocky9 - kayobe-overcloud-host-configure-ubuntu-noble - - kayobe-overcloud-upgrade-rocky9 - - kayobe-overcloud-upgrade-ubuntu-noble - - kayobe-overcloud-upgrade-slurp-rocky9 + # TODO(priteau): make this voting again when RabbitMQ migration issues + # are resolved. + - kayobe-overcloud-upgrade-rocky9: + voting: false + - kayobe-overcloud-upgrade-ubuntu-noble: + voting: false + - kayobe-overcloud-upgrade-slurp-rocky9: + voting: false - kayobe-seed-rocky9 - kayobe-seed-rocky9-podman - kayobe-seed-ubuntu-noble @@ -54,9 +59,6 @@ - kayobe-overcloud-tls-rocky9 - kayobe-overcloud-host-configure-rocky9 - kayobe-overcloud-host-configure-ubuntu-noble - - kayobe-overcloud-upgrade-rocky9 - - kayobe-overcloud-upgrade-ubuntu-noble - - kayobe-overcloud-upgrade-slurp-rocky9 - kayobe-seed-rocky9 - kayobe-seed-rocky9-podman - kayobe-seed-ubuntu-noble