summaryrefslogtreecommitdiff
path: root/devstack
diff options
context:
space:
mode:
authorIlya Shakhat <shakhat@gmail.com>2018-10-17 12:20:28 +0200
committerIlya Shakhat <shakhat@gmail.com>2018-10-17 13:37:26 +0200
commit1786f65e06934eb0a059022eabbdbc5e8d5ecfa2 (patch)
tree40d8674a358463e002b2e0cc2b57da96cb76b026 /devstack
parent0984e088a374b5c70d33ec8e12950dd62ddabbd4 (diff)
downloadosprofiler-1786f65e06934eb0a059022eabbdbc5e8d5ecfa2.tar.gz
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
Diffstat (limited to 'devstack')
-rw-r--r--devstack/lib/osprofiler8
1 files 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() {