Fix Recent Failure in Jobs 13/72413/2
authorgvrangan <venkatrangang@hcl.com>
Wed, 30 May 2018 02:00:30 +0000 (07:30 +0530)
committerSam Hague <shague@redhat.com>
Tue, 29 May 2018 12:57:14 +0000 (12:57 +0000)
Failure: Failed to install Openstack Client
Reason: recent version of cmd2 having problems
Fix: Make cmd2 version as 0.8.5 (last known stable version)

JIRA: RELENG-977
Change-Id: Iea2a3bd8cd6a58fc9b8bbe50f3651108964aa044
Signed-off-by: gvrangan <venkatrangang@hcl.com>
jjb/opendaylight-infra-stack.sh

index 381f9bec3f6a981992609e3d8d8f9359290a72b9..af5d2fa13ed7e5bc1034242eb184af610d349717 100644 (file)
@@ -13,7 +13,9 @@ virtualenv "/tmp/v/openstack"
 # shellcheck source=/tmp/v/openstack/bin/activate disable=SC1091
 source "/tmp/v/openstack/bin/activate"
 pip install --upgrade "pip<10.0.0" setuptools
-pip install --upgrade python-openstackclient python-heatclient
+# hardcoding cmd2 version as the most recent version seems to be broken.
+# reference: https://pypi.org/project/cmd2/#history
+pip install --upgrade cmd2==0.8.5 python-openstackclient python-heatclient
 pip freeze
 
 cd /builder/openstack-hot || exit 1