Why a small change creates a large workload¶
Why a small change can create a large workload in Kolla-Ansible 2025.1: seven small changes, each with why it is large and the source lines and sections that show it. The seven rows of 2024.1 still hold, two of them smaller because loop-notify is gone (Tags §2.4). The per-host work that every run pays, independently of restarts, closes the page.

| Small change | Why it is large | Source |
|---|---|---|
| One option for nova-compute | /etc/ targets every compute, all at once with the default serial 0 (and reconfigure cannot be batched, R32). Changed in 2025.1: only nova_compute restarts; nova_libvirt and nova_ssh keep running, since their files did not change. The same option in /etc/ is merged into that host's nova-compute/ only, so it reaches one compute |
nova.yml:125-147; roles/ (sources at :129, :131); roles/; roles/; Tags §2.4; Reconfigure Nova §3 |
enable_<new service>: yes |
changes fluentd/logrotate on every host (at the next run of the common play: no tag or -t common) and nova.conf sections on every compute (e.g. [barbican]) |
roles/, roles/; site.yml:88-103; roles/; Reconfigure Nova §3 |
| One extra controller | changes the transport URL in every messaging service everywhere | group_vars/, :284; Change control-plane membership §2 |
| A server-side ML2 option | still does not reach the agents: ml2_conf.ini (and its overrides) is rendered for neutron-server and neutron-infoblox-ipam-agent only, and openvswitch_agent.ini does not merge the ml2_conf.ini overrides. A file added under neutron/ in the custom config is still copied to every Open vSwitch agent (and to neutron-server) and restarts them; the Linux bridge agent is gone in 2025.1 |
roles/, :152-164, :12-18, :377-396; Reconfigure Neutron §3 |
| Rebuilt image of one service | once the new image is on the host (a same-tag rebuild needs an explicit pull), the containers of that image are recreated on every host that runs them. Changed in 2025.1: their siblings on the same host no longer restart, since the shared check notifies only the containers whose comparison changed |
module_utils/ (Podman: module_utils/); roles/; Update container images §2; F4 |
Any OpenStack API service -t <svc> |
runs the service's include in the loadbalancer play (haproxy configuration, and the service's block of external-frontend-map when haproxy_single_external_frontend is set, default false) and Keystone registration even with no change. Changed in 2025.1: the new frontend is written but HAProxy is not restarted until a run with -t haproxy or no tag (F18). It does not run common, since no role has a meta directory and the common play is tagged common only; the DB sync runs on every deploy and, for most services, on every reconfigure. Neutron too: its bootstrap (neutron-db-manage ... upgrade head) has no kolla_action condition and runs on every deploy and reconfigure. Infrastructure tags such as -t haproxy run the loadbalancer play, whose 38 service includes are all evaluated and run for the enabled services, but no Keystone registration or DB sync |
Reconfigure Neutron §2, Reconfigure a single service §2; site.yml:88-103, :105-328 (final check at :319-324); roles/, group_vars/; roles/, roles/, roles/; kolla docker/ |
One container-engine option (docker_graceful_timeout, docker_client_timeout, docker_restart_policy, docker_restart_policy_retry) |
the value goes into docker_common_options, which every container task passes, and into the systemd unit text of every container. compare_container compares the whole unit file with the rendered one, so the next check of every long-running container reports it as changed and its restart handler restarts it, rewriting the unit. One-shot containers have no unit. A docker_restart_policy change between unless-stopped and always renders the same Restart=always and changes nothing |
group_vars/, :151-162; library/; module_utils/, :57-80, :155-168, :173-186; module_utils/, :58-65; module_utils/; F16 |
Note
The first 2025.1 deploy or reconfigure after an upgrade from 2024.1 is a large workload with no operator change
at all CODE: the 2025.1 unit template adds PartOf=kolla.target, so every container whose unit 2024.1 wrote is
reported as changed at its first 2025.1 check, and on Docker hosts outside the Red Hat family the new default nofile
ulimits make most containers be recreated (F16;
module_utils/kolla_systemd_worker.py:20-40, :155-168; group_vars/all.yml:201-224); and every messaging service
now renders the queue manager, transient quorum queues and stream fanout (group_vars/all.yml:292; e.g.
roles/nova-cell/templates/nova.conf.j2:201-206; F17). The checks to make before
that run are in Predict and inspect a run
§2.
And independently of restarts, every run pays the per-host work CODE. Still holds in 2025.1: every full deploy
or reconfigure makes 10 compare_container calls per compute (common 3, iscsid with Cinder LVM, openvswitch 2,
neutron 1, nova-cell 3), each one a kolla_set_configs --check exec in the container once it exists and no compared
parameter differs (roles/common/tasks/check-containers.yml:2-3, roles/nova-cell/tasks/check-containers.yml:2-3,
roles/openvswitch/tasks/check-containers.yml:2-3, roles/neutron/tasks/check-containers.yml:2-3,
roles/iscsi/tasks/check-containers.yml:2-3, all through roles/service-check-containers/tasks/main.yml:4-29;
module_utils/kolla_container_worker.py:58-65; module_utils/kolla_docker_worker.py:146-181, Podman
module_utils/kolla_podman_worker.py:524-552). The common three run only when the common play runs (no tag or
-t common, site.yml:88-103). The remote module invocations of a no-change -t nova run, 29 per compute in 2025.1
(27 in 2024.1), are counted from the task files in Compute scaling
§2. The number of
task results per compute is NOT AVAILABLE.
Related¶
- Compute scaling §5 — the work multiplier and the restart multiplier
- Tags §2.4 — the shared check that replaced loop-notify
- Technical findings — F6: global inputs are rendered into per-host files; F16: the unit text is part of the container check
- Write config first, apply in controlled batches —
genconfig, thendeploy-containers --limitbatch by batch - Risk register — the risks, from R1
- 2024.1 small change, large workload — the same page for 2024.1
To remember
Lumo: if you keep only 5 things from this page, keep these.
- One option for nova-compute in
nova/nova-compute.confis not small: it targets every compute, all at once. Changed in 2025.1: onlynova_computerestarts, since loop-notify is gone;nova/<host>/nova-compute.confreaches that compute only. CODE - Changed in 2025.1: a rebuilt image of one service, once pulled, restarts the containers of that image only, no longer their siblings. CODE
- One extra controller changes the transport URL in every messaging service everywhere.
- One container-engine option such as
docker_graceful_timeoutchanges the systemd unit of every container, and the next check of each container reports it as changed. CODE - Every run pays the per-host work: every full
deployorreconfiguremakes 10compare_containercalls per compute, independently of restarts. CODE
What would you do?
Lumo: a situation you could meet on a real platform, and three ways to react. Pick the one you would choose: I will tell you what this page says about it. Nothing is recorded.
Check yourself
Lumo: 4 quick questions to check the main ideas of this page. Choose an answer to see the explanation and the section that gives the evidence. Your score counts your first choices and stays in this browser only.
Lumo: ready for the next step? Take your time: you can come back to this page whenever you need it.
Lumo: nicely done! One more page on your journey.