1. Deploy OpenStack: DevStack (cont’d)
Athens OpenStack User Group #OSATH
5th Meetup, 12th December 2013
Thanassis Parathyras
aparathyras@stackmasters.eu, @parathyras
2. catch up!
Last session
• all-in-one VM
– default configuration (nova, keystone, glance, horizon,
cinder, openstack*-clients)
#OSATH Environment
• Ubuntu (mostly used), Centos
• VirtualBox, VM Player
3. configure
local.conf (localrc)
• your variable settings
• overrides any variables set in stackrc
stackrc
• provides info about git repo and branch, image download
location
• this file shouldn't be modified,
use local.conf|localrc instead
stack.sh
• opinionated sh script used for OpenStack developer
installation (uses screen)
4. your setup
Customize localrc and local.conf
• contain all non-default local configuration in a single file
• be backward-compatible with localrc to smooth the
transition process
• allow settings in arbitrary configuration files to be changed
5. structure
local.conf
• Follows INI file format
[[<phase>|<config-file-name>]]
• <phase> as defined in stack.sh
• <config-file-name> is the configuration file name
– Ex.
[[post-config|$NOVA_CONF]]
6. defined phases
• local
– extracts localrc from local.conf before stackrc
is sourced
• post-config
– runs after the layer 2 services are configured and before
they are started
• extra
– runs after services are started and before any files in
extra.d are executed
• post-extra
– runs after files in extra.d are executed
8. some adjustment(s) …
Convert EXTRA_OPTS from (localrc):
EXTRA_OPTS=api_rate_limit=False
to (local.conf):
[[post-config|$NOVA_CONF]]
[DEFAULT]
api_rate_limit = False
• EXTRA_OPTS (and other variables) are deprecated