devstack-plugin-tobiko/roles/devstack-tobiko-centos/tasks/main.yaml
Slawek Kaplonski b45374b91a Downgrade edk2-ovmf package on CentOS CI nodes
It's to workaround issue with missing support for amd-sev-es
feature by cpu used on some cloud providers.
This is actually libvirt issue, and it shouldn't fail to spawn vms in
such case. Please check bugzilla [1] for more details.
According to [1] to workaround that bug edk2-ovmf package can be
downgraded to the previous version and this is what that patch is doing.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1961562

Change-Id: I076fa17852f38afce59107899197b4da4f36596a
2021-06-10 14:25:51 +00:00

15 lines
332 B
YAML

---
- name: Downgrade edk2-ovmf package to workaround BZ 1961558
become: true
dnf:
name: 'edk2-ovmf-20200602gitca407c7246bf-4.el8'
state: present
allow_downgrade: true
- name: Pin edk2-ovmf version
become: true
shell: |
set -e
dnf install -y 'dnf-command(versionlock)'
dnf versionlock add edk2-ovmf