Install pymemcache in devstack when needed

In case VITRAGE_COORDINATION_URL is set to memcached, we need to
ensure that all dependencies are met inside the venv.

Change-Id: I78353ccec3074a10e10dad5c6583456016d962a1
This commit is contained in:
Dmitriy Rabotyagov 2024-01-15 12:30:21 +01:00
parent f200b8df2a
commit 0d1d6cd548
1 changed files with 4 additions and 0 deletions

View File

@ -273,6 +273,10 @@ function install_vitrage {
if [[ "$VITRAGE_DEPLOY" == "mod_wsgi" ]]; then
install_apache_wsgi
fi
# Install reqs for tooz driver
if [[ "$VITRAGE_COORDINATION_URL" =~ "memcached" ]]; then
pip_install_gr "pymemcache"
fi
}
# install_vitrageclient()