67787e6b4c
* using the new functional pattern: cinder_XXX functions are in lib/cinder * enable with 'c-api,c-sch,c-vol' in ENABLED_SERVICES, n-vol is still the default * exercises/volumes.sh runs for cinder and n-vol * move config to /etc/cinder * change volume_group to stack-volumes; this also renames the backing file to /opt/stack/data/stack-volumes-backing-file. * removes osapi_volume from nova.conf enabled_apis * integrates cinder + keystone * launches c-sch * tweaks for multi node * move enabled_apis substitution to init_cinder 18Jun2010 * restored & rebased * update setup.py to use setup_develop() in lib/cinder Change-Id: I1e1aa4387031c56e4fa239eb73bea2af8cef0e38
29 lines
950 B
Bash
29 lines
950 B
Bash
#!/usr/bin/env bash
|
|
#
|
|
# source exerciserc
|
|
#
|
|
# Configure the DevStack exercise scripts
|
|
# For best results, source this _after_ stackrc/localrc as it will set
|
|
# values only if they are not already set.
|
|
|
|
# Max time to wait while vm goes from build to active state
|
|
export ACTIVE_TIMEOUT=${ACTIVE_TIMEOUT:-30}
|
|
|
|
# Max time to wait for proper IP association and dis-association.
|
|
export ASSOCIATE_TIMEOUT=${ASSOCIATE_TIMEOUT:-15}
|
|
|
|
# Max time till the vm is bootable
|
|
export BOOT_TIMEOUT=${BOOT_TIMEOUT:-30}
|
|
|
|
# Max time from run instance command until it is running
|
|
export RUNNING_TIMEOUT=${RUNNING_TIMEOUT:-$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))}
|
|
|
|
# Max time to wait for a vm to terminate
|
|
export TERMINATE_TIMEOUT=${TERMINATE_TIMEOUT:-30}
|
|
|
|
# Max time to wait for a euca-volume command to propogate
|
|
export VOLUME_TIMEOUT=${VOLUME_TIMEOUT:-30}
|
|
|
|
# Max time to wait for a euca-delete command to propogate
|
|
export VOLUME_DELETE_TIMEOUT=${SNAPSHOT_DELETE_TIMEOUT:-60}
|