From fcf46e8b5db2151409a96856c5692780cc9ca59a Mon Sep 17 00:00:00 2001 From: Eli Qiao Date: Thu, 18 Aug 2016 16:24:58 +0800 Subject: [PATCH] devstack: add zun client to devstack devstack: add zun client to devstack Closes-bug: #1614421 Depends-On: I8b4e4fc25f53836c074a22421844ee52c6a80433 Change-Id: I733f3860463c77c8b7ea6c7c02dfffc5bfe37dfb --- devstack/lib/zun | 4 ++++ devstack/plugin.sh | 7 +++---- 2 files changed, 7 insertions(+), 4 deletions(-) diff --git a/devstack/lib/zun b/devstack/lib/zun index bb8cc8b69..a2ae9826a 100644 --- a/devstack/lib/zun +++ b/devstack/lib/zun @@ -33,6 +33,10 @@ ZUN_REPO=${ZUN_REPO:-${GIT_BASE}/openstack/higgins.git} ZUN_BRANCH=${ZUN_BRANCH:-master} ZUN_DIR=$DEST/higgins +GITREPO["python-zunclient"]=${ZUNCLIENT_REPO:-${GIT_BASE}/openstack/python-zunclient.git} +GITBRANCH["python-zunclient"]=${ZUNCLIENT_BRANCH:-master} +GITDIR["python-zunclient"]=$DEST/python-zunclient + ZUN_STATE_PATH=${ZUN_STATE_PATH:=$DATA_DIR/zun} ZUN_AUTH_CACHE_DIR=${ZUN_AUTH_CACHE_DIR:-/var/cache/zun} diff --git a/devstack/plugin.sh b/devstack/plugin.sh index c7516754c..0ec3e21db 100755 --- a/devstack/plugin.sh +++ b/devstack/plugin.sh @@ -13,11 +13,10 @@ if is_service_enabled zun-api zun-compute; then echo_summary "Installing zun" install_zun - # TODO - # LIBS_FROM_GIT="${LIBS_FROM_GIT},python-zunclient" - # install_zunclient - + LIBS_FROM_GIT="${LIBS_FROM_GIT},python-zunclient" + install_zunclient cleanup_zun + elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then echo_summary "Configuring zun" configure_zun