From 1786f65e06934eb0a059022eabbdbc5e8d5ecfa2 Mon Sep 17 00:00:00 2001 From: Ilya Shakhat Date: Wed, 17 Oct 2018 12:20:28 +0200 Subject: [PATCH] In DevStack install Redis client library via pip, not as system package System package name depends on Python version, while pip library name is uniform for both py2 and py3. Change-Id: I7ba7db61d2b07af4b880393bc0463d733f34f8cf --- devstack/lib/osprofiler | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/devstack/lib/osprofiler b/devstack/lib/osprofiler index 607a2f4..cd73a4e 100644 --- a/devstack/lib/osprofiler +++ b/devstack/lib/osprofiler @@ -42,16 +42,18 @@ done function install_redis() { if is_fedora; then - install_package redis python-redis + install_package redis elif is_ubuntu; then - install_package redis-server python-redis + install_package redis-server elif is_suse; then - install_package redis python-redis + install_package redis else exit_distro_not_supported "redis installation" fi start_service redis + + pip_install_gr redis } function install_osprofiler_collector() {