summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorMatthias Runge <mrunge@redhat.com>2021-08-11 09:10:24 +0200
committerMatthias Runge <mrunge@redhat.com>2021-08-11 20:37:28 +0200
commitf57a51e43ca7a8903763cc24b1c510fa50a16b2c (patch)
tree8ae70be3ee4f027974f9f5268e0d7ef6e0ff0084 /devstack
parent14922b71d2eebcf939963d010904525b01b2897e (diff)
downloadceilometer-f57a51e43ca7a8903763cc24b1c510fa50a16b2c.tar.gz
Do not install libvirt-python on RHEL via pip
since that is already in place. Closes-Bug: #1896327 Depends-on: https://review.opendev.org/c/openstack/telemetry-tempest-plugin/+/801038 Change-Id: Ic158561b3f4d8ddcc092f4e8da1b3215f976fc98
Diffstat (limited to 'devstack')
-rw-r--r--devstack/plugin.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/devstack/plugin.sh b/devstack/plugin.sh
index ff8ee7d4..ef483677 100644
--- a/devstack/plugin.sh
+++ b/devstack/plugin.sh
@@ -97,7 +97,7 @@ function _ceilometer_prepare_coordination {
function _ceilometer_prepare_virt_drivers {
# Only install virt drivers if we're running nova compute
if is_service_enabled n-cpu ; then
- if [[ "$VIRT_DRIVER" = 'libvirt' ]]; then
+ if [[ "$VIRT_DRIVER" = 'libvirt' && "$DISTRO" != 'rhel8' ]]; then
pip_install_gr libvirt-python
fi