commit | 2229a6e34b0c31994bb1ae5525708c55cdc6d28a | [log] [tgz] |
---|---|---|
author | Dean Troyer <dtroyer@gmail.com> | Thu Dec 01 17:02:07 2011 -0600 |
committer | Dean Troyer <dtroyer@gmail.com> | Mon Dec 12 11:15:53 2011 -0600 |
tree | f3c1c281626826b076a4fc4dc0ba095a612e3a3c | |
parent | 30172cc8abf96ab5c47ecbb2b715548b4cec2d48 [diff] |
Clean out old volumes from an existing VOLUME_GROUP if present On subsequent runs of stack.sh clean out old volumes from $VOLUME_GROUP (if it exists) and remove the iSCSI targets. Also clean up the handling when using a backing file rather than a physical disk for the PV. VOLUME_NAME_PREFIX is used to determine which volumes to delete and to set volume_name_template in nova.conf. Change-Id: Iaf9effcc7e0ea5cdfad7bb180e67089e7f8b3583
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.