From b8335eebe88f5ebe0c1d42344ced60e55ead3c5e Mon Sep 17 00:00:00 2001 From: Markus Zoeller Date: Tue, 26 Sep 2017 08:32:50 +0200 Subject: [PATCH] Drop support for "kvmibm" distro The IBM hypervisor distro "KVM for IBM z Systems" gets discontiued, like announced in March 2017 [1]. The key dates are: * 03/2017: announcement * 08/2017: the last day to order (EOM) * 03/2018: the End of Service (EOL) As the CI which tests OpenStack with KVM on IBM Z doesn't rely on this distro anymore and EOM has reached, we remove the Devstack support for this distro. This basically reverts commit a5ea08b of Dec 2015. NOTE: This doesn't affect other distros which have KVM on Z support. References: [1] FAQ for KVM for IBM z Systems Delivery Strategy Change https://www-01.ibm.com/common/ssi/cgi-bin/ssialias?htmlfid=ZSQ03110USEN& Change-Id: I009ae4779588615633bff81d0c47a1b879ec9279 --- functions-common | 4 +--- lib/nova_plugins/functions-libvirt | 5 ----- stack.sh | 2 +- 3 files changed, 2 insertions(+), 9 deletions(-) diff --git a/functions-common b/functions-common index c968531fd1..c6ba99e1a1 100644 --- a/functions-common +++ b/functions-common @@ -385,8 +385,6 @@ function GetDistro { DISTRO="rhel${os_RELEASE::1}" elif [[ "$os_VENDOR" =~ (XenServer) ]]; then DISTRO="xs${os_RELEASE%.*}" - elif [[ "$os_VENDOR" =~ (kvmibm) ]]; then - DISTRO="${os_VENDOR}${os_RELEASE::1}" else # We can't make a good choice here. Setting a sensible DISTRO # is part of the problem, but not the major issue -- we really @@ -440,7 +438,7 @@ function is_fedora { [ "$os_VENDOR" = "Fedora" ] || [ "$os_VENDOR" = "Red Hat" ] || \ [ "$os_VENDOR" = "RedHatEnterpriseServer" ] || \ [ "$os_VENDOR" = "CentOS" ] || [ "$os_VENDOR" = "OracleServer" ] || \ - [ "$os_VENDOR" = "Virtuozzo" ] || [ "$os_VENDOR" = "kvmibm" ] + [ "$os_VENDOR" = "Virtuozzo" ] } diff --git a/lib/nova_plugins/functions-libvirt b/lib/nova_plugins/functions-libvirt index 8d74c77517..c8527387ab 100644 --- a/lib/nova_plugins/functions-libvirt +++ b/lib/nova_plugins/functions-libvirt @@ -72,11 +72,6 @@ function install_libvirt { pip_install_gr libvirt-python #pip_install_gr elif is_fedora || is_suse; then - # On "KVM for IBM z Systems", kvm does not have its own package - if [[ ! ${DISTRO} =~ "kvmibm1" ]]; then - install_package qemu-kvm - fi - install_package libvirt libvirt-devel pip_uninstall libvirt-python pip_install_gr libvirt-python diff --git a/stack.sh b/stack.sh index c545c56de3..8632cf1378 100755 --- a/stack.sh +++ b/stack.sh @@ -221,7 +221,7 @@ write_devstack_version # Warn users who aren't on an explicitly supported distro, but allow them to # override check and attempt installation with ``FORCE=yes ./stack`` -if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|f26|opensuse-42.2|opensuse-42.3|rhel7|kvmibm1) ]]; then +if [[ ! ${DISTRO} =~ (xenial|yakkety|zesty|stretch|jessie|f24|f25|f26|opensuse-42.2|opensuse-42.3|rhel7) ]]; then echo "WARNING: this script has not been tested on $DISTRO" if [[ "$FORCE" != "yes" ]]; then die $LINENO "If you wish to run this script anyway run with FORCE=yes"