fi
# Install Pip for Python3
- $WORKDIR_SUDO apt install -y python3-pip
+ $WORKDIR_SUDO apt install -y python3-pip python3-venv
$WORKDIR_SUDO -H LC_ALL=C python3 -m pip install -U pip
# Create a venv to avoid conflicts with the host installation
source $OPENSTACK_PYTHON_VENV/bin/activate
- # Install Ansible, OpenStack client and SDK
+ # Install Ansible, OpenStack client and SDK, latest openstack version supported is Train
python -m pip install -U wheel
- python -m pip install -U python-openstackclient "openstacksdk>=0.12.0,<1" "ansible>=2.10,<2.11"
+ python -m pip install -U "python-openstackclient<=4.0.2" "openstacksdk>=0.12.0,<=0.36.2" "ansible>=2.10,<2.11"
# Install the Openstack cloud module (ansible>=2.10)
ansible-galaxy collection install openstack.cloud