Skip to content

Commit a8c0cc1

Browse files
committed
Ubuntu: bump OVS and OVN packages
The Open vSwitch and OVN packages in Ubuntu Wallaby UCA repository are quite old - 2.15 and 20.12 respectively. Pull in these packages from the Yoga UCA, which are 2.17 and 22.03, to more closely match the CentOS packages.
1 parent f385b6e commit a8c0cc1

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

0 commit comments

Comments
 (0)