Skip to content

Commit ff828ce

Browse files
Jenkinsopenstack-gerrit
authored andcommitted
Merge "Revert "Remove python-openstackclient.""
2 parents 7f151f6 + 9f61d29 commit ff828ce

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

stack.sh

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -318,6 +318,7 @@ source $TOP_DIR/lib/tempest
318318

319319
# Set the destination directories for OpenStack projects
320320
HORIZON_DIR=$DEST/horizon
321+
OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
321322
NOVNC_DIR=$DEST/noVNC
322323
SWIFT_DIR=$DEST/swift
323324
SWIFT3_DIR=$DEST/swift3
@@ -794,6 +795,9 @@ install_keystoneclient
794795
install_glanceclient
795796
install_novaclient
796797

798+
# Check out the client libs that are used most
799+
git_clone $OPENSTACKCLIENT_REPO $OPENSTACKCLIENT_DIR $OPENSTACKCLIENT_BRANCH
800+
797801
# glance, swift middleware and nova api needs keystone middleware
798802
if is_service_enabled key g-api n-api swift; then
799803
# unified auth system (manages accounts/tokens)
@@ -859,6 +863,7 @@ echo_summary "Configuring OpenStack projects"
859863
# allowing ``import nova`` or ``import glance.client``
860864
configure_keystoneclient
861865
configure_novaclient
866+
setup_develop $OPENSTACKCLIENT_DIR
862867
if is_service_enabled key g-api n-api swift; then
863868
configure_keystone
864869
fi

stackrc

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,10 @@ HORIZON_BRANCH=master
7676
NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
7777
NOVACLIENT_BRANCH=master
7878

79+
# consolidated openstack python client
80+
OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git
81+
OPENSTACKCLIENT_BRANCH=master
82+
7983
# python keystone client library to nova that horizon uses
8084
KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
8185
KEYSTONECLIENT_BRANCH=master

0 commit comments

Comments
 (0)