Last active
June 29, 2016 00:19
-
-
Save dolph/72d7adf8f8e8229fb29b to your computer and use it in GitHub Desktop.
Minimal devstack install: tempest + keystone w/ fernet
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[[local|localrc]] | |
# Abide by tradition. | |
SERVICE_TOKEN=ADMIN | |
ADMIN_PASSWORD=secrete | |
MYSQL_PASSWORD=$ADMIN_PASSWORD | |
RABBIT_PASSWORD=$ADMIN_PASSWORD | |
SERVICE_PASSWORD=$ADMIN_PASSWORD | |
LOGFILE=$DEST/logs/stack.sh.log | |
LOGDAYS=2 | |
# Uncomment these to grab the stable/liberty branches. Don't forget that | |
# tempest is now free of stable/* branches. | |
#KEYSTONE_BRANCH=stable/liberty | |
#KEYSTONECLIENT_BRANCH=stable/liberty | |
# Explicitly disable all the things except nova (devstack will still assume it | |
# exists) | |
disable_service c-api | |
disable_service c-sch | |
disable_service c-vol | |
disable_service g-api | |
disable_service g-lbaasv2 | |
disable_service g-reg | |
disable_service glance | |
disable_service h-api | |
disable_service h-api-cfn | |
disable_service h-api-cw | |
disable_service h-eng | |
disable_service heat | |
disable_service horizon | |
disable_service n-net | |
disable_service neutron | |
disable_service q-agt | |
disable_service q-dhcp | |
disable_service q-l3 | |
disable_service q-meta | |
disable_service q-svc | |
disable_service swift | |
disable_service s-account | |
disable_service s-container | |
disable_service s-object | |
disable_service s-proxy | |
# Minimal keystone+tempest | |
enable_service key | |
enable_service rabbit | |
enable_service mysql | |
enable_service tempest | |
# Switch to Fernet. | |
KEYSTONE_TOKEN_FORMAT=fernet |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run as local user (not on VM) | |
rack servers instance create --name=devstack --keypair=dev --image-name="Ubuntu 14.04 LTS (Trusty Tahr) (PVHVM)" --flavor-name="8 GB Performance" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run as root on VM | |
set -e | |
apt-get update | |
apt-get install git -y | |
git clone https://git.openstack.org/openstack-dev/devstack | |
./devstack/tools/create-stack-user.sh | |
sudo -u stack git clone --recursive https://github.com/dolph/dotfiles.git ~/dotfiles | |
sudo -u stack sh ~/dotfiles/provision_debian_headless.sh | |
sudo -u stack git clone https://git.openstack.org/openstack-dev/devstack ~/devstack | |
sudo -u stack curl https://gist.githubusercontent.com/dolph/72d7adf8f8e8229fb29b/raw/e592d8a3328ab4007819802c1af5e0e5c64f1a55/local.conf > ~/devstack/local.conf | |
sudo -u stack ./stack.sh | |
sudo -u stack ./~/tempest/run_tempest.sh -V tempest.api.identity |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment