Skip to content

Instantly share code, notes, and snippets.

@jtopjian
Created August 31, 2016 04:51
Show Gist options
  • Save jtopjian/60cfd903260b88d9101b07c43b30532e to your computer and use it in GitHub Desktop.
Save jtopjian/60cfd903260b88d9101b07c43b30532e to your computer and use it in GitHub Desktop.
devstack lbaasv2 keystonev3
[[local|localrc]]
# OpenStack version
OPENSTACK_VERSION="mitaka"
# devstack password
DEVSTACK_PASSWORD="password"
# Configure passwords and the Swift Hash
MYSQL_PASSWORD=$DEVSTACK_PASSWORD
RABBIT_PASSWORD=$DEVSTACK_PASSWORD
SERVICE_TOKEN=$DEVSTACK_PASSWORD
ADMIN_PASSWORD=$DEVSTACK_PASSWORD
SERVICE_PASSWORD=$DEVSTACK_PASSWORD
SWIFT_HASH=$DEVSTACK_PASSWORD
# Configure the stable OpenStack branches used by DevStack
# For stable branches see
# http://git.openstack.org/cgit/openstack-dev/devstack/refs/
CINDER_BRANCH=stable/$OPENSTACK_VERSION
CEILOMETER_BRANCH=stable/$OPENSTACK_VERSION
GLANCE_BRANCH=stable/$OPENSTACK_VERSION
HEAT_BRANCH=stable/$OPENSTACK_VERSION
HORIZON_BRANCH=stable/$OPENSTACK_VERSION
KEYSTONE_BRANCH=stable/$OPENSTACK_VERSION
NEUTRON_BRANCH=stable/$OPENSTACK_VERSION
NOVA_BRANCH=stable/$OPENSTACK_VERSION
SWIFT_BRANCH=stable/$OPENSTACK_VERSION
# Enable Swift
enable_service s-proxy
enable_service s-object
enable_service s-container
enable_service s-account
# Disable Nova Network and enable Neutron
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
# Disable Neutron metering
disable_service q-metering
# Enable LBaaS V1
#enable_service q-lbaas
# Enable FWaaS
enable_service q-fwaas
# Enable LBaaS v2
enable_plugin neutron-lbaas https://git.openstack.org/openstack/neutron-lbaas stable/mitaka
enable_plugin octavia https://git.openstack.org/openstack/octavia
enable_service q-lbaasv2
enable_service octavia
enable_service o-cw
enable_service o-hm
enable_service o-hk
enable_service o-api
# Octavia
OCTAVIA_AUTH_VERSION=3
# Disable Temptest
disable_service tempest
# Disable Horizon
disable_service horizon
# Disable Keystone v2
ENABLE_IDENTITY_V2=False
# Logging
LOGDAYS=1
LOGFILE=/opt/stack/logs/stack.sh.log
LOGDIR=/opt/stack/logs
[[post-config|$OCTAVIA_CONF]]
[default]
debug = true
verbose = true
[keystone_authtoken]
auth_uri = http://localhost:5000/v3
auth_url = http://localhost:35357/v3
user_domain_id = default
project_name = default
auth_type = password
[keystone_authtoken_v3]
admin_user_domain = default
admin_project_domain = default
[[post-config|$NEUTRON_CONF]]
[service_auth]
auth_version = 3
auth_uri = http://localhost:5000/v3
auth_url = http://localhost:35357/v3
admin_user_domain = default
admin_project_domain = default
[[post-config|$NEUTRON_LBAAS_CONF]]
[service_auth]
auth_version = 3
auth_uri = http://localhost:5000/v3
auth_url = http://localhost:35357/v3
admin_user_domain = default
admin_project_domain = default
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment