Install quantumclient from git before quantum.
There is an issue with installing git dependency_links via
setuptools develop command. We're working on it generally,
but for now this will make quantum happier with devstack.
Change-Id: I8df88f4bca9f2b43b1d56fc7e77e26793b4c4b9f
diff --git a/stack.sh b/stack.sh
index fa59769..5f7b9b8 100755
--- a/stack.sh
+++ b/stack.sh
@@ -646,14 +646,13 @@
# django powered web control panel for openstack
git_clone $HORIZON_REPO $HORIZON_DIR $HORIZON_BRANCH $HORIZON_TAG
fi
+if is_service_enabled quantum; then
+ git_clone $QUANTUM_CLIENT_REPO $QUANTUM_CLIENT_DIR $QUANTUM_CLIENT_BRANCH
+fi
if is_service_enabled q-svc; then
# quantum
git_clone $QUANTUM_REPO $QUANTUM_DIR $QUANTUM_BRANCH
fi
-if is_service_enabled quantum; then
- git_clone $QUANTUM_CLIENT_REPO $QUANTUM_CLIENT_DIR $QUANTUM_CLIENT_BRANCH
-fi
-
if is_service_enabled m-svc; then
# melange
git_clone $MELANGE_REPO $MELANGE_DIR $MELANGE_BRANCH
@@ -684,12 +683,12 @@
if is_service_enabled horizon; then
cd $HORIZON_DIR; sudo python setup.py develop
fi
-if is_service_enabled q-svc; then
- cd $QUANTUM_DIR; sudo python setup.py develop
-fi
if is_service_enabled quantum; then
cd $QUANTUM_CLIENT_DIR; sudo python setup.py develop
fi
+if is_service_enabled q-svc; then
+ cd $QUANTUM_DIR; sudo python setup.py develop
+fi
if is_service_enabled m-svc; then
cd $MELANGE_DIR; sudo python setup.py develop
fi