Support new devstack LIBS_FROM_GIT env variable

devstack has changed recently to install clients from Pypi instead of
from Git. See:

https://github.com/openstack-dev/devstack/commit/cc52406a78

This means that on a clean redstack install you will not be running the
latest clients by default, and any changes made to client code will not
be reflected in CLI testing.

The LIBS_FROM_GIT has been set to the list of common clients.  Namely:
    python-troveclient

    python-ceilometerclient
    python-cinderclient
    python-glanceclient
    python-heatclient
    python-keystoneclient
    python-neutronclient
    python-novaclient
    python-openstackclient
    python-saharaclient
    python-swiftclient

The following oslo libraries have also been included:
    cliff
    cookiecutter
    oslo.concurrency
    oslo.context
    oslo.config
    oslo-cookiecutter
    oslo.db
    oslo.i18n
    oslo.log
    oslo.messaging
    oslo.middleware
    oslo.rootwrap
    oslo.serialization
    oslosphinx
    oslotest
    oslo.utils
    oslo.version
    oslo.vmware
    pylockfile
    hacking
    pbr
    pyCADF
    stevedore
    taskflow
    tooz

Note: This only affects brand new installs on new machines. Machines
that have already run 'redstack install' will already have the necessary
links in place.

Change-Id: I805f9626c8d137b5c282783f1243c4d1c7d248ab
Closes-Bug: #1394672
This commit is contained in:
Peter Stachowski 2014-11-20 09:45:38 -08:00
parent 415749d057
commit 3c5ba95e3c
1 changed files with 26 additions and 0 deletions

View File

@ -18,6 +18,32 @@ if [[ $ENABLE_NEUTRON = true ]]; then
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta
disable_service n-net
fi
# Use Git repositories for client components
LIBS_FROM_GIT=python-troveclient
LIBS_FROM_GIT+=,python-ceilometerclient,python-cinderclient
LIBS_FROM_GIT+=,python-glanceclient,python-heatclient
LIBS_FROM_GIT+=,python-keystoneclient
if [[ $ENABLE_NEUTRON = true ]]; then
LIBS_FROM_GIT+=,python-neutronclient
fi
LIBS_FROM_GIT+=,python-novaclient,python-openstackclient
LIBS_FROM_GIT+=,python-saharaclient,python-swiftclient
# Add Git repositories for libraries
LIBS_FROM_GIT+=,cliff,cookiecutter
LIBS_FROM_GIT+=,oslo.concurrency,oslo.context
LIBS_FROM_GIT+=,oslo.config,oslo-cookiecutter
LIBS_FROM_GIT+=,oslo.db,oslo.i18n
LIBS_FROM_GIT+=,oslo.log,oslo.messaging
LIBS_FROM_GIT+=,oslo.middleware,oslo.rootwrap
LIBS_FROM_GIT+=,oslo.serialization,oslosphinx
LIBS_FROM_GIT+=,oslotest,oslo.utils
LIBS_FROM_GIT+=,oslo.version,oslo.vmware
LIBS_FROM_GIT+=,pylockfile,hacking
LIBS_FROM_GIT+=,pbr,pyCADF
LIBS_FROM_GIT+=,stevedore,taskflow
LIBS_FROM_GIT+=,tooz
NOVNC_FROM_PACKAGE=false
SWIFT_HASH=$SWIFT_HASH
# Set Cinder Volume from Redstack so that later Redstack can help manage