Browse code

Merge "Install openstackclient after other services"

Jenkins authored on 2015/02/24 13:14:54
Showing 1 changed files
... ...
@@ -728,14 +728,6 @@ fi
728 728
 # Install middleware
729 729
 install_keystonemiddleware
730 730
 
731
-# install the OpenStack client, needed for most setup commands
732
-if use_library_from_git "python-openstackclient"; then
733
-    git_clone_by_name "python-openstackclient"
734
-    setup_dev_lib "python-openstackclient"
735
-else
736
-    pip_install 'python-openstackclient>=1.0.2'
737
-fi
738
-
739 731
 
740 732
 if is_service_enabled keystone; then
741 733
     if [ "$KEYSTONE_AUTH_HOST" == "$SERVICE_HOST" ]; then
... ...
@@ -810,13 +802,22 @@ if is_service_enabled tls-proxy || [ "$USE_SSL" == "True" ]; then
810 810
     # don't be naive and add to existing line!
811 811
 fi
812 812
 
813
-
814 813
 # Extras Install
815 814
 # --------------
816 815
 
817 816
 # Phase: install
818 817
 run_phase stack install
819 818
 
819
+
820
+# install the OpenStack client, needed for most setup commands
821
+if use_library_from_git "python-openstackclient"; then
822
+    git_clone_by_name "python-openstackclient"
823
+    setup_dev_lib "python-openstackclient"
824
+else
825
+    pip_install 'python-openstackclient>=1.0.2'
826
+fi
827
+
828
+
820 829
 if [[ $TRACK_DEPENDS = True ]]; then
821 830
     $DEST/.venv/bin/pip freeze > $DEST/requires-post-pip
822 831
     if ! diff -Nru $DEST/requires-pre-pip $DEST/requires-post-pip > $DEST/requires.diff; then