Ten things to know before a production run¶
Ten things to know before running Kolla-Ansible 2025.1 on production. Each item restates a 2025.1 page and links to the section that gives the evidence; the main citations are repeated here. What a lab run has not confirmed is left for the community to confirm.
reconfigureisdeployfor 53 of the 54 roles that have areconfigure.yml; only bifrost keeps its own logic (e.g.roles/nova-cell/tasks/reconfigure.yml:2). It re-runs Keystone registration, DB creation and the DB-sync bootstrap containers for most services, Neutron's included (roles/neutron/tasks/bootstrap_service.yml:2-21). The only lightweight path isgenconfig(kolla_ansible/cli/commands.py:113-125) followed bydeploy-containers(kolla_ansible/cli/commands.py:245-256) (F5, Repository architecture §4.2, Execution flow §4) CODE.- Config is applied by a full stop/start, never a reload, and the stop timeout is 60 s. The container module is
kolla_container, which drives Docker or Podman according tokolla_container_engine(defaultdocker,group_vars/all.yml:100;library/kolla_container.py:411-416). Containers run under systemd units whose stop is<engine> stop <name> -t <graceful_timeout>(module_utils/kolla_systemd_worker.py:33), withdocker_graceful_timeout: 60(group_vars/all.yml:148); a service still running then is killed (R24, Repository architecture §6) CODE. The only signal Kolla sends to a running container is aSIGHUPtonova_scheduler, which refreshes its cell cache (roles/nova/tasks/refresh_scheduler_cell_cache.yml:10). How the Podman path behaves on a real host is NOT AVAILABLE. - Changed in 2025.1: only the containers that drifted restart. The config tasks no longer notify handlers; the
shared
service-check-containersstep compares every container of the role and notifies the restart handlers of the changed ones only (roles/service-check-containers/tasks/main.yml:4-41, the notify at:34-41). A nova-compute config change no longer restartsnova_libvirtandnova_sshwith it (Tags §2.4, F1) CODE. - Without batching, handlers restart a service on every host of the play at once, and
reconfigurecannot be batched. Changed in 2025.1:reconfigureandupgradeputkolla_serial=0into their own extra vars, after the operator's (kolla_ansible/cli/commands.py:20-22, :134-136, :276-278), so-e kolla_serial=Nhas no effect there;ANSIBLE_SERIALis no longer read. Usedeploy -e kolla_serial=N, which runs the same tasks (F19, R32). MariaDB and RabbitMQ roll by themselves: their restarts run in separate plays withserial: "33%"(mariadb.yml:18-52,rabbitmq.yml:30-49; one node at a time with three nodes), and each RabbitMQ node is drained first (roles/rabbitmq/tasks/restart_services.yml:10-20). Every play setsmax_fail_percentage, 100 by default (site.yml:96-99): a failed host only drops out, unless every host of a batch fails, which ends the playbook (ansible-core 2.18.20lib/ansible/executor/playbook_executor.py:202-204) (Execution flow §5) CODE. - A service tag is never just that service. For API services it runs Keystone registration and DB sync, and it
reaches hosts outside the service's own group through delegated steps. It does not run
common(Tags §3, Reconfigure a single service §2) CODE. Changed in 2025.1: it writes the service's HAProxy frontend file on every loadbalancer host but no longer restarts HAProxy; the restart comes from the loadbalancer play's final check (site.yml:319-324), which runs only with-t haproxy,-t loadbalancer,-t keepalivedor no tag, so the change stays pending until then (F18, R29).--skip-tags haproxykeeps the frontend file untouched (Reconfigure a single service §1.2). -t commondoes the work, and only it does.commonis its own play, taggedcommon(site.yml:88-103), so fluentd, cron and kolla_toolbox changes need-t commonor a run without tags; a service tag leaves them pending (Tags §2.1, Applycommonchanges) CODE. Changed in 2025.1: the common config step no longer pulls the fluentd image.-
Global settings land in per-host files, and the first 2025.1 run changes some of them everywhere.
enable_*, RabbitMQ/memcached membership and passwords end up in compute-side configs, so small central changes cause fleet-wide restarts (F6, Why a small change creates a large workload). On a cloud deployed by 2024.1, code changes restart containers whose operator config did not change (Predict and inspect a run §2) CODE:- the systemd unit text (F16): the 2025.1 template adds
PartOf=kolla.target(module_utils/kolla_systemd_worker.py:27) and the whole unit file is compared (:155-168), so the first 2025.1 check of a container whose unit 2024.1 wrote reports drift; - the default ulimits, with Docker outside the Red Hat family (
group_vars/all.yml:201-224); - quorum queues only (F17): classic queues must be migrated before the run (R27);
- with OVN, the Southbound relays, on by default, which move the chassis (R33).
In addition, every service that
kolla-ansible upgradehas not reached still runs a 2024.1 image:openstack_releasedefaults to2025.1(group_vars/all.yml:795), so adeployorreconfigurerecreates it on the 2025.1 image without the role's upgrade tasks. Upgrade first, migrate the queues and list the affected containers (Pre-execution checklist §2). - the systemd unit text (F16): the 2025.1 template adds
-
deploynever pulls an image that is already present. Rebuilt images under the same tag needpull(module_utils/kolla_docker_worker.py:376-378; Podmanmodule_utils/kolla_podman_worker.py:789-791). A tag change applied withdeployrecreates the entire fleet at once (Update container images, F4) CODE. --limitdoes not contain everything. Delegated tasks still run ongroups[x][0]controllers (e.g. the Neutron DB creation,roles/neutron/tasks/bootstrap.yml:13-14), and the facts ofkolla_ansible_delegate_facts_hosts(all hosts by default) are gathered serially by the limited hosts (gather-facts.yml:34-62) (F8, F9, Compute scaling, Add a compute node §2) CODE.--list-taskscannot predict a run. Usegenconfigpluskolla_set_configs --check, or staging (Predict and inspect a run). Three things to know about the 2025.1 check CODE (F14):- It now compares the command too. kolla's
set_configs.pyreports a difference when the running command differs from thecommandofconfig.json, so memcached's settings, all in its command, are now detected; a change confined topermissionsis still not. - A dropped entry never stops firing. Once an entry is removed from
config.json, the check reports drift on every run until the container is recreated (F21). - It is not the whole check.
compare_containeralso restarts a container whose image, parameters or unit text differ (module_utils/kolla_container_worker.py:58-65). With Podman a container that is not running counts as drift and an exit code other than 0 or 1, 137 included, fails the task (module_utils/kolla_podman_worker.py:524-555) (Kolla images §3.3).
- It now compares the command too. kolla's
Related¶
- Find it fast — typical operator questions and the section that answers them
- Pre-execution checklist — what to check before a run, and before the first 2025.1 run on a cloud deployed by 2024.1
- Risk register — the risks R1–R33, with their precautions
- Technical findings — the headline findings, each with its evidence (F18 to F22 are new in 2025.1)
- Operations — the operation pages, each with its commands
- Ten things to know (2024.1) — the same page for the previous release
To remember
Lumo: if you keep only 5 things from this page, keep these.
reconfigureisdeployfor 53 of the 54 roles that have areconfigure.yml; the only lightweight path isgenconfigfollowed bydeploy-containersCODE.- Config is applied by a full stop/start through the container's systemd unit, never a reload, and the stop timeout is 60 s, with Docker or Podman CODE.
- Changed in 2025.1: only the containers that drifted restart, and a service tag no longer restarts HAProxy CODE.
- Changed in 2025.1:
reconfigureandupgradealways run withkolla_serial=0; onlydeploy -e kolla_serial=Nbatches a run CODE. deploynever pulls an image that is already present: rebuilt images under the same tag needpullCODE.
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.