<feed xmlns='http://www.w3.org/2005/Atom'>
<title>openstack/kolla-ansible.git/ansible/roles/nova-cell/tasks/version-check.yml, branch stable/2026.1</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.
</subtitle>
<id>https://git.platform-os.org/openstack/kolla-ansible.git/atom?h=stable%2F2026.1</id>
<link rel='self' href='https://git.platform-os.org/openstack/kolla-ansible.git/atom?h=stable%2F2026.1'/>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/'/>
<updated>2026-06-25T19:28:28+00:00</updated>
<entry>
<title>Start virtlogd in nova-libvirt and route console logs to it.</title>
<updated>2026-06-25T19:28:28+00:00</updated>
<author>
<name>Michael Still</name>
<email>mikal@stillhq.com</email>
</author>
<published>2026-06-24T09:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=630366841302ea9e62e15b693b8b678e0fcfa25e'/>
<id>urn:sha1:630366841302ea9e62e15b693b8b678e0fcfa25e</id>
<content type='text'>
Due to implementation choices in qemu and libvirt, standard log
rotate does not work on these console files, and instead the usual
approach is to have libvirt's virtlogd rotate the contents of the
console log file when it gets a bit big. OpenStack Compute knows
how to read data from more than one rotated console log file if
required to service a REST API request.

OpenStack Kolla and Kolla-Ansible deploy OpenStack components in
docker or podman containers. An error in the startup configuration
for the nova_libvirt container results in the libvirt virtlogd
daemon not being run, which results in this console log rotation
not occurring.

This opens up the risk of a disk usage denial of service attack
on a hypervisor. The console log is stored on the same filesystem
as ephemeral disks, and OpenStack Nova will take a hypervisor out
of service if disk space becomes constrained. There is some
protection from the instance console not being able to write data
particularly quickly, but it is definitely still possible to fill
the hypervisor file system -- especially if multiple instances are used.

This misconfiguration appears to exist in all versions of
Kolla / Kolla-Ansible as best as I can tell.

Flip qemu.conf's stdio_handler from "file" to "logd" so libvirt
routes instance console chardevs through virtlogd, which rotates
them per /etc/libvirt/virtlogd.conf. Without this, virtlogd runs
but is never consulted and console.log grows unbounded.

The nova_libvirt command now points at the
/usr/local/bin/kolla_nova_libvirt_start helper shipped in the
image. Deploying this Kolla-Ansible change against an older image
that predates that helper would leave the container unable to
start. Add a deploy-time check that inspects the nova_libvirt
image for the helper and fails with an explanatory message when it
is absent, so an incomplete upgrade (new code, stale image) is
caught before the container is reconfigured.

Partial-Bug: 2155214

Depends-On: https://review.opendev.org/c/openstack/kolla/+/993065
Change-Id: Ia543939b17cd06714695dff8ef8bd29bc3f8175e
(cherry picked from commit 4244e6a91767a4706e59145f6841adbeeac048bb)
Signed-off-by: Michael Still &lt;mikal@stillhq.com&gt;
</content>
</entry>
<entry>
<title>ansible-lint: Fix fqcn[actions-core] for nova</title>
<updated>2026-03-23T12:55:11+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2026-03-20T06:33:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=a4d9fb8e9cc78bb511aae3c241d5393dd5dd46df'/>
<id>urn:sha1:a4d9fb8e9cc78bb511aae3c241d5393dd5dd46df</id>
<content type='text'>
Change-Id: I3f8fc252c0254a95b30259f13a7c96b7b4ad34bf
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>nova-cell: parallelize libvirt version check</title>
<updated>2026-03-17T20:20:02+00:00</updated>
<author>
<name>Bartosz Bezak</name>
<email>bartosz@stackhpc.com</email>
</author>
<published>2026-03-17T14:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=cd7e86503020f653369258c7b450ae9f1b7c0074'/>
<id>urn:sha1:cd7e86503020f653369258c7b450ae9f1b7c0074</id>
<content type='text'>
The previous code used `run_once`, `delegate_to`, and `loop`, so one
host ran `kolla_container_facts` and `libvirtd --version` for every
compute host in sequence. This is slow on large deployments.

Run these checks on the compute hosts directly so Ansible can use normal
per-host concurrency.

Set `any_errors_fatal: true` on the libvirt version-check tasks so a
failure on one host fails the play.

Closes-bug: #2144664

Change-Id: Ic9564c84c0a6c1cef1f77ed115d860f819eec67b
Signed-off-by: Bartosz Bezak &lt;bartosz@stackhpc.com&gt;
</content>
</entry>
<entry>
<title>ansible-lint: fix unnamed-task in nova-cell</title>
<updated>2025-12-10T21:19:49+00:00</updated>
<author>
<name>Bertrand Lanson</name>
<email>bertrand.lanson@protonmail.com</email>
</author>
<published>2025-12-10T20:38:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=80e9287b68418181a748d0da1d977f21a23f453a'/>
<id>urn:sha1:80e9287b68418181a748d0da1d977f21a23f453a</id>
<content type='text'>
Change-Id: I308edb8e04b1d752ebaecfcfda2a8e135228e0af
Signed-off-by: Bertrand Lanson &lt;bertrand.lanson@protonmail.com&gt;
</content>
</entry>
<entry>
<title>ansible-lint: Remove key-order[task] exclude</title>
<updated>2025-11-17T10:53:10+00:00</updated>
<author>
<name>Michal Nasiadka</name>
<email>mnasiadka@gmail.com</email>
</author>
<published>2025-11-12T12:48:31+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=95ae6b73361aa0c7da98aaed5fc2bc3349420418'/>
<id>urn:sha1:95ae6b73361aa0c7da98aaed5fc2bc3349420418</id>
<content type='text'>
Change-Id: I77cce57f3f2b05455e8bd4e7093081ef4ed25d59
Signed-off-by: Michal Nasiadka &lt;mnasiadka@gmail.com&gt;
</content>
</entry>
<entry>
<title>Prevent accidental Libvirt downgrades</title>
<updated>2025-08-25T12:54:45+00:00</updated>
<author>
<name>Matt Anson</name>
<email>matta@stackhpc.com</email>
</author>
<published>2025-02-27T16:43:33+00:00</published>
<link rel='alternate' type='text/html' href='https://git.platform-os.org/openstack/kolla-ansible.git/commit/?id=7035e11d8c7c9a928ce5ef7ac4e3d3ff2f4cda44'/>
<id>urn:sha1:7035e11d8c7c9a928ce5ef7ac4e3d3ff2f4cda44</id>
<content type='text'>
Add a version check for nova_libvirt during deploy and upgrade.
Resolve the target image digest once on the first compute host.
Compare it with each running container digest before version check.
This runs the assertion only on hypervisors that would change
image and leaves other hosts untouched.

Adds a tiny macro role ``service-image-info`` to resolve container
image info (Docker/Podman) once per service. The nova-libvirt version
check now uses it to compare running vs target image.

Closes-bug: #2120290

Co-Authored-By: Bartosz Bezak &lt;bartosz@stackhpc.com&gt;

Signed-off-by: Bartosz Bezak &lt;bartosz@stackhpc.com&gt;
Change-Id: I904a7b959f8fd151ab40bf6ac830dcf13d899239
</content>
</entry>
</feed>
