
This changeset contains updates for Mitaka. To build the basedisk (if necessary) and the cluster and launch a test VM once: ./tools/repeat-test.sh -b -r 1 To test Orchestration: ./tools/test-once.sh scripts/test/heat_stack.sh Change-Id: Idd96525c14abd5903a6631095ccd6797ba91365c
34 lines
904 B
Bash
34 lines
904 B
Bash
#!/usr/bin/env bash
|
|
set -o errexit -o nounset
|
|
TOP_DIR=$(cd "$(dirname "$0")/.." && pwd)
|
|
source "$TOP_DIR/config/paths"
|
|
source "$CONFIG_DIR/credentials"
|
|
source "$CONFIG_DIR/openstack"
|
|
source "$LIB_DIR/functions.guest.sh"
|
|
|
|
exec_logfile
|
|
|
|
indicate_current_auto
|
|
|
|
#------------------------------------------------------------------------------
|
|
# Use OpenStack client environment script
|
|
# http://docs.openstack.org/mitaka/install-guide-ubuntu/keystone-openrc.html
|
|
#------------------------------------------------------------------------------
|
|
|
|
# Test in subshell enviroment to keep our environment clean
|
|
(
|
|
echo "Sourcing the admin credentials."
|
|
source "$CONFIG_DIR/admin-openstackrc.sh"
|
|
|
|
echo "Requesting an authentication token."
|
|
openstack token issue
|
|
)
|
|
|
|
(
|
|
echo "Sourcing the demo user credentials."
|
|
source "$CONFIG_DIR/demo-openstackrc.sh"
|
|
|
|
echo "Requesting an authentication token."
|
|
openstack token issue
|
|
)
|