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>
--- /dev/null
+---
+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
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