diff options
| author | Ilya Shakhat <shakhat@gmail.com> | 2018-10-17 12:20:28 +0200 |
|---|---|---|
| committer | Ilya Shakhat <shakhat@gmail.com> | 2018-10-17 13:37:26 +0200 |
| commit | 1786f65e06934eb0a059022eabbdbc5e8d5ecfa2 (patch) | |
| tree | 40d8674a358463e002b2e0cc2b57da96cb76b026 /devstack | |
| parent | 0984e088a374b5c70d33ec8e12950dd62ddabbd4 (diff) | |
| download | osprofiler-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/osprofiler | 8 |
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() { |
