Pin python-cinderclient to 4.3.0. 18/61718/1 v0.43.1
authorAnil Belur <abelur@linuxfoundation.org>
Fri, 13 Sep 2019 07:28:33 +0000 (12:58 +0530)
committerAnil Belur <abelur@linuxfoundation.org>
Fri, 13 Sep 2019 07:28:33 +0000 (12:58 +0530)
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 <abelur@linuxfoundation.org>
releasenotes/notes/pin-python-cinderclient-4.3.0-5c0a9cdf2cc5ca0d.yaml [new file with mode: 0644]
shell/python-tools-install.sh

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 (file)
index 0000000..d528652
--- /dev/null
@@ -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
index 603fece..be6d181 100644 (file)
@@ -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