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
This commit is contained in:
Jeffrey Zhang 2018-05-30 16:00:58 +08:00
parent 295f6c7ee7
commit 4ab76ed9e1

View File

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