3. stack.sh
“stack.sh” is an opinionated OpenStack
developer installation. It installs and configures
various combinations of **Ceilometer**,
**Cinder**, **Glance**, **Heat**, **Horizon**,
**Keystone**, **Nova**, **Neutron**, and **Swift**
Example:
#./stack.sh
5. stack.sh
This script's options can be changed by setting
appropriate environment variables.
You can configure things like which git
repositories to use, services to enable, OS
images to use, etc.
Default values are located in the “stackrc” file.
If you are crafty you can run the script on multiple
nodes using shared settings for common
resources (eg., mysql or rabbitmq) and build a
multi-node developer install.
6. stack.sh
To keep this script simple we assume you are
running on a recent **Ubuntu** (12.04 Precise or
newer) or **Fedora** (F18 or newer) machine.
(It may work on other platforms but support for
those platforms is left to those who added them to
DevStack.)
It should work in a VM or physical server.
Additionally we maintain a list of “apt” and “rpm”
dependencies and other configuration files in this
repo.
8. unstack.sh
Stops that which is started by ``stack.sh`` (mostly)
mysql and rabbit are left running as OpenStack
code refreshes do not require them to be
restarted.
9. unstack.sh
Stop all processes by setting “UNSTACK_ALL”
or specifying “--all” on the command line.
Example:
#./unstack.sh --all
11. rejoin-stack.sh
This script configure a set of credentials for
$TENANT/This script rejoins an existing screen,
or re-creates a screen session from a previous
run of stack.sh.
Example:
#./rejoin-stack.sh
13. stackrc
It is the primary configuration file for DevStack.
It contains all of the settings that control the
services started and the repositories used to
download the source for those services.
stackrc sources the localrc section of local.conf
to perform the default overrides.
Read More:
http://docs.openstack.org/developer/devstack/stackrc.
15. localrc
localrc is the old file used to configure DevStack.
It is deprecated and has been replaced by
local.conf.
DevStack will continue to use localrc if it is
present and ignore the localrc section in
local.conf.
Remove localrc to switch to using the new file.
17. local.conf
local.conf is a user-maintained setings file that is
sourced in stackrc.
It contains a section that replaces the historical
localrc file.
18. local.conf
local.conf resides in the root DevStack directory
like the old localrc file.
It is a modified INI format file that introduces a
meta-section header to carry additional
information regarding the configuration files to be
changed.
Read More:
http://docs.openstack.org/developer/devstack/configu
20. openrc
This script configure a set of credentials for
$TENANT/$USERNAME.
Example:
#source openrc [username] [tenantname]
21. openrc
Set OS_TENANT_NAME to override the default
tenant 'demo'.
Set OS_USERNAME to override the default user
name 'demo'.
Set ADMIN_PASSWORD to set the password for
'admin' and 'demo'.
22. openrc
openrc configures login credentials suitable for
use with the OpenStack command-line tools.
openrc sources stackrc at the beginning (which in
turn sources the localrc setion of local.conf) in
order to pick up HOST_IP and/or
SERVICE_HOST to use in the endpoints.
Read More:
http://docs.openstack.org/developer/devstack/openrc.
24. eucarc
“eucarc” creates EC2 credentials for the current
user as defined by
OS_TENANT_NAME:OS_USERNAME.
“eucarc” sources openrc at the beginning (which
in turn sources stackrc and localrc) in order to set
credentials to create EC2 credentials in Keystone.
Read More:
http://docs.openstack.org/developer/devstack/eucarc.