devstack: Fix missing manila command

Ensure manila command is available in PATH when GLOBAL_VENV is True.
This is required to fix the grenade job which still used manila
commands.

Change-Id: I2445bbc3769e283aaaef76803b2b9630279def91
(cherry picked from commit 35c6ca5e20)
(cherry picked from commit a1706e52a1)
This commit is contained in:
Takashi Kajinami 2024-10-18 10:08:50 +09:00
parent 4aeb4be69a
commit b7dfe6173f

View File

@ -732,6 +732,9 @@ function install_manilaclient {
else else
pip_install python-manilaclient pip_install python-manilaclient
fi fi
if [[ "$GLOBAL_VENV" == "True" ]]; then
sudo ln -sf /opt/stack/data/venv/bin/manila /usr/local/bin
fi
} }
# install_manila - Collect source and prepare # install_manila - Collect source and prepare