From: Anil Belur Date: Fri, 13 Sep 2019 07:28:33 +0000 (+0530) Subject: Pin python-cinderclient to 4.3.0. X-Git-Tag: v0.43.1^0 X-Git-Url: https://gerrit.linuxfoundation.org/infra/gitweb?a=commitdiff_plain;h=refs%2Fchanges%2F18%2F61718%2F1;p=releng%2Fglobal-jjb.git Pin python-cinderclient to 4.3.0. A new version of python-cinderclient 5.0.0 is released which breaks the openstack jobs. ImportError: No module named v1.contrib Issue: IT-17567 Change-Id: I2736c464ff82a3b08433031a5e924e1345c2c317 Signed-off-by: Anil Belur --- diff --git a/releasenotes/notes/pin-python-cinderclient-4.3.0-5c0a9cdf2cc5ca0d.yaml b/releasenotes/notes/pin-python-cinderclient-4.3.0-5c0a9cdf2cc5ca0d.yaml new file mode 100644 index 00000000..d5286523 --- /dev/null +++ b/releasenotes/notes/pin-python-cinderclient-4.3.0-5c0a9cdf2cc5ca0d.yaml @@ -0,0 +1,15 @@ +--- +fixes: + - | + Pin python-cinderclient to 4.3.0. + + A new version of python-cinderclient 5.0.0 is released which breaks the + openstack jobs. + - | + openstack --os-cloud vex limits show --absolute + Error: No module named v1.contrib + - | + Debug info shows: + File "/home/jenkins/.local/lib/python2.7/site-packages/openstackclient/volume/client.py", line 40, in make_client + from cinderclient.v1.contrib import list_extensions + ImportError: No module named v1.contrib diff --git a/shell/python-tools-install.sh b/shell/python-tools-install.sh index 603fece4..be6d1810 100644 --- a/shell/python-tools-install.sh +++ b/shell/python-tools-install.sh @@ -45,6 +45,7 @@ else echo "Generating Requirements File" cat << 'EOF' > "$requirements_file" lftools[openstack]~=0.26.2 +python-cinderclient~=4.3.0 python-heatclient~=1.16.1 python-openstackclient~=3.16.0 dogpile.cache~=0.6.8 # Version 0.7.[01] seems to break openstackclient