Put upper limit on cmd2 in kolla-toolbox

This fixes an issue with cmd2 >= 0.9.0 requiring python3.

Change-Id: I5f88f0b0540785f8e7b7ab7c5252c6a51f314922
Closes-Bug: #1773938
(cherry picked from commit 4ab76ed9e1)
This commit is contained in:
Jeffrey Zhang 2018-05-30 16:00:58 +08:00
parent 6a7b9dad92
commit 5bc45ebd81
1 changed files with 1 additions and 1 deletions

View File

@ -83,7 +83,7 @@ function setup_ansible {
RAW_INVENTORY=/etc/kolla/inventory
# TODO(SamYaple): Move to virtualenv
sudo -H pip install -U "ansible>=2,<2.4" "docker-py" "python-openstackclient" "python-neutronclient" "ara"
sudo -H pip install -U "ansible>=2,<2.4" "docker-py" "python-openstackclient" "python-neutronclient" "ara" "cmd2<0.9.0"
detect_distro
sudo mkdir /etc/ansible