Updating devstack.localrc.example for accuracy
The devstack.localrc.example file is used by users trying to figure out how to setup Grenade to run their upgrade testing but the file seems to be very outdated since it contains some references to juno and kilo. Also it considers as if Heat is on by default and Neutron is not, which is no longer true. This commit attempts to update the example file so it reflects more accurately the way devstack works currently, and at the same time tries to be a little bit more explanatory for new users trying to discover Grenade. Change-Id: I698131a34dc662b24e9f053c2cc3e1994c859a08
This commit is contained in:
parent
24a2dccc71
commit
d5425b1a04
@ -1,46 +1,35 @@
|
||||
# if you already have MYSQL and RABBIT setup on this system
|
||||
# from previous runs, copy this file to devstack.localrc
|
||||
# with the appropriate passwords for override.
|
||||
MYSQL_PASSWORD=pass
|
||||
RABBIT_PASSWORD=pass
|
||||
# NOTE: Copy this file to the root Grenade directory and
|
||||
# rename it devstack.localrc for it to work properly.
|
||||
# All the values set up in this file will be appended at the
|
||||
# bottom of the devstack.localrc.base and devstack.localrc.target files
|
||||
|
||||
# if you already have a DATABASE and RABBIT setup on this system
|
||||
# from previous runs, uncomment the following lines with the
|
||||
# appropriate passwords for override.
|
||||
#DATABASE_PASSWORD=pass
|
||||
#RABBIT_PASSWORD=pass
|
||||
|
||||
# Replication of gate configuration. Below helps you get to a
|
||||
# configuration that looks a lot like what we use in the gate
|
||||
#
|
||||
# Disable Heat: it's default on in stable/juno but not enabled in the
|
||||
# gate
|
||||
disable_service h-api h-api-cfn h-api-cw h-eng heat
|
||||
USE_SCREEN=False
|
||||
|
||||
# If you need specific interfaces for nova network, specify them here
|
||||
#
|
||||
#FLAT_INTERFACE=eth1
|
||||
#VLAN_INTERFACE=eth1
|
||||
|
||||
# Keystone in stable/juno defaults to eventlet, you need to also do
|
||||
# eventlet in kilo otherwise the upgrade does not detect the switch.
|
||||
KEYSTONE_USE_MOD_WSGI=False
|
||||
|
||||
# Speed things up by tuning down screen sleep time
|
||||
SCREEN_SLEEP=0.5
|
||||
|
||||
# Neutron needs a lot of manual hand holding to get rolling, we
|
||||
# specify a lot of config in the gate in neutron jobs related to
|
||||
# networks. The following block will let you flip NEUTRON=True to test
|
||||
# a neutron config.
|
||||
# networks.
|
||||
Q_USE_DEBUG_COMMAND=True
|
||||
NETWORK_GATEWAY=10.1.0.1
|
||||
FIXED_RANGE=10.1.0.0/20
|
||||
FLOATING_RANGE=172.24.5.0/24
|
||||
PUBLIC_NETWORK_GATEWAY=172.24.5.1
|
||||
|
||||
# Uncomment to test neutron
|
||||
#
|
||||
#NEUTRON=True
|
||||
# Swift is being enabled in the base and target directories, you
|
||||
# could override this behavior by uncommenting the following line
|
||||
#disable_service s-proxy s-object s-container s-account
|
||||
|
||||
if [[ "$NEUTRON" == "True" ]]; then
|
||||
# turn off n-net
|
||||
disable_service n-net
|
||||
# turn on all of neutron
|
||||
enable_service q-agt q-dhcp q-l3 q-meta q-svc quantum
|
||||
# Heat services are not installed by default, you can enable them
|
||||
# by uncommenting the following line
|
||||
#enable_service heat h-api h-api-cfn h-api-cw h-eng
|
||||
|
||||
Q_USE_DEBUG_COMMAND=True
|
||||
NETWORK_GATEWAY=10.1.0.1
|
||||
FIXED_RANGE=10.1.0.0/20
|
||||
FLOATING_RANGE=172.24.5.0/24
|
||||
PUBLIC_NETWORK_GATEWAY=172.24.5.1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user