stackrc 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.
postgresqlis also available.
ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPEOther services that are not enabled by default can be enabled in
localrc. For example, to add Swift:
enable_service swiftA service can similarly be disabled:
*_REPOpoints to the repository and
*_BRANCHselects which branch to check out. These may be overridden in
local.confto pull source from a different repo for testing, such as a Gerrit branch proposal.
GIT_BASEpoints to the primary repository server.
NOVA_REPO=$GIT_BASE/openstack/nova.git NOVA_BRANCH=masterTo pull a branch directly from Gerrit, get the repo and branch from the Gerrit review page:
git fetch https://review.openstack.org/p/openstack/nova refs/changes/50/5050/1 && git checkout FETCH_HEADThe repo is the stanza following
fetchand the branch is the stanza following that: