Browse code

Unwedge stable/icehouse by manually installing a capped novaclient

Install novaclient prior to OSC, as per GR. This avoids OSC's
uncapped requirements pulling in a newer novaclient, which requires
a keystoneclient version conflicting with stable/icehouse.

This can be removed once work is complete to install OSC into a
venv.

Change-Id: Id43b249f3d685ec0ffe0a892fe8461a2ab0415db
Related-bug: #1423753

Adam Gandelman authored on 2015/02/20 12:24:22
Showing 1 changed files
... ...
@@ -695,6 +695,16 @@ if use_library_from_git "python-openstackclient"; then
695 695
     git_clone_by_name "python-openstackclient"
696 696
     setup_dev_lib "python-openstackclient"
697 697
 else
698
+    # FIXME(adam)g: Work around a gate wedge by installing a capped novaclient
699
+    # here, so that the following OSC installation does not pull in a newer one
700
+    # via its uncapped requirement.  This can be removed once OSC ends up in a
701
+    # venv.
702
+    pip_install "python-novaclient>=2.17.0,<2.21"
703
+
704
+    # Also install the capped neutronclient as per blocked
705
+    # https://review.openstack.org/#/c/157606/
706
+    pip_install "python-neutronclient>=2.3.4,<2.3.11"
707
+
698 708
     pip_install "python-openstackclient<=1.0.1"
699 709
 fi
700 710