Skip to content

Set kolla base version with ansible facts#2389

Draft
owenjones wants to merge 1 commit into
stackhpc/2025.1from
use-host-version
Draft

Set kolla base version with ansible facts#2389
owenjones wants to merge 1 commit into
stackhpc/2025.1from
use-host-version

Conversation

@owenjones

Copy link
Copy Markdown
Member

Switch to setting kolla_base_distro_version using ansible facts, rather than a static mapping, so the correct containers get deployed on hosts when we have a mixture of versions (during Rocky 9 to 10 migration).

@owenjones owenjones requested a review from a team as a code owner June 26, 2026 12:50
@github-actions github-actions Bot added the waiting-review PR is waiting for a review label Jun 26, 2026

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request replaces the static mapping for kolla_base_distro_version with a direct reference to ansible_facts.distribution_major_version. However, this change will break deployments on non-Rocky distributions (such as Debian, Ubuntu, and CentOS) because they expect codenames or specific formats rather than just the major version number. To address this, a dynamic mapping using Ansible facts should be implemented as suggested.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

Comment thread etc/kayobe/kolla/globals.yml Outdated
@owenjones owenjones marked this pull request as draft June 26, 2026 12:52
@owenjones owenjones force-pushed the use-host-version branch 2 times, most recently from 3544db1 to 4a4f11d Compare June 26, 2026 13:48
Switch to setting `kolla_base_distro_version` using ansible facts,
rather than a static mapping, so the correct containers get deployed
on hosts when we have a mixture of versions (during Rocky 9 to 10
migration).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

waiting-review PR is waiting for a review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant