From 7cdb85935ffbdeb1f0b82c0df6d964ff6bc27799 Mon Sep 17 00:00:00 2001 From: Anil Belur Date: Fri, 13 Sep 2019 12:58:33 +0530 Subject: [PATCH] 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 --- .../pin-python-cinderclient-4.3.0-5c0a9cdf2cc5ca0d.yaml | 15 +++++++++++++++ shell/python-tools-install.sh | 1 + 2 files changed, 16 insertions(+) create mode 100644 releasenotes/notes/pin-python-cinderclient-4.3.0-5c0a9cdf2cc5ca0d.yaml 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 -- 2.16.6