Skip to content

Commit 893b8f1

Browse files
committed
splitting build customizations
1 parent f2b8ea9 commit 893b8f1

2 files changed

Lines changed: 28 additions & 12 deletions

File tree

etc/kayobe/kolla.yml

Lines changed: 20 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -393,14 +393,14 @@ kolla_build_blocks:
393393
-e '/\[{{ repo.tag }}\]/,/^\[/ s|^\(name.*\)|\1\nbaseurl={{ repo.url }}|' /etc/yum.repos.d/{{ repo.file }}; \
394394
fi{% if not loop.last %} &&{% endif %} \
395395
{% endfor %}
396-
# NOTE(bbezak): RDO epoxy repo obsoletes many OVN versions
397-
# (see rdo-openvswitch.spec obsolete_ovn_versions:
398-
# https://git.centos.org/rpms/rdo-openvswitch/blob/c9s-sig-cloud-openstack-epoxy/f/SPECS/rdo-openvswitch.spec#L10),
399-
# which would replace our NFV OVS and OVN 24.03 LTS with 24.09. Hence exclude RDO OVN/OVS.
400-
&& \
401-
if [ -f /etc/yum.repos.d/CentOS-OpenStack-epoxy.repo ]; then \
402-
sed -i '/^\[centos-openstack-epoxy\]/a excludepkgs=*rdo-ovn*,*rdo-openvswitch*' /etc/yum.repos.d/CentOS-OpenStack-epoxy.repo; \
403-
fi \
396+
# NOTE(bbezak): RDO epoxy repo obsoletes many OVN versions
397+
# (see rdo-openvswitch.spec obsolete_ovn_versions:
398+
# https://git.centos.org/rpms/rdo-openvswitch/blob/c9s-sig-cloud-openstack-epoxy/f/SPECS/rdo-openvswitch.spec#L10),
399+
# which would replace our NFV OVS and OVN 24.03 LTS with 24.09. Hence exclude RDO OVN/OVS.
400+
&& \
401+
if [ -f /etc/yum.repos.d/CentOS-OpenStack-epoxy.repo ]; then \
402+
sed -i '/^\[centos-openstack-epoxy\]/a excludepkgs=*rdo-ovn*,*rdo-openvswitch*' /etc/yum.repos.d/CentOS-OpenStack-epoxy.repo; \
403+
fi \
404404
{% endif %}
405405
# With the UCA keyring installed we can now add all repos.
406406
base_ubuntu_package_sources_list: |
@@ -470,7 +470,9 @@ kolla_build_customizations_common:
470470
- python3-ethtool
471471
neutron_mlnx_agent_pip_packages_override:
472472
- networking-mlnx@git+https://opendev.org/x/networking-mlnx@master
473-
kolla_build_customizations_rocky:
473+
#TODO(owenjones): these are specific to RL9? Maybe we need to derive a second set
474+
#of customisations and switch between them
475+
kolla_build_customizations_rocky_9:
474476
base_centos_yum_repo_packages_append:
475477
- centos-release-ceph-squid
476478
base_centos_yum_repo_packages_remove:
@@ -523,6 +525,15 @@ kolla_build_customizations_rocky:
523525
ovn_sb_db_server_packages_override:
524526
- ovn24.03-central
525527

528+
kolla_build_customizations_rocky_10: {}
529+
530+
kolla_build_customizations_rocky: |
531+
{% if kolla_base_distro_version == '9' %}
532+
{{ kolla_build_customizations_rocky_9 | to_yaml }}
533+
{% elif kolla_base_distro_version == '10' %}
534+
{{ kolla_build_customizations_rocky_10 | to_yaml }}
535+
{% endif %}
536+
526537
kolla_build_customizations_ubuntu: {}
527538

528539
# Dict mapping image customization variable names to their values.

etc/kayobe/pulp.yml

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -682,12 +682,17 @@ stackhpc_pulp_images_kolla:
682682
- rabbitmq-4-1
683683
- redis
684684
- redis-sentinel
685+
# - valkey-server
686+
# - valkey-sentinel
685687

686688
# List of images for each base distribution which should not/cannot be built.
687689
stackhpc_kolla_unbuildable_images:
688-
ubuntu-noble: []
689-
rocky-9: []
690-
rocky-10: []
690+
ubuntu-noble: {}
691+
rocky-9: {}
692+
rocky-10:
693+
- redis
694+
- redis-sentinel
695+
# While we wait for valkey backport to 2025.1
691696

692697
# Whitespace-separated list of regular expressions matching Kolla image names.
693698
# Usage is similar to kolla-build CLI arguments.

0 commit comments

Comments
 (0)