Operations¶

What Kolla-Ansible 2025.1 commands do when they run against a live platform, read from the source of the unmodified
site.yml, its roles and ansible-core 2.18.20. Nothing was run against a host.

Real kolla-ansible (2025.1) invocations with what they select, their scope and their impact. Changed in 2025.1: the
CLI is a Python program, and its options follow the sub-command (kolla-ansible reconfigure -i multinode -t keystone).
Note
Key answers
- What restarts, changed in 2025.1: only the containers that drifted. The restart decision is the shared
service-check-containersstep, which notifies only the containers it found changed; loop-notify is gone (F1, Tags §2.4). - A service tag also touches Keystone registration, for most services DB creation and schema sync, and hosts
outside
--limit; it still does not touchcommon(Reconfigure a single service §2). Changed in 2025.1: it rewrites the service's HAProxy frontend file but no longer restarts HAProxy; the change waits for-t haproxyor an untagged run (F18). - Batching, changed in 2025.1:
reconfigureandupgradealways run withkolla_serial=0, whatever-esays; usedeploy -e kolla_serial=N, which runs the same tasks (F19, Write config first, apply in controlled batches §1.2). Every play setsmax_fail_percentage, default 100, which never stops a play early; lower it to stop a rolling run on failures (§1.3). - First 2025.1 run on a cloud deployed by 2024.1: expect restarts whose operator config did not change: the systemd unit text changed and, with Docker outside the Red Hat family, the default ulimits (F16); classic RabbitMQ queues must be migrated first (R27); with OVN, the chassis move to the Southbound relays (R33). How to see them before the run: Predict and inspect a run §2; what to settle first: Pre-execution checklist §2.
- Recommended pattern:
genconfig, thendeploy-containers --limitbatch by batch, with its caveats CODE (Write config first, apply in controlled batches §2). Why a small change can create a large workload: Why a small change creates a large workload. - Keep the frontend file untouched:
--skip-tags haproxy(Reconfigure a single service §1.2). Pushcommonchanges:-t common, which runs the common play (Applycommonchanges (fluentd, cron, kolla_toolbox) §1.1); changed in 2025.1, its config step no longer pulls the fluentd image. - Add a compute:
bootstrap-servers,pullanddeploy, each with--limit(Add a compute node §1.1). Per-tag quick lookup of hosts touched, possible restarts and one-shot containers: Command quick lookup by tag.
Operations catalogue¶
One row per operation page, in the order of the navigation. The commands are copied from each page. The impact classes are defined in Operation impact classes. The risk numbers are those the page cites, in its text or in its "Related" list.
| Operation | Commands covered | Impact | Risks |
|---|---|---|---|
| Pre-execution checklist | kolla-ansible genconfigdocker exec -u root <c> /usr/kolla-ansible pullkolla-ansible mariadb-backupkolla-ansible prechecks (first 2025.1 run)and the openstack checks of its steps 5 and 6 |
writes-config |
– |
| Predict and inspect a run | ansible-playbook -i multinode --list-tags …/ansible-playbook -i multinode -t nova --list-hosts …/kolla-ansible deploy -i multinode --list-taskskolla-ansible genconfig -i multinode [-t <svc>] [--limit <hosts>]docker exec -u root <container> /usr/ (Podman: podman exec -u root …)kolla-ansible reconfigure -i multinode --check --diffkolla-ansible prechecks -i multinode [-t <svc>] |
read-only, writes-config |
– |
| Reconfigure a single service | kolla-ansible reconfigure -i multinode -t keystonekolla-ansible reconfigure -i multinode -t nova --skip-tags haproxy |
restarts-on-drift |
R8, R14, R19, R20, R23, R24 |
| Reconfigure Nova | kolla-ansible reconfigure -i multinode -t novakolla-ansible reconfigure -i multinode -t nova-apikolla-ansible reconfigure -i multinode -t nova-cellkolla-ansible deploy -i multinode -t nova -e kolla_serial=10 |
restarts-on-drift |
R1, R2, R3, R24 |
| Reconfigure Neutron | kolla-ansible reconfigure -i multinode -t neutronkolla-ansible deploy -i multinode -t neutron --limit network01kolla-ansible deploy -i multinode -t openvswitch --limit compute042kolla-ansible deploy -i multinode -t neutron -e kolla_serial=10 |
restarts-on-drift, critical |
R5, R6, R7 |
Apply common changes (fluentd, cron, kolla_toolbox) |
kolla-ansible reconfigure -i multinode -t commonkolla-ansible reconfigure -i multinode -t common --limit 'compute[0:49]' |
restarts-on-drift |
R2, R25 |
| Write config first, apply in controlled batches | kolla-ansible genconfig -i multinode -t nova-cellkolla-ansible deploy-containers -i multinode -t nova-cell --limit 'compute[0:9]'kolla-ansible deploy-containers -i multinode -t nova-cell --limit 'compute[10:19]'kolla-ansible deploy -i multinode -t nova -e kolla_serial=10kolla-ansible deploy -i multinode -t nova -e kolla_serial=10 -e kolla_max_fail_percentage=0 |
writes-config, restarts-on-drift |
R1, R32 |
| Update container images | kolla-ansible pull -i multinodekolla-ansible pull -i multinode -t nova --limit computekolla-ansible upgrade -i multinodekolla-ansible upgrade -i multinode -t nova --limit 'compute[0:19]'kolla-ansible prune-images -i multinode --yes-i-really-really-mean-it |
pulls-images, recreates-containers, critical |
R7, R11, R12, R13, R17 |
| Add a compute node | kolla-ansible bootstrap-servers -i multinode --limit compute004kolla-ansible pull -i multinode --limit compute004kolla-ansible deploy -i multinode --limit compute004 |
– | R14, R23 |
| Change control-plane membership | no command line in its command section; its scenario reads -t nova,neutron reconfigure |
restarts-on-drift, maintenance-window |
R3, R4 |
| Database operations | kolla-ansible mariadb-backup -i multinodekolla-ansible mariadb-recovery -i multinode |
recovery |
R15, R18 |
| Stop and destroy | kolla-ansible stop -i multinode --yes-i-really-really-mean-it -t heat --limit control03kolla-ansible destroy -i multinode --yes-i-really-really-mean-it |
critical |
R15, R16 |
| Command quick lookup by tag | -t <tag> reconfigure for 15 tagsreconfigure (no tag)deploy-containers -t Xgenconfig -t Xpull -t X |
restarts-on-drift, writes-config, pulls-images |
by tag, in the "Risks" bullet of the component pages |
Two changes of the 2025.1 CLI have no operation page: the new migrate-container-engine, which moves every container from one
engine to the other without asking for confirmation (R31), and the removal of
rabbitmq-upgrade, which the RabbitMQ version check still names (R28).
Assumed deployment¶
Every scenario assumes the same deployed state: 3 controllers, 2 network nodes, 3 computes, 1 storage node and 1
monitoring node, with Keystone, Glance, Placement, Nova, Neutron/OVS, Cinder/LVM, Heat and Horizon. The container engine
is Docker, the 2025.1 default (kolla_container_engine: "docker", group_vars/all.yml:100) CODE; where a page
describes the Podman path, it says so. Changed in 2025.1: ProxySQL is on by default in front of MariaDB, and RabbitMQ
4.0 is the default image; Swift is no longer deployed (Swift).
Conventions used by the command sections¶
These two lists apply to the command sections of every operation page and to the Command quick lookup by tag.
The examples assume:
- the inventory is
/etc/kolla/multinode(adapt-i); globals.ymlandpasswords.ymlare in/etc/kolla;- Ansible is ansible-core 2.18 (
requirements.txt:14accepts 2.17 to 2.18; only 2.18.20 was read).
Conventions:
- Scope = plays and hosts touched.
- Restarts = containers that can restart (only if drift is detected).
- One-shot = bootstrap containers that run regardless of drift.
Drift¶
Drift means what compare_container detects: a missing container, a changed image or container parameter (16
comparisons), kolla_set_configs --check reporting a change, or a systemd unit file whose text differs from the
rendered template (module_utils/kolla_container_worker.py:58-65, module_utils/kolla_container_worker.py:67-89)
CODE. The check reads kolla_set_configs --check per engine. With Docker, exit code 1 or 137, or a client error from
the exec, is drift (module_utils/kolla_docker_worker.py:146-181). With Podman, a container that is not running is
drift, 1 is drift, and any other non-zero code fails the task (module_utils/kolla_podman_worker.py:524-555)
(Kolla images §3).
Changed in 2025.1, the check also reports a command that differs from /run_command and a dropped config.json entry
(F14, F21). The unit-file comparison is what makes the
first 2025.1 check report drift for a container whose unit 2024.1 wrote (F16).
Code guarantees and environment dependence¶
On the operation pages:
- The code guarantees = what Kolla will do (tasks, restarts) given the inputs.
- Depends on the environment = what that does to VMs and APIs; mostly NOT AVAILABLE in these sources.
These two notions head the columns of the tables in Reconfigure Nova §5 ("Guaranteed by code", "Depends on environment") and Reconfigure Neutron §4 ("code-guaranteed", "environment-dependent").
The evidence labels CODE and NOT AVAILABLE are defined once, in the Conventions and evidence labels.
Three mechanisms that explain almost every surprise¶
Three mechanisms explain almost every surprise on the operation pages, so they are restated here, each with the section that establishes it. The 2024.1 list had loop-notify as its second item; it is gone in 2025.1.
- Config drift ⇒ full container stop/start. It is never a reload. Still holds in 2025.1: the stop timeout is
docker_graceful_timeout, 60 s by default (group_vars/all.yml:148), passed to the module asgraceful_timeoutindocker_common_options(group_vars/all.yml:160). Each container runs under akolla-<name>-container.servicesystemd unit, and a restart goes through that unit (module_utils/kolla_docker_worker.py:450-470,module_utils/kolla_podman_worker.py:704-719,module_utils/kolla_systemd_worker.py:107-114), whose stop is/usr/bin/${engine} stop ${name} -t ${graceful_timeout}(module_utils/kolla_systemd_worker.py:33) (Repository architecture §6). - One shared restart decision. Changed in 2025.1: the config tasks no longer notify handlers; the
service-check-containersstep compares each container and notifies only those that changed, so one changed container no longer restarts its siblings (Tags §2.4). A service tag no longer restarts HAProxy (F18). - Global inputs.
enable_*flags, group membership and passwords are rendered into per-host files on every host (Component dependencies §5).
Related¶
- Tags §3 (what each tag executes)
- Risk register (risks R1–R33)
- Technical findings (the 2025.1 findings F18 to F22, and F16 and F17 behind the first 2025.1 run)
- Nova deep dive §5 (nova-libvirt restarts)
- Tag index and What is not known (tag index, everything marked NOT AVAILABLE)
- Repository architecture §2 (the CLI →
playbook mapping and the
kolla_serialrules) - Tags (tag semantics)
- Conventions and evidence labels (evidence labels)
- Operations (2024.1) (the same catalogue for the previous release)