Browse code

Unwedge stable/icehouse gate by capping recent releases

python-openstackclient and pycadf both released versions that included the
bump of oslo.serialization to >=1.2.0, which is greater than the max version
in stable/icehouse, so boom.

In order to fix these the following needs to be done:
* manually cap python-openstackclient in DevStack to 1.0.1
* cap pycadf in keystone and nova to 0.6.0

With the gate wedged as such, this review does the first of these, then
forcibly re-installs pycadf after both keystone and nova are installed
to foce version 0.6.0. This should unwedge things long enough to get
proper caps into global-requirements and keysotne and nova.

Closes-bug: #1412627
Change-Id: Id5a53eaf3da86932999d62e51d07f7015b0ab53a

Dean Troyer authored on 2015/01/20 12:24:17
Showing 3 changed files
... ...
@@ -427,6 +427,10 @@ function install_keystone {
427 427
     if is_apache_enabled_service key; then
428 428
         install_apache_wsgi
429 429
     fi
430
+
431
+    # FIXME(dtroyer): Work around a pycadf release that breaks icehouse
432
+    #                 Remove once a proper cap is in requirements.txt
433
+    pip_install 'pycadf==0.6.0'
430 434
 }
431 435
 
432 436
 # start_keystone() - Start running processes, including screen
... ...
@@ -692,6 +692,10 @@ function install_nova {
692 692
     git_clone $NOVA_REPO $NOVA_DIR $NOVA_BRANCH
693 693
     setup_develop $NOVA_DIR
694 694
     sudo install -D -m 0644 -o $STACK_USER {$NOVA_DIR/tools/,/etc/bash_completion.d/}nova-manage.bash_completion
695
+
696
+    # FIXME(dtroyer): Work around a pycadf release that breaks icehouse
697
+    #                 Remove once a proper cap is in requirements.txt
698
+    pip_install 'pycadf==0.6.0'
695 699
 }
696 700
 
697 701
 # start_nova_api() - Start the API process ahead of other things
... ...
@@ -695,7 +695,7 @@ 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
-    pip_install python-openstackclient
698
+    pip_install "python-openstackclient<=1.0.1"
699 699
 fi
700 700
 
701 701
 if is_service_enabled key; then