Skip to content

Commit 8ce9643

Browse files
authored
Merge pull request #482 from stackhpc/upstream/master-2025-10-06
Synchronise master with upstream
2 parents 2705187 + ae01256 commit 8ce9643

26 files changed

Lines changed: 219 additions & 57 deletions

File tree

ansible/infra-vm-provision.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,5 +44,5 @@
4444
state: started
4545
# NOTE: Ensure we exceed the 5 minute DHCP timeout of the eth0
4646
# interface if necessary.
47-
timeout: 360
47+
timeout: "{{ infra_vm_provision_timeout | default(360) | int }}"
4848
delegate_to: localhost

ansible/inventory/group_vars/all/compute

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -240,8 +240,8 @@ compute_libvirt_enable_tls: false
240240
compute_libvirt_ceph_repo_install: true
241241

242242
# Ceph package repository release to install on CentOS and Rocky hosts when
243-
# compute_libvirt_ceph_repo_install is true. Default is 'pacific'.
244-
compute_libvirt_ceph_repo_release: pacific
243+
# compute_libvirt_ceph_repo_install is true. Default is 'squid'.
244+
compute_libvirt_ceph_repo_release: squid
245245

246246
###############################################################################
247247
# Compute node swap configuration.

ansible/inventory/group_vars/all/globals

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,10 @@ kayobe_ansible_user: "stack"
5252
# is "rocky".
5353
os_distribution: "rocky"
5454

55-
# OS release. Valid options are "9-stream" when os_distribution is "centos", or
56-
# "9" when os_distribution is "rocky", or "noble" when os_distribution is
57-
# "ubuntu".
55+
# OS release. Valid options are "9-stream" and "10-stream" (with "9-stream"
56+
# being the default) when os_distribution is "centos", "9" and "10" (with "9"
57+
# being the default) when os_distribution is "rocky", or "noble" when
58+
# os_distribution is "ubuntu".
5859
os_release: >-
5960
{{ '9-stream' if os_distribution == 'centos'
6061
else '9' if os_distribution == 'rocky'

ansible/inventory/group_vars/all/infra-vms

Lines changed: 15 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -42,19 +42,30 @@ infra_vm_root_format: qcow2
4242

4343
# Base image for the infra VM root volume. Default is
4444
# "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
45-
# when os_distribution is "ubuntu", or
46-
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
47-
# when os_distribution is "rocky",
48-
# or
45+
# when os_distribution is "ubuntu",
46+
# "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
47+
# when os_distribution is "rocky" and os_release is "9",
48+
# "https://dl.rockylinux.org/pub/rocky/10/images/x86_64/Rocky-10-GenericCloud-Base.latest.x86_64.qcow2"
49+
# when os_distribution is "rocky" and os_release is "10",
4950
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2"
51+
# when os_distribution is "centos" and os_release is "9-stream", or
52+
# "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-10-latest.x86_64.qcow2"
5053
# otherwise.
5154
infra_vm_root_image: >-
5255
{%- if os_distribution == 'ubuntu' %}
5356
https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
5457
{%- elif os_distribution == 'rocky' %}
58+
{%- if os_release == '9' %}
5559
https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
5660
{%- else -%}
61+
https://dl.rockylinux.org/pub/rocky/10/images/x86_64/Rocky-10-GenericCloud-Base.latest.x86_64.qcow2
62+
{%- endif %}
63+
{%- else -%}
64+
{%- if os_release == '9-stream' %}
5765
https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2
66+
{%- else -%}
67+
https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-10-latest.x86_64.qcow2
68+
{%- endif %}
5869
{%- endif %}
5970

6071
# Capacity of the infra VM data volume.

ansible/inventory/group_vars/all/seed-vm

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,29 @@ seed_vm_root_format: qcow2
4343
# Base image for the seed VM root volume. Default is
4444
# "https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img"
4545
# when os_distribution is "ubuntu",
46-
# https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
47-
# when os_distribution is "rocky",
48-
# or
46+
# "https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2"
47+
# when os_distribution is "rocky" and os_release is "9",
48+
# "https://dl.rockylinux.org/pub/rocky/10/images/x86_64/Rocky-10-GenericCloud-Base.latest.x86_64.qcow2"
49+
# when os_distribution is "rocky" and os_release is "10",
4950
# "https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2"
51+
# when os_distribution is "centos" and os_release is "9-stream", or
52+
# "https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-10-latest.x86_64.qcow2"
5053
# otherwise.
5154
seed_vm_root_image: >-
5255
{%- if os_distribution == 'ubuntu' %}
5356
https://cloud-images.ubuntu.com/noble/current/noble-server-cloudimg-amd64.img
5457
{%- elif os_distribution == 'rocky' %}
58+
{%- if os_release == '9' %}
5559
https://dl.rockylinux.org/pub/rocky/9/images/x86_64/Rocky-9-GenericCloud.latest.x86_64.qcow2
5660
{%- else -%}
61+
https://dl.rockylinux.org/pub/rocky/10/images/x86_64/Rocky-10-GenericCloud-Base.latest.x86_64.qcow2
62+
{%- endif %}
63+
{%- else -%}
64+
{%- if os_release == '9-stream' %}
5765
https://cloud.centos.org/centos/9-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-9-latest.x86_64.qcow2
66+
{%- else -%}
67+
https://cloud.centos.org/centos/10-stream/x86_64/images/CentOS-Stream-GenericCloud-x86_64-10-latest.x86_64.qcow2
68+
{%- endif %}
5869
{%- endif %}
5970

6071
# Capacity of the seed VM data volume.

ansible/roles/kolla-ansible/vars/RedHat.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@ kolla_ansible_package_dependencies:
55
- git
66
- libffi-devel
77
- openssl-devel
8-
- python3.12
9-
- python3.12-devel
8+
- "{{ 'python3.12' if ansible_facts.distribution_major_version == '9' else 'python3' }}"
9+
- "{{ 'python3.12-devel' if ansible_facts.distribution_major_version == '9' else 'python3-devel' }}"
1010
- rsync

ansible/seed-vm-provision.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -131,4 +131,4 @@
131131
state: started
132132
# NOTE: Ensure we exceed the 5 minute DHCP timeout of the eth0
133133
# interface if necessary.
134-
timeout: 360
134+
timeout: "{{ seed_vm_provision_timeout | default(360) | int }}"

ansible/tuned.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,4 +13,3 @@
1313
become: true
1414
when:
1515
- tuned_active_builtin_profile != ""
16-
- ansible_facts.os_family == 'RedHat'

doc/source/configuration/reference/hosts.rst

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -690,8 +690,6 @@ Tuned
690690
*tags:*
691691
| ``tuned``
692692
693-
.. note:: Tuned configuration only supports CentOS/Rocky systems for now.
694-
695693
Built-in ``tuned`` profiles can be applied to hosts. The following variables
696694
can be used to set a ``tuned`` profile to specific types of hosts:
697695

@@ -1240,7 +1238,7 @@ are relevant only when using the libvirt daemon rather than the
12401238
Default is ``true``.
12411239
``compute_libvirt_ceph_repo_release``
12421240
Ceph package repository release to install on CentOS and Rocky hosts when
1243-
``compute_libvirt_ceph_repo_install`` is ``true``. Default is ``pacific``.
1241+
``compute_libvirt_ceph_repo_install`` is ``true``. Default is ``squid``.
12441242

12451243
Example: custom libvirtd.conf
12461244
-----------------------------

doc/source/configuration/reference/os-distribution.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ or ``rocky`` or ``ubuntu``, and defaults to ``rocky``.
1515

1616
The ``os_release`` variable in ``etc/kayobe/globals.yml`` can be used to set
1717
the release of the OS. When ``os_distribution`` is set to ``centos`` it may be
18-
set to ``9-stream``, and this is its default value. When ``os_distribution`` is
19-
set to ``ubuntu`` it may be set to ``noble``, and this is its default value.
20-
When ``os_distribution`` is set to ``rocky`` it may be set to ``9``, and this
21-
is its default value.
18+
set to ``9-stream`` or ``10-stream``, and ``9-stream`` is its default value.
19+
When ``os_distribution`` is set to ``rocky`` it may be set to ``9`` or ``10``,
20+
and ``9`` is its default value. When ``os_distribution`` is set to ``ubuntu``
21+
it may be set to ``noble``, and this is its default value.
2222

2323
These variables are used to set various defaults, including:
2424

0 commit comments

Comments
 (0)