From 079a3c07e913001a43fb445f753c98da88d54eb9 Mon Sep 17 00:00:00 2001 From: Roger Luethi Date: Wed, 24 Jun 2026 07:42:56 +0200 Subject: [PATCH] inventory: add neutron 2025.2 service groups kolla-ansible stable/2025.2 split three new, default-enabled services out of neutron-server: neutron-rpc-server, neutron-periodic-worker and neutron-ovn-maintenance-worker. Each carries host_in_groups: "{{ inventory_hostname in groups[''] }}" in its neutron_services entry. Building the haproxy-config with_dict loop templates the entire neutron_services dict, so every entry's host_in_groups is evaluated regardless of whether the service is enabled. When the referenced inventory group is absent, Ansible aborts templating with "'dict object' has no attribute 'neutron-rpc-server'" (the "dict object" is the groups var, not neutron_services). This inventory shipped neutron-server but never gained the three new groups. Add all three groups mapping to control, mirroring neutron-server and matching kolla-ansible stable/2025.2 ansible/inventory/multinode, which also places them under control. Assisted-by: Claude:claude-opus-4-8 Signed-off-by: Roger Luethi --- inventory/51-kolla | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/inventory/51-kolla b/inventory/51-kolla index 11191a0..cace776 100644 --- a/inventory/51-kolla +++ b/inventory/51-kolla @@ -250,12 +250,21 @@ neutron [neutron-ovn-agent:children] compute +[neutron-ovn-maintenance-worker:children] +control + [neutron-ovn-metadata-agent:children] compute [neutron-ovn-vpn-agent:children] network +[neutron-periodic-worker:children] +control + +[neutron-rpc-server:children] +control + [neutron-server:children] control