Skip to content

2. The town hall takes shape

The central deployment yard.

In the paved yard of the town hall, a crew slides identical white crates onto racks inside a stone archway while LUMO, Neri and a crew member with a clipboard watch.

The next morning a crew arrives with crates: all the same size, all labelled the same way, all packed the same way. Jo, the crew leader, opens one. Inside is everything one service of the town hall needs to work, ready to be set down on a host.

"We don't build each office by hand," Jo says. "We write down once which service goes on which host and how it is configured. Then the crew follows the list, the same way every time." LUMO watches the crates go into the hall, one service after the other: the register, the workshop desk, the network office, the library.

LUMO checks a list on a clipboard while a crew member in glasses slides an identical wooden crate onto a shelf.

Before the first crate is opened, Jo checks the ground: are the hosts reachable, is there enough room, are the addresses right? Only then does the crew unpack. When it is done, LUMO walks through the empty offices with the lantern. Nobody lives in the village yet, but every desk is ready.

LUMO stands on a stone path between the town hall, whose offices are lined with installed crates, and terraces of equipment cabinets in the fields by the sea.

Important

Where the picture stops. Kolla-Ansible deploys the services of the cloud. It does not create Neri's machine: once the services are running, users ask the services themselves, and Kolla-Ansible is out of the picture until the operators change or upgrade the platform.

What it is in OpenStack

Each OpenStack service is a set of programs (an API, workers, agents) that must be installed, configured and kept running on the right hosts. Kolla packages each of them as a container image: the crates. Kolla-Ansible uses Ansible to put those containers on the hosts listed in an inventory, with the settings of globals.yml.

  • The inventory says which host plays which role (controller, compute, network, storage).
  • bootstrap-servers prepares the hosts, prechecks verifies them, deploy starts the services.
  • The same files describe the platform every time, so it can be rebuilt, changed or upgraded the same way.

Kolla-Ansible is one deployment tool among several. The OKD OpenStack lab shows another one, where Kubernetes operators do this job.

On the left, LUMO watches a crane lower a service crate in front of the town hall; on the right, a drawing shows configuration files driving a deployment tool, which places service containers on two hosts, before a user calls the deployed services.

From the village to OpenStack

flowchart LR
    OP["Operator"] -->|"runs"| KA["Kolla-Ansible<br/>+ inventory + globals.yml"]
    KA -->|"deploys containers"| C1["Controller hosts<br/>Keystone, Nova API,<br/>Neutron server, Glance…"]
    KA -->|"deploys containers"| C2["Compute hosts<br/>nova-compute, libvirt,<br/>network agents"]
    U["Neri"] -.->|"later, asks the services,<br/>not Kolla-Ansible"| C1

A dotted arrow is a later, separate interaction: users talk to the deployed services.

See it for real

On the deployment host, with an inventory called multinode (operator work, not something a user runs):

kolla-ansible bootstrap-servers -i ./multinode
kolla-ansible prechecks -i ./multinode
kolla-ansible deploy -i ./multinode

In the Quick lab a script, deploy.sh, runs these commands for you on the lab VM, and keeps their output in log files you can read: the lab guide says where. The day-2 module explains what each of them really does.

The lantern: the flame steadies and lights the threshold of the town hall.

Next: the offices are ready. Now, who is allowed to use them? 3. The register and the passes →

To remember

Lumo: if you keep only 3 things from this page, keep these.

  • Kolla-Ansible deploys the OpenStack services as containers on the hosts listed in an inventory, with the settings of globals.yml.
  • bootstrap-servers prepares the hosts, prechecks verifies them, deploy starts the services.
  • Kolla-Ansible builds the cloud; it does not create the users' machines. Users ask the deployed services.

Check yourself

Lumo: 2 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.

1. Neri wants a new virtual machine. Who handles that request?
Show the answer

Answer: The deployed OpenStack services (Nova, Neutron, Glance…). Kolla-Ansible deploys and changes the platform; once the services run, users talk to them through their APIs. Read the section.

2. Which command checks the hosts before anything is deployed?
Show the answer

Answer: kolla-ansible prechecks. prechecks verifies the hosts and the configuration; deploy then starts the services. Read the section.