Skip to content

Commit 7d43808

Browse files
authored
Merge pull request #200 from stackhpc/wallaby-ubuntu-ovn-bump
Ubuntu: bump OVS and OVN packages
2 parents 48f4b85 + a8c0cc1 commit 7d43808

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

etc/kayobe/kolla.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -220,6 +220,27 @@ kolla_build_blocks:
220220
-e 's/^[# ]*\(baseurl *=.*\)/#\1/g' \
221221
-e '/#baseurl.*/a baseurl={{ repo.url }}' /etc/yum.repos.d/{{ repo.file }}{% if not loop.last %} &&{% endif %} \
222222
{% endfor %}
223+
# NOTE: The Open vSwitch and OVN packages in Ubuntu Wallaby UCA repository
224+
# are quite old - 2.15 and 20.12 respectively. Pull in these packages from
225+
# the Yoga UCA, which are 2.17 and 22.03, to more closely match the CentOS
226+
# packages.
227+
base_debian_after_sources_list: |
228+
RUN echo "\
229+
deb http://ubuntu-cloud.archive.canonical.com/ubuntu focal-updates/yoga main"\
230+
> /etc/apt/sources.list.d/uca-yoga.list
231+
RUN echo "\
232+
Package: *\n\
233+
Pin: release focal-updates/yoga\n\
234+
Pin-Priority: -1\n\
235+
\n\
236+
Package: ovn*\n\
237+
Pin: release focal-updates/yoga\n\
238+
Pin-Priority: 500\n\
239+
\n\
240+
Package: openvswitch* python3-openvswitch\n\
241+
Pin: release focal-updates/yoga\n\
242+
Pin-Priority: 500"\
243+
> /etc/apt/preferences.d/uca-yoga
223244
# NOTE: Not currently syncing Ubuntu packages, since the on_demand mirror in
224245
# Ark does not work if the upstream mirror pulls packages (which it does
225246
# sometimes).

0 commit comments

Comments
 (0)