Skip to content

Your learning journey

New to Kolla-Ansible Day-2 operations? Follow these five stages in order. Each stage groups a few pages of this study, from the easiest to the most detailed. You do not need to read everything at once: come back whenever you like.

LUMO holds up a parchment while Ilyan lays out an open book, scrolls and blank index cards on a reading table.

Where this journey starts

This study reads the sources of one tag, Kolla-Ansible 2025.1. It describes what the move to 2025.1 does to a cloud that 2024.1 deployed, so several quiz items, and the "first 2025.1 run" items of Ten things to know, start from such a cloud. If your first cloud is new, for example the 2026.1 lab of the Academy's Quick lab, you have no 2024.1 cloud and no earlier run to compare with: those items are not about your cloud, and the study does not cover 2026.1.

You can still learn from it. The five stages teach how Kolla-Ansible is built and how a command becomes tasks, restarts and risks. Start with Conventions to read the evidence labels. Then read Repository architecture and Deployment execution flow. Skip the "cloud deployed by 2024.1" parts on a first pass.

Every statement here is code read in the 2025.1 sources, so the study gives no timings and no observed behaviour; what a lab run has not confirmed is left for the community to confirm. The lab page gives the timings that were measured on 2026.1 (Quick lab, section "Releases"). Treat them as a different release, not as 2025.1 evidence.

Lumo, the guide, holds open a parchment map.

Lumo, your guide

Here is the map of the island: five stages, from the harbour to the observatory. Go at your own pace. When the source code does not establish something, the page says NOT AVAILABLE: we never guess.

A winding dotted path connects a harbour gate, library, workshop, lighthouse and cliffside observatory across an island.
1 Discover2 Understand3 Practise4 Judge the risks5 Master

How to use the journey

Open a page of the stage you are at, read it, then tick Mark this page as read at the bottom. The bar under the title of each page tells you where you are, and the buttons take you to the previous or next step. Many pages end with To remember, the few ideas to keep, then What would you do?, a situation from a real platform with three ways to react, and Check yourself, a short quiz. Each stage ends with a final challenge below: read its pages and pass the challenge to earn the seal of the stage. Your progress is kept in this browser only: nothing is sent anywhere.

Why this order

The first stages explain how the pages are written and what happens when a command runs. With that in mind, the procedures of the later stages make sense instead of being recipes to copy.

Lumo wears brass goggles while adjusting a small brass server machine.

Lumo: practise safely

The study is a reading of the source code: nothing in it was run against a host. Try what you learn on a test platform, never first on production.

Three levels

Each page of this study shows its level under its title, so that you know what to expect:

  • Discover the conventions, the essentials and the concepts: start here.
  • Practise the operations, the risks and troubleshooting: once the concepts are clear.
  • Master the components in depth and the detailed evidence: to go further.

The five stages

  1. A stone harbour gate stands beside a docked boat, wooden crates and turquoise water.

    Stage 1 of 5

    Discover

    Get your bearings: how the pages are written, the essentials, and the words used everywhere.

    1. Conventions and evidence labels
    2. Ten things to know before a production run
    3. Glossary
    4. Find it fast
    Final challenge of the stage: 5 questions

    Lumo: 5 questions on the whole stage. Get at least 4 right on the first try, with every page of the stage marked as read, and the seal of Discover is yours. You can try again as often as you like.

    1. You change one setting of nova_compute only. In 2025.1, which containers does the next -t nova reconfigure restart on a compute?
    Show the answer

    Answer: nova_compute only: the shared check step notifies only the containers it found changed. Changed in 2025.1: the config tasks no longer notify handlers; service-check-containers compares each container and notifies only those that changed, so loop-notify is gone CODE. Read the page.

    2. Where do the notified restart handlers of most roles run, and which role deliberately waits?
    Show the answer

    Answer: At the meta: flush_handlers at the end of the role's deploy.yml (or else at the end of the play); the loadbalancer role defers to the end of its play. meta: flush_handlers is where the notified restart handlers run: at the end of most deploy.yml (e.g. nova's), or else at the end of the play. The loadbalancer role (haproxy, keepalived, proxysql) defers to the final check of its play CODE. Read the page.

    3. Which command is classed read-only on the operation pages?
    Show the answer

    Answer: prechecks: the task files it reaches only read state. read-only is supported only by prechecks (kolla_action=precheck): its task files use only checks and commands that read state CODE. genconfig is writes-config and pull is pulls-images. Read the page.

    4. A service uses config_strategy COPY_ONCE instead of the default COPY_ALWAYS. What does the restart handler do when its config has changed?
    Show the answer

    Answer: It always recreates the container: under COPY_ONCE the config is copied only at the first start, so only a recreate re-applies it. Under COPY_ONCE, kolla_set_configs copies the config only at the first start of a container, and the restart handler then always recreates the container, with Docker or Podman, so only a recreate re-applies config CODE. Read the page.

    5. During an incident, what can the portal tell you, and what mostly not?
    Show the answer

    Answer: What Kolla will do given the inputs (tasks and restarts); what that does to VMs and APIs depends on the environment and is mostly NOT AVAILABLE. The portal can tell what Kolla will do given the inputs: tasks and restarts. What that does to VMs and APIs depends on the environment and is mostly NOT AVAILABLE in these sources: no run was used as evidence. Read the page.

  2. A white stone library tower opens its arched windows above the island sea.

    Stage 2 of 5

    Understand

    See how Kolla-Ansible is built and what happens, step by step, when a command runs.

    1. Repository architecture
    2. Deployment execution flow
    3. Kolla images: start path and one-shot containers
    4. Compute scaling and performance
    Final challenge of the stage: 5 questions

    Lumo: 5 questions on the whole stage. Get at least 4 right on the first try, with every page of the stage marked as read, and the seal of Understand is yours. You can try again as often as you like.

    1. You set kolla_max_fail_percentage: 30 and run deploy -e kolla_serial=4. One host fails in each of the first three batches. Does the play stop?
    Show the answer

    Answer: No: ansible-core compares the hosts failed in the current batch with the batch size (1 of 4, 25%, each time); the failed list is cleared at each batch. Every play sets max_fail_percentage (default 100, which never stops a play early). ansible-core 2.18.20 compares the hosts failed in the current batch with the batch size and clears the failed-host list at the start of each batch, so failures do not add up across batches CODE. Read the page.

    2. Why does reconfigure -e kolla_serial=4 restart a service on every host at once in 2025.1?
    Show the answer

    Answer: Because reconfigure puts kolla_serial=0 into its own extra vars, after yours, so 0 wins. F19 CODE: the Python CLI's Reconfigure and Upgrade set kolla_serial to the constant ANSIBLE_SERIAL = 0 after the operator's options. deploy -e kolla_serial=4 runs the same tasks in batches of four. Read the page.

    3. In 2025.1, what changed in the systemd unit kolla-<name>-container.service, and why does it matter on the first run?
    Show the answer

    Answer: The template adds PartOf=kolla.target; the whole unit text is compared, so a unit written by 2024.1 counts as drift and its container restarts. F16 CODE: compare_container compares the whole unit text, so the first 2025.1 check of a container whose unit 2024.1 wrote reports a change, and the handler restarts it after rewriting the unit. Read the page.

    4. You change only the command in a service's config.json and run genconfig, then deploy-containers. Is the new command applied?
    Show the answer

    Answer: Yes: in 2025.1 kolla_set_configs --check reports a command that differs from /run_command, so the container restarts. Changed in 2025.1 (F14) CODE: kolla's set_configs.py now compares the running command, saved in /run_command, with the command of config.json. A change confined to permissions is still not detected. Read the page.

    5. Why does a no-change -t nova reconfigure still cost a lot of work on a large fleet?
    Show the answer

    Answer: Because Kolla has no "only if changed" short-circuit at play level: every compute runs the full per-host chain. Still holds in 2025.1: every run that includes the compute group executes the full per-host chain on every compute, even with no change; new in 2025.1, each compute also lists the hypervisors through the first conductor (F20) CODE. Read the page.

  3. Brass machinery and server devices sit on a workbench in a bright island workshop.

    Stage 3 of 5

    Practise

    Prepare a command before running it: check, predict, then apply one service or one batch at a time.

    1. Pre-execution checklist
    2. Predict and inspect a run
    3. Reconfigure a single service
    4. Write config first, apply in controlled batches
    5. Command quick lookup by tag
    Final challenge of the stage: 4 questions

    Lumo: 4 questions on the whole stage. Get at least 3 right on the first try, with every page of the stage marked as read, and the seal of Practise is yours. You can try again as often as you like.

    1. You run deploy -t keystone after a change to the keystone frontend. What do you run to make HAProxy load it?
    Show the answer

    Answer: -t haproxy (or -t loadbalancer, or a run without tags): the service tag only writes the frontend file. F18 CODE: the HAProxy restart comes only from the loadbalancer play's final check, which runs with -t haproxy, -t loadbalancer, -t keepalived or no tag. Until then the change stays pending, and any such run applies it. Read the page.

    2. Before the first 2025.1 run, how can you list on a host the containers that will restart because of the changed systemd unit text (F16)?
    Show the answer

    Answer: grep -L PartOf=kolla.target /etc/systemd/system/kolla-*-container.service: each unit without that line differs from the 2025.1 template. The 2025.1 template adds PartOf=kolla.target and the whole unit file is compared, so each unit without that line is drift CODE. kolla_set_configs --check does not show it, and the unit is not under /etc/kolla/. Read the page.

    3. You run kolla-ansible deploy -i multinode -t nova -e kolla_serial=1 with the three multinode controllers. How many times does the run_once API DB sync run?
    Show the answer

    Answer: Three times: a run_once task runs once per batch of its play, and each batch is one controller. A run_once task runs once per batch of its own play (F10), so with kolla_serial=1 the API DB sync runs once per controller CODE. Read the page.

    4. An entry disappears from a container's config.json, for example an optional file that is no longer rendered. What do the next runs do?
    Show the answer

    Answer: They restart that container on every run until it is recreated: the check keeps reporting the dropped entry. New in 2025.1 (F21) CODE: nothing removes the recorded destination from the container's defaults state, so the check fires on every run until the container is recreated. Whether removing the container is a safe way out is NOT AVAILABLE (Q23). Read the page.

  4. A white stone lighthouse watches over a calm rocky coast and a small sailing ship.

    Stage 4 of 5

    Judge the risks

    Learn what a tag really touches, why small changes can grow, and which risks and bugs are known.

    1. What a tag really executes
    2. Why a small change creates a large workload
    3. Risk register
    4. Known bugs and limitations
    Final challenge of the stage: 4 questions

    Lumo: 4 questions on the whole stage. Get at least 3 right on the first try, with every page of the stage marked as read, and the seal of Judge the risks is yours. You can try again as often as you like.

    1. You set a new enable_* flag in globals.yml and run reconfigure -t <svc> for that service only. What happens to common's cron logrotate config?
    Show the answer

    Answer: It stays stale until -t common or an untagged run. Common's cron logrotate config lists services by their enable_* flags CODE. Only the common play renders it, and that play is tagged common only, so enabling a service with -t <svc> leaves it stale until -t common or an untagged run. Read the page.

    2. A 2024.1 cloud still has classic RabbitMQ queues. What does the 2025.1 code allow?
    Show the answer

    Answer: Nothing else than quorum queues: the classic queues must be migrated before the first 2025.1 run. F17, R27 CODE: quorum queues are the only choice in 2025.1. What oslo.messaging does with existing classic queues, and how long a manual migration takes, is NOT AVAILABLE (Q16). Read the page.

    3. A cloud has enable_octavia: yes, the default amphora provider, and neither Redis nor Valkey enabled. What does 2025.1 do?
    Show the answer

    Answer: prechecks fails; deploy, reconfigure and upgrade do not run that assert and render the jobboard section anyway. This is R30 CODE: enable_octavia_jobboard is on by default with the amphora provider, so octavia.conf lists the valkey hosts, or else the redis hosts, as jobboard backend. How Octavia behaves when they hold neither is NOT AVAILABLE. Read the page.

    4. You want to move a cloud from Docker to Podman with kolla-ansible migrate-container-engine. What does the code do?
    Show the answer

    Answer: It works on every host in one play, asks for no confirmation, and stops every container of the old engine before moving the volumes. This is R31 CODE: the blast radius is the whole cloud, with nova_libvirt and Open vSwitch stopped on every compute at once; the effect on guests is NOT AVAILABLE. Read the page.

  5. A domed observatory with a brass telescope overlooks the sea from a high cliff.

    Stage 5 of 5

    Master

    Go deeper: how the components depend on each other, the detailed findings, and the limits of what is known.

    1. Component dependencies
    2. Nova deep dive
    3. Technical findings
    4. Method and limits of the study
    5. What is not known
    Final challenge of the stage: 4 questions

    Lumo: 4 questions on the whole stage. Get at least 3 right on the first try, with every page of the stage marked as read, and the seal of Master is yours. You can try again as often as you like.

    1. On a fresh cloud where Keystone was never deployed, you run kolla-ansible deploy -t nova. What happens?
    Show the answer

    Answer: Nothing enforces a dependency when you use tags: the run reaches Keystone registration with no Keystone deployed. --tags filters plays, and no role has a meta directory, so -t nova on a fresh cloud reaches Keystone registration (service-ks-register) with no Keystone deployed CODE. Read the page.

    2. You run kolla-ansible deploy with --limit set to one new compute host. Why does work still run on control01?
    Show the answer

    Answer: Because delegate_to: groups[x][0] runs work on hosts outside the limit: the Neutron DB create/grant, the bootstrap_neutron container, cell discovery and, new in 2025.1, the hypervisor list. Still holds in 2025.1 (F8): --limit does not confine actions CODE. "Only the new compute" still executes DB-sync containers on a controller. Read the page.

    3. Kolla-Ansible 2025.1 also accepts ansible-core 2.17. If you run it with 2.17, do the study's statements about Ansible behaviour (run_once with serial, max_fail_percentage) still hold?
    Show the answer

    Answer: Not established: only ansible-core 2.18.20 was read, so the behaviour of 2.17 is not available. Only one ansible-core version was read: Kolla-Ansible 2025.1 accepts 2.17 to 2.18, and the behaviour of 2.17 is NOT AVAILABLE. The study rests only on reading source code, with no runtime or lab evidence. Read the page.

    4. Does a nova_libvirt restart keep the guests' console logs?
    Show the answer

    Answer: Not established: the console output now goes through a virtlogd that runs in that container, and libvirt, QEMU and virtlogd are not in these sources. This is Q22, new in 2025.1: NOT AVAILABLE, left for the community to confirm. Read the page.