Skip to content

Synchronise 2026.1 with upstream#892

Merged
Alex-Welsh merged 4 commits into
stackhpc/2026.1from
upstream/2026.1-2026-06-29
Jun 29, 2026
Merged

Synchronise 2026.1 with upstream#892
Alex-Welsh merged 4 commits into
stackhpc/2026.1from
upstream/2026.1-2026-06-29

Conversation

@github-actions

Copy link
Copy Markdown

This PR contains a snapshot of 2026.1 from upstream stable/2026.1.

ednxzu and others added 4 commits June 22, 2026 14:21
There is a possibility that the ansible-runner in kolla_toolbox
is executed with the wrong environment variables if run in a specific
way. The cause is not super clear, but the solution is to simply force
it to use the correct HOME value.

Closes-Bug: #2153544

Change-Id: Ibad84e358f21564c570161f7e4f21b117398df3b
Signed-off-by: Bertrand Lanson <bertrand.lanson@infomaniak.com>
(cherry picked from commit 2104f74)
Remove a stray trailing quote from the barbican_api healthcheck URL.
The quote causes shell parsing failures, incorrectly marking the
container as unhealthy.

Closes-Bug: #2157639
Change-Id: I3e9b791d0ee2ce54af862f3e30e37e6600a350bd
Signed-off-by: Piotr Milewski <vurmil@gmail.com>
(cherry picked from commit e101828)
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 4244e6a)
Signed-off-by: Michael Still <mikal@stillhq.com>
@github-actions github-actions Bot requested a review from a team as a code owner June 29, 2026 08:06
@github-actions github-actions Bot added automated Automated action performed by GitHub Actions synchronisation labels Jun 29, 2026
@Alex-Welsh Alex-Welsh merged commit 0737f4d into stackhpc/2026.1 Jun 29, 2026
3 checks passed
@Alex-Welsh Alex-Welsh deleted the upstream/2026.1-2026-06-29 branch June 29, 2026 10:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

automated Automated action performed by GitHub Actions synchronisation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants