From 9d3dcaae10eced90634932722a872ec647eda821 Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Wed, 24 Jun 2026 11:34:12 +0200 Subject: [PATCH] inventory: add ironic-dnsmasq service group kolla-ansible stable/2025.2 ships an ironic-dnsmasq inventory group in ansible/inventory/multinode, but this inventory never gained it. The ironic role dereferences groups['ironic-dnsmasq'] unconditionally: it appears as "groups['ironic-dnsmasq'] | length > 0" in the ironic config.yml and precheck.yml when-conditions and in the ironic-http and ironic-tftp container config templates. These expressions are evaluated on every ironic deployment, before any enable check. When the referenced inventory group is absent, Ansible aborts with "'dict object' has no attribute 'ironic-dnsmasq'" (the "dict object" is the groups var). This breaks every ironic-enabled deployment; only setups that do not deploy ironic (e.g. the virtualized testbed) are unaffected. Add the group as a child of ironic, mirroring kolla-ansible stable/2025.2 ansible/inventory/multinode, which also places it there. This is the same class of fix as commit 62b6274 (neutron 2025.2 service groups). Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Roger Luethi --- inventory/51-kolla | 3 +++ 1 file changed, 3 insertions(+) diff --git a/inventory/51-kolla b/inventory/51-kolla index cace776..9bb8637 100644 --- a/inventory/51-kolla +++ b/inventory/51-kolla @@ -148,6 +148,9 @@ ironic [ironic-conductor:children] ironic +[ironic-dnsmasq:children] +ironic + [ironic-http:children] ironic