Merge "Revert "Remove python-openstackclient.""
This commit is contained in:
commit
ff828ce3f6
5
stack.sh
5
stack.sh
@ -318,6 +318,7 @@ source $TOP_DIR/lib/tempest
|
|||||||
|
|
||||||
# Set the destination directories for OpenStack projects
|
# Set the destination directories for OpenStack projects
|
||||||
HORIZON_DIR=$DEST/horizon
|
HORIZON_DIR=$DEST/horizon
|
||||||
|
OPENSTACKCLIENT_DIR=$DEST/python-openstackclient
|
||||||
NOVNC_DIR=$DEST/noVNC
|
NOVNC_DIR=$DEST/noVNC
|
||||||
SWIFT_DIR=$DEST/swift
|
SWIFT_DIR=$DEST/swift
|
||||||
SWIFT3_DIR=$DEST/swift3
|
SWIFT3_DIR=$DEST/swift3
|
||||||
@ -794,6 +795,9 @@ install_keystoneclient
|
|||||||
install_glanceclient
|
install_glanceclient
|
||||||
install_novaclient
|
install_novaclient
|
||||||
|
|
||||||
|
# Check out the client libs that are used most
|
||||||
|
git_clone $OPENSTACKCLIENT_REPO $OPENSTACKCLIENT_DIR $OPENSTACKCLIENT_BRANCH
|
||||||
|
|
||||||
# glance, swift middleware and nova api needs keystone middleware
|
# glance, swift middleware and nova api needs keystone middleware
|
||||||
if is_service_enabled key g-api n-api swift; then
|
if is_service_enabled key g-api n-api swift; then
|
||||||
# unified auth system (manages accounts/tokens)
|
# unified auth system (manages accounts/tokens)
|
||||||
@ -859,6 +863,7 @@ echo_summary "Configuring OpenStack projects"
|
|||||||
# allowing ``import nova`` or ``import glance.client``
|
# allowing ``import nova`` or ``import glance.client``
|
||||||
configure_keystoneclient
|
configure_keystoneclient
|
||||||
configure_novaclient
|
configure_novaclient
|
||||||
|
setup_develop $OPENSTACKCLIENT_DIR
|
||||||
if is_service_enabled key g-api n-api swift; then
|
if is_service_enabled key g-api n-api swift; then
|
||||||
configure_keystone
|
configure_keystone
|
||||||
fi
|
fi
|
||||||
|
4
stackrc
4
stackrc
@ -76,6 +76,10 @@ HORIZON_BRANCH=master
|
|||||||
NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
|
NOVACLIENT_REPO=${GIT_BASE}/openstack/python-novaclient.git
|
||||||
NOVACLIENT_BRANCH=master
|
NOVACLIENT_BRANCH=master
|
||||||
|
|
||||||
|
# consolidated openstack python client
|
||||||
|
OPENSTACKCLIENT_REPO=${GIT_BASE}/openstack/python-openstackclient.git
|
||||||
|
OPENSTACKCLIENT_BRANCH=master
|
||||||
|
|
||||||
# python keystone client library to nova that horizon uses
|
# python keystone client library to nova that horizon uses
|
||||||
KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
|
KEYSTONECLIENT_REPO=${GIT_BASE}/openstack/python-keystoneclient
|
||||||
KEYSTONECLIENT_BRANCH=master
|
KEYSTONECLIENT_BRANCH=master
|
||||||
|
Loading…
Reference in New Issue
Block a user