Browse code

Install openstackclient after other services

Let's see whether openstackclient will trigger unneeded version bump for
clients if its installation is put below all other services that are
expected to intall client libraries on proper versions on their own.

Conflicts:
stack.sh

Change-Id: Ifa774219b7057112fc794a5e3d93bc963c55ba90
(cherry picked from commit 1ffa33210def38e488b8887c69b70faad5965a00)

Ihar Hrachyshka authored on 2015/02/21 00:23:15
Showing 1 changed files
... ...
@@ -780,15 +780,6 @@ fi
780 780
 # Install middleware
781 781
 install_keystonemiddleware
782 782
 
783
-# install the OpenStack client, needed for most setup commands
784
-if use_library_from_git "python-openstackclient"; then
785
-    git_clone_by_name "python-openstackclient"
786
-    setup_dev_lib "python-openstackclient"
787
-else
788
-    pip_install 'python-openstackclient==1.0.1'
789
-fi
790
-
791
-
792 783
 if is_service_enabled key; then
793 784
     if [ "$KEYSTONE_AUTH_HOST" == "$SERVICE_HOST" ]; then
794 785
         install_keystone
... ...
@@ -862,7 +853,6 @@ if is_service_enabled tls-proxy || [ "$USE_SSL" == "True" ]; then
862 862
     # don't be naive and add to existing line!
863 863
 fi
864 864
 
865
-
866 865
 # Extras Install
867 866
 # --------------
868 867
 
... ...
@@ -873,6 +863,16 @@ if [[ -d $TOP_DIR/extras.d ]]; then
873 873
     done
874 874
 fi
875 875
 
876
+
877
+# install the OpenStack client, needed for most setup commands
878
+if use_library_from_git "python-openstackclient"; then
879
+    git_clone_by_name "python-openstackclient"
880
+    setup_dev_lib "python-openstackclient"
881
+else
882
+    pip_install 'python-openstackclient==1.0.1'
883
+fi
884
+
885
+
876 886
 if [[ $TRACK_DEPENDS = True ]]; then
877 887
     $DEST/.venv/bin/pip freeze > $DEST/requires-post-pip
878 888
     if ! diff -Nru $DEST/requires-pre-pip $DEST/requires-post-pip > $DEST/requires.diff; then