inventory: add neutron 2025.2 service groups#599
Merged
Conversation
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['<name>'] }}" 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 <luethi@osism.tech>
This was referenced Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Add three kolla inventory groups to
inventory/51-kolla, all mapping tocontrol(mirroringneutron-server):[neutron-rpc-server:children][neutron-periodic-worker:children][neutron-ovn-maintenance-worker:children]Why
kolla-ansible
stable/2025.2split three new, default-enabled services out ofneutron-server, each carryinghost_in_groups: "{{ inventory_hostname in groups['<name>'] }}". Building the haproxy-configwith_dictloop templates the wholeneutron_servicesdict, so every entry'shost_in_groupsis evaluated; a lookup on a group absent from this inventory aborts templating with'dict object' has no attribute 'neutron-rpc-server'(the "dict object" is thegroupsvar, notneutron_services).This inventory shipped
neutron-serverbut never gained the three new groups, sotestbed-upgrade-stable-next-ubuntu-24.04fails during "Run upgrade" once the 2025.2 neutron role is in play. The failure surfaces onneutron-rpc-serverfirst only because templating stops at the first missing key — the other two groups are the same gap and would surface next.stable/2025.2 ansible/inventory/multinodeplaces all three undercontrol, which this change matches.Context
This is one wall in a 2025.2-upgrade "gauntlet" of new-service wiring deficits: each cleared blocker exposes the next. The immediately preceding wall was the keystone-httpd image (
'docker_image_url' is undefined). Image overrides for these neutron services already exist inosism/defaults; this closes the remaining inventory-group side.Timeline (observed)
docker_image_urlundefined) — before neutronneutron-rpc-servergroup) — first reachedCaveat
Won't go quiet until merged and the nightly manager picks up the new
osism.genericstag via gilt. Clearing neutron may expose whatever is immediately downstream — but the static wiring gap is closed here.