stack.sh
's use of root is primarily to support the activities that would be handled by packaging in "real" deployments. To remove additional protections that will be desired/required in production would be a step backward.README.md
. DevStack is only supported on releases other than those documented in README.md
on a best-effort basis.stack.sh
. Support will follow the pattern set with the Ubuntu testing, i.e. only a single release of the distro will receive regular testing, others will be handled on a best-effort basis.stack.sh
to handle this. But the testing on py26 is valuable so we do it...local.conf
. The primary considerations are turning off the services not required on the secondary nodes, making sure the passwords match and setting the various API URLs to the right place.tools/info.sh
) that gathers the versions of the relevant installed apt packages, pip packages and git repos. This is a good way to verify what Python modules are installed.disable_service xxx
to local.conf
(using n-vol
in this example):
disable_service n-vol
enable_service qpid
*_BRANCH
variables in local.conf
. Swift is on its own release schedule so pick a tag in the Swift repo that is just before the milestone release. For example:
[[local|localrc]] GLANCE_BRANCH=stable/grizzly HORIZON_BRANCH=stable/grizzly KEYSTONE_BRANCH=stable/grizzly NOVA_BRANCH=stable/grizzly GLANCE_BRANCH=stable/grizzly NEUTRON_BRANCH=stable/grizzly SWIFT_BRANCH=1.10.0
tools/pip-requires
requirements.txt
to grab project dependencies?erlang
not being happy with the hostname resolving to a reachable IP address. Make sure your hostname resolves to a working IP address; setting it to 127.0.0.1 in /etc/hosts
is often good enough for a single-node installation. And in an extreme case, use clean.sh
to eradicate it and try again.local.conf
thusly:
[[local|localrc]] HEAT_STANDALONE=True ENABLED_SERVICES=rabbit,mysql,heat,h-api,h-api-cfn,h-api-cw,h-eng KEYSTONE_SERVICE_HOST=<keystone-host> KEYSTONE_AUTH_HOST=<keystone-host>
tools/install_prereqs.sh
has a timer that skips the package installation checks if it was run within the last PREREQ_RERUN_HOURS
hours (default is 2). To override this, set FORCE_PREREQ=1
and the package checks will never be skipped.
tools/fixup_stuff.sh
is broken and shouldn't 'fix' just one version of packages.httplib2
and prettytable
specific problems with specific versions are being worked around. If later releases have those problems than we'll add them to the script. Knowing about the broken future releases is valuable rather than polling to see if it has been fixed.