commit | 471de7a34ba3a3842576fda56602884bf149a9fc | [log] [tgz] |
---|---|---|
author | Dean Troyer <dtroyer@gmail.com> | Tue Dec 27 11:45:55 2011 -0600 |
committer | Dean Troyer <dtroyer@gmail.com> | Fri Jan 06 16:15:03 2012 -0600 |
tree | b7c9ebcf3d433b539aee2dc584180a1e440718ec | |
parent | f4497d5eb9b1d1457593515ff7a9f23d433ccba0 [diff] |
Improve log file handling: * Elimiate subshells to produce logfiles (fixes bug 885091) * Clean up log files older than 7 days (default) * Append date/time to specified log file name * Default LOGFILE='', now must set to get logging This changes the default behaviour of stack.sh to not write a log file unless LOGFILE is set. Change-Id: I5d3fb65e12ccdb52fca5a41ee8f5777c046cd375
Devstack is a set of scripts and utilities to quickly deploy an OpenStack cloud.
Read more at http://devstack.org (built from the gh-pages branch)
IMPORTANT: Be sure to carefully read stack.sh and any other scripts you execute before you run them, as they install software and may alter your networking configuration. We strongly recommend that you run stack.sh in a clean and disposable vm when you are first getting started.
The devstack master branch generally points to trunk versions of OpenStack components. For older, stable versions, look for branches named stable/[mil estone]. For example, you can do the following to create a diablo OpenStack cloud:
git checkout stable/diablo ./stack.sh
./stack.sh
When the script finishes executing, you should be able to access OpenStack endpoints, like so:
We also provide an environment file that you can use to interact with your cloud via CLI:
# source openrc file to load your environment with osapi and ec2 creds . openrc # list instances nova list # list instances using ec2 api euca-describe-instances
You can override environment variables used in stack.sh by creating file name 'localrc'. It is likely that you will need to do this to tweak your networking configuration should you need to access your cloud from a different host.