Exclude buggy edk2-ovmf for t/u/v container-build

c8-stream currently contains two versions of edk2-ovmf, We are
excluding edk2-ovmf-20200602gitca407c7246bf-5 so we use the
lower version edk2-ovmf-20200602gitca407c7246bf-4.el8

This is recommended from compute team that we keep using old version
until bz1961562 [2] is fixed. Fix will come in libvirt[2].

We fixed the check job using [3]. Periodic container build job don't
utilize repos from tripleo-quickstart release file, AppStream.repo
seems coming from configure-mirrors[4] role.

Creating a task here to include the exclude for buggy edk2-ovmf
version.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1961562
[2] 61d95a1073
[3] https://review.opendev.org/c/openstack/tripleo-quickstart/+/793098
[4] https://opendev.org/zuul/zuul-jobs/src/branch/master/roles/configure-mirrors/tasks/mirror/CentOSStream-8.yaml#L10

Closes-Bug: #1929634
Change-Id: I843aee754b29a49ec5a2c88af1bda7bce7a60aee
This commit is contained in:
Sandeep Yadav 2021-05-31 21:04:02 +05:30
parent 3f9eb85616
commit b0747d54d2
1 changed files with 9 additions and 0 deletions

View File

@ -74,6 +74,15 @@
is_stream_node: true
when: "os_name_output.stdout_lines[0]| regex_search('(S|s)tream$')"
# Remove this task once rh bz 1961562 is fixed.
- name: Add edk2 on exclude list for AppStream repo
become: true
lineinfile:
path: /etc/yum.repos.d/CentOS-Stream-AppStream.repo
line: 'exclude=edk2-ovmf-20200602gitca407c7246bf-5*'
insertafter: EOF
when: release is defined and release in ['train', 'ussuri', 'victoria']
- name: Install repos
become: true
shell: |