Skip to content

Commit

Permalink
Ubuntu: bump OVN packages
Browse files Browse the repository at this point in the history
The OVN packages in Ubuntu Yoga UCA repository are quite old - 22.03.
This version does not work with OVN native DHCP for external (bare
metal/SR-IOV) ports. We see the following warning in OVN controller
logs:

  Syntax error at `next_server' expecting DHCPv4 option name.

Pull in these packages from the Zed UCA, which are 22.09, to more
closely match the CentOS packages.
  • Loading branch information
markgoddard committed Sep 20, 2023
1 parent 3890414 commit fe13512
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 0 deletions.
19 changes: 19 additions & 0 deletions etc/kayobe/kolla.yml
Original file line number Diff line number Diff line change
Expand Up @@ -327,6 +327,25 @@ kolla_build_blocks:
echo '{{ repo }}' >> /etc/apt/sources.list {% if not loop.last %} && \
{% endif %}
{% endfor %}
# NOTE: The OVN packages in the Ubuntu Yoga UCA repository are quite old -
# 22.03. This version does not work with OVN native DHCP for external (bare
# metal/SR-IOV) ports. We see the following warning in OVN controller logs:
# Syntax error at `next_server' expecting DHCPv4 option name.
# Pull in these packages from the Zed UCA repo, 22.09, to more closely match
# the CentOS packages.
base_debian_after_sources_list: |
RUN echo "\
deb http://ubuntu-cloud.archive.canonical.com/ubuntu jammy-updates/zed main"\
> /etc/apt/sources.list.d/uca-zed.list
RUN echo "\
Package: *\n\
Pin: release jammy-updates/zed\n\
Pin-Priority: -1\n\
\n\
Package: ovn*\n\
Pin: release jammy-updates/zed\n\
Pin-Priority: 500"\
> /etc/apt/preferences.d/uca-zed
footer: |
{% if stackhpc_kolla_clean_up_repo_mirrors | bool %}
{% if kolla_base_distro in ['centos', 'rocky'] %}
Expand Down
1 change: 1 addition & 0 deletions etc/kayobe/kolla/globals.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,7 @@ kayobe_image_tags:
rocky: yoga-20230515T150233
ovn:
rocky: yoga-20230515T150233
ubuntu: TODO
prometheus_node_exporter:
rocky: yoga-20230315T170614

Expand Down
8 changes: 8 additions & 0 deletions releasenotes/notes/ovn-ubuntu-22.09-8a5168bcc1df3828.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
upgrade:
- |
Updates OVN containers to include OVN version 22.09.
fixes:
- |
Fixes an issue with DHCP for OVN external (bare metal or SR-IOV) ports.
This requires OVN services to be redeployed.

0 comments on commit fe13512

Please sign in to comment.