Revert "Remove python-openstackclient."
This reverts commit 6e3330967c
This is in fact useful to an admittedly small population. And if I had not been on vacation I'd have -2'd it...
This commit is contained in:
parent
6e3330967c
commit
9f61d29e66
5
stack.sh
5
stack.sh
@ -317,6 +317,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
|
||||||
@ -812,6 +813,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)
|
||||||
@ -877,6 +881,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