diff --git a/.zuul.yaml b/.zuul.yaml index 5bc6a8b424..e45ff8febc 100644 --- a/.zuul.yaml +++ b/.zuul.yaml @@ -58,6 +58,16 @@ nodes: - controller +- nodeset: + name: devstack-single-node-centos-8-stream + nodes: + - name: controller + label: centos-8-stream + groups: + - name: tempest + nodes: + - controller + - nodeset: name: devstack-single-node-opensuse-15 nodes: @@ -591,6 +601,14 @@ voting: false timeout: 9000 +- job: + name: devstack-platform-centos-8-stream + parent: tempest-full-py3 + description: CentOS 8 Stream platform test + nodeset: devstack-single-node-centos-8-stream + voting: false + timeout: 9000 + - job: name: devstack-async parent: tempest-full-py3 @@ -704,6 +722,7 @@ - devstack-ipv6 - devstack-platform-fedora-latest - devstack-platform-centos-8 + - devstack-platform-centos-8-stream - devstack-async - devstack-multinode - devstack-unit-tests diff --git a/lib/nova_plugins/functions-libvirt b/lib/nova_plugins/functions-libvirt index d3827c30dd..58adde7cd4 100644 --- a/lib/nova_plugins/functions-libvirt +++ b/lib/nova_plugins/functions-libvirt @@ -81,7 +81,17 @@ function install_libvirt { install_package qemu-kvm install_package libvirt libvirt-devel - if is_arch "aarch64"; then + if is_arch "x86_64"; then + # NOTE(yoctozepto): recent edk2-ovmf on CentOS Stream 8 x86_64 started failing with + # "libvirt.libvirtError: internal error: unknown feature amd-sev-es", + # so reinstall a known working version until the relevant bugs get fixed: + # * https://bugzilla.redhat.com/show_bug.cgi?id=1961558 + # * https://bugzilla.redhat.com/show_bug.cgi?id=1961562 + # TODO(yoctozepto): Remove this code when the time is right. + if [ "$os_VENDOR" = "CentOSStream" ]; then + install_package edk2-ovmf-20200602gitca407c7246bf-4.el8 + fi + elif is_arch "aarch64"; then install_package edk2.git-aarch64 fi