Skip to content

Commit 5ac223f

Browse files
committed
2025.1 Fix container image builds, pin OVS & OVN
1 parent 1371b6c commit 5ac223f

File tree

8 files changed

+37
-20
lines changed

8 files changed

+37
-20
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
# Custom APT preferences for Ubuntu-based kolla container image builds
2+
# Pin openvswitch packages to 3.3 (latest LTS release)
3+
Package: openvswitch-* python3-openvswitch
4+
Pin: version 3.3.*
5+
Pin-Priority: 1001
6+
7+
# Pin OVN packages to 24.03 (latest LTS release)
8+
Package: ovn-*
9+
Pin: version 24.03.*
10+
Pin-Priority: 1001

etc/kayobe/kolla-image-tags.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
# Dict of Kolla image tags to deploy for each service.
33
# Each key is the tag variable prefix name, and the value is another dict,
44
# where the key is the OS distro and the value is the tag to deploy.
5-
# TODO: Rebuild epoxy images
65
kolla_image_tags:
76
openstack:
8-
rocky-9: 2025.1-rocky-9-20250611T085217
9-
ubuntu-noble: 2025.1-ubuntu-noble-20250611T085217
7+
rocky-9: 2025.1-rocky-9-20250613T131221
8+
ubuntu-noble: 2025.1-ubuntu-noble-20250613T131221

etc/kayobe/kolla.yml

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -134,24 +134,14 @@ kolla_sources:
134134
type: git
135135
location: https://github.com/stackhpc/magnum.git
136136
reference: stackhpc/{{ openstack_release }}
137-
neutron-base-plugin-networking-generic-switch:
138-
type: git
139-
location: https://github.com/stackhpc/networking-generic-switch.git
140-
reference: stackhpc/{{ openstack_release }}
141-
# FIXME: check whether we want to build from upstream master of a downstream
142-
# 2025.1 branch e.g.
143-
# location: https://github.com/stackhpc/networking-mlnx.git
144-
# reference: stackhpc/{{ openstack_release }}
145137
neutron-server-plugin-networking-mlnx:
146138
type: git
147-
location: https://opendev.org/x/networking-mlnx
148-
reference: master
139+
location: https://github.com/stackhpc/networking-mlnx.git
140+
reference: stackhpc/{{ openstack_release }}
149141
nova-compute-plugin-networking-mlnx:
150142
type: git
151-
location: https://opendev.org/x/networking-mlnx
152-
reference: master
153-
# FIXME: Check whether we want to build from downstream stackhpc/master,
154-
# stackhpc/2025.1, or upstream epoxy or master
143+
location: https://github.com/stackhpc/networking-mlnx.git
144+
reference: stackhpc/{{ openstack_release }}
155145
blazar-base:
156146
type: git
157147
location: https://github.com/stackhpc/blazar.git
@@ -360,7 +350,6 @@ kolla_build_customizations_common:
360350
- python3-ethtool
361351
neutron_mlnx_agent_pip_packages_override:
362352
- networking-mlnx@git+https://opendev.org/x/networking-mlnx@master
363-
364353
kolla_build_customizations_rocky:
365354
base_centos_yum_repo_packages_append:
366355
- centos-release-ceph-squid
@@ -369,6 +358,10 @@ kolla_build_customizations_rocky:
369358
base_centos_yum_repos_to_disable_remove:
370359
- centos-ceph-reef
371360
- epel
361+
- centos9-nfv-ovs
362+
- centos9-opstools
363+
- centos9-rabbitmq
364+
- centos9-storage
372365
kolla_toolbox_packages_remove:
373366
- openvswitch
374367
kolla_toolbox_packages_append:
@@ -389,6 +382,8 @@ kolla_build_customizations_rocky:
389382
nova_base_packages_append:
390383
- openvswitch3.3
391384
- python3-openvswitch3.3
385+
nova_libvirt_packages_remove:
386+
- openvswitch
392387
octavia_base_packages_remove:
393388
- python3-openvswitch
394389
openvswitch_base_packages_remove:

etc/kayobe/kolla/kolla-build.conf

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,12 @@
44
{# This tag should be updated when Ubuntu package repo snapshot versions are changed. #}
55
{% if kolla_base_distro == 'ubuntu' %}
66
base_tag = noble-20241118.1
7+
apt_preferences = {{ lookup('env', 'KAYOBE_CONFIG_PATH') }}/environments/ci-builder/builder-apt-preferences
78
{# Similarly pinning to Rocky 9 minor version used in our repos #}
89
{% elif kolla_base_distro == 'rocky' %}
910
base_tag = 9.{{ stackhpc_pulp_repo_rocky_9_minor_version }}
11+
# NOTE(Alex-Welsh): rpm_setup_config is intentionally left blank to override defaults
12+
rpm_setup_config =
1013
{% endif %}
1114
build_args = {{ (kolla_build_args | default({})).items() | map('join', ':') | join(',') }}
1215

etc/kayobe/pulp-repo-versions.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ stackhpc_pulp_repo_rhel_9_influxdb_version: 20250529T023704
2121
stackhpc_pulp_repo_rhel_9_mariadb_10_11_version: 20250523T014203
2222
stackhpc_pulp_repo_rhel_9_rabbitmq_erlang_version: 20240711T091318
2323
stackhpc_pulp_repo_rhel_9_rabbitmq_server_version: 20240711T091318
24-
stackhpc_pulp_repo_rhel_9_treasuredata_5_version: 20241115T002028
24+
stackhpc_pulp_repo_rhel_9_treasuredata_5_version: 20250516T002449
2525
stackhpc_pulp_repo_rocky_9_1_appstream_version: 20231207T013715
2626
stackhpc_pulp_repo_rocky_9_1_baseos_version: 20231206T014015
2727
stackhpc_pulp_repo_rocky_9_1_crb_version: 20231211T120328

etc/kayobe/stackhpc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ stackhpc_repo_elrepo_9_version: "{{ stackhpc_repo_distribution }}"
141141

142142
# Kolla source repository.
143143
stackhpc_kolla_source_url: "https://github.com/stackhpc/kolla"
144-
stackhpc_kolla_source_version: stackhpc/20.0.0.3
144+
stackhpc_kolla_source_version: stackhpc/20.0.0.12
145145

146146
# Kolla Ansible source repository.
147147
stackhpc_kolla_ansible_source_url: "https://github.com/stackhpc/kolla-ansible"
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
Open vSwitch has been pinned to the latest LTS release (3.3) in Ubuntu
5+
Noble container images.
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
features:
3+
- |
4+
OVN has been pinned to the latest LTS release (24.03) in Ubuntu
5+
Noble container images.

0 commit comments

Comments
 (0)