devstack: install qemu-kvm on RHEL-based distros
On these systems, asking to install qemu will bring in the default OS older version, which causes problem with nova, for more details: https://review.openstack.org/#/c/438325 Ask for qemu-kvm instead, which should install the proper version Change-Id: I60eca649ca1ae53c341d68670d4ab1f3559ac31d Related-Bug: #1668164
This commit is contained in:
parent
3251ee0598
commit
8aa15008bb
|
@ -9,7 +9,15 @@ function octavia_install {
|
||||||
setup_develop $OCTAVIA_DIR
|
setup_develop $OCTAVIA_DIR
|
||||||
if [ $OCTAVIA_NODE == 'main' ] || [ $OCTAVIA_NODE == 'standalone' ] ; then
|
if [ $OCTAVIA_NODE == 'main' ] || [ $OCTAVIA_NODE == 'standalone' ] ; then
|
||||||
if ! [ "$DISABLE_AMP_IMAGE_BUILD" == 'True' ]; then
|
if ! [ "$DISABLE_AMP_IMAGE_BUILD" == 'True' ]; then
|
||||||
install_package qemu kpartx
|
install_package kpartx
|
||||||
|
if [[ ${DISTRO} =~ "rhel7" ]]; then
|
||||||
|
# Installing qemu would bring in the default OS qemu package,
|
||||||
|
# which is too old for Pike and later releases
|
||||||
|
# See https://review.openstack.org/#/c/438325 for details
|
||||||
|
install_package qemu-kvm
|
||||||
|
else
|
||||||
|
install_package qemu
|
||||||
|
fi
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue