56 lines
2.0 KiB
Plaintext
56 lines
2.0 KiB
Plaintext
# These passwords originally come from trovestack.rc.
|
|
MYSQL_PASSWORD=$MYSQL_PASSWORD
|
|
RABBIT_PASSWORD=$RABBIT_PASSWORD
|
|
SERVICE_TOKEN=$SERVICE_TOKEN
|
|
ADMIN_PASSWORD=$ADMIN_PASSWORD
|
|
SERVICE_PASSWORD=$SERVICE_PASSWORD
|
|
|
|
IP_VERSION=4
|
|
TROVE_LOGDIR=$TROVE_LOGDIR
|
|
|
|
# Enable the Trove plugin for devstack
|
|
enable_plugin trove $TROVE_REPO $TROVE_BRANCH
|
|
|
|
# Enable Trove, Swift, and Heat
|
|
ENABLED_SERVICES+=,trove,tr-api,tr-tmgr,tr-cond
|
|
ENABLED_SERVICES+=,s-proxy,s-object,s-container,s-account
|
|
ENABLED_SERVICES+=,heat,h-api,h-api-cfn,h-api-cw,h-eng
|
|
ENABLED_SERVICES+=,-n-novnc,-n-xvnc
|
|
ENABLED_SERVICES+=,neutron,q-svc,q-agt,q-dhcp,q-l3,q-meta
|
|
# OSprofiler depends on Ceilometer
|
|
if [[ $ENABLE_CEILOMETER = true ]] || [[ $ENABLE_PROFILER = true ]]; then
|
|
CEILOMETER_BACKEND=gnocchi
|
|
CEILOMETER_NOTIFICATION_TOPICS=notifications,profiler
|
|
PROJ_BRANCH=$(get_project_branch CEILOMETER_BRANCH $PROJECT_BRANCH)
|
|
enable_plugin ceilometer ${GIT_OPENSTACK}/ceilometer.git $PROJ_BRANCH
|
|
fi
|
|
|
|
# Enable Mistral, if configured
|
|
if [[ $ENABLE_MISTRAL = true ]]; then
|
|
PROJ_BRANCH=$(get_project_branch MISTRAL_BRANCH $PROJECT_BRANCH)
|
|
enable_plugin mistral ${GIT_OPENSTACK}/mistral.git $PROJ_BRANCH
|
|
fi
|
|
|
|
# Use Git repositories for client components
|
|
LIBS_FROM_GIT=python-troveclient,python-neutronclient
|
|
if [[ $ENABLE_MISTRAL = true ]]; then
|
|
LIBS_FROM_GIT+=,python-mistralclient
|
|
fi
|
|
|
|
NOVNC_FROM_PACKAGE=false
|
|
SWIFT_HASH=$SWIFT_HASH
|
|
# Set Cinder Volume from Redstack so that later Redstack can help manage
|
|
# reconnecting Volume Group to Backing File
|
|
DEST=$DEST
|
|
DATA_DIR=$DATA_DIR
|
|
SERVICE_DIR=$SERVICE_DIR
|
|
VOLUME_GROUP=${VOLUME_GROUP}
|
|
VOLUME_BACKING_FILE=${VOLUME_BACKING_FILE}
|
|
VOLUME_BACKING_FILE_SIZE=${VOLUME_BACKING_FILE_SIZE}
|
|
# The lock_path is by default /opt/stack/nova; if this path is a shared
|
|
# folder in VirtualBox things seem to break. We fix it by setting EXTRA_OPS
|
|
# to force lock_path to /tmp.
|
|
EXTRA_OPTS=(lock_path=$USERHOME/nova_locks rescan_timeout=180 resizefs_timeout=240 force_dhcp_release=False)
|
|
UNDO_REQUIREMENTS=False
|
|
|