| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 1 | DevStack - an OpenStack Community Production | 
 | 2 | ============================================ | 
 | 3 |  | 
| Dean Troyer | af14029 | 2014-11-20 21:13:15 -0600 | [diff] [blame] | 4 | .. image:: assets/images/logo-blue.png | 
 | 5 |  | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 6 | .. toctree:: | 
 | 7 |    :glob: | 
 | 8 |    :maxdepth: 1 | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 9 |  | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 10 |    overview | 
 | 11 |    configuration | 
 | 12 |    plugins | 
 | 13 |    faq | 
 | 14 |    changes | 
 | 15 |    contributing | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 16 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 17 | Quick Start | 
 | 18 | ----------- | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 19 |  | 
 | 20 | #. Select a Linux Distribution | 
 | 21 |  | 
| Martin Falatic | 5bee0cd | 2015-01-23 14:10:33 -0800 | [diff] [blame] | 22 |    Only Ubuntu 14.04 (Trusty), Fedora 20 and CentOS/RHEL 7 are | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 23 |    documented here. OpenStack also runs and is packaged on other flavors | 
 | 24 |    of Linux such as OpenSUSE and Debian. | 
 | 25 |  | 
 | 26 | #. Install Selected OS | 
 | 27 |  | 
 | 28 |    In order to correctly install all the dependencies, we assume a | 
 | 29 |    specific minimal version of the supported distributions to make it as | 
 | 30 |    easy as possible. We recommend using a minimal install of Ubuntu or | 
 | 31 |    Fedora server in a VM if this is your first time. | 
 | 32 |  | 
 | 33 | #. Download DevStack | 
 | 34 |  | 
 | 35 |    :: | 
 | 36 |  | 
 | 37 |        git clone https://git.openstack.org/openstack-dev/devstack | 
 | 38 |  | 
 | 39 |    The ``devstack`` repo contains a script that installs OpenStack and | 
 | 40 |    templates for configuration files | 
 | 41 |  | 
 | 42 | #. Configure | 
 | 43 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 44 |    We recommend at least a :doc:`minimal | 
 | 45 |    configuration <configuration>` be set up. | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 46 |  | 
 | 47 | #. Start the install | 
 | 48 |  | 
 | 49 |    :: | 
 | 50 |  | 
 | 51 |        cd devstack; ./stack.sh | 
 | 52 |  | 
 | 53 |    It takes a few minutes, we recommend `reading the | 
 | 54 |    script <stack.sh.html>`__ while it is building. | 
 | 55 |  | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 56 | Guides | 
 | 57 | ====== | 
 | 58 |  | 
 | 59 | Walk through various setups used by stackers | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 60 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 61 | .. toctree:: | 
 | 62 |    :glob: | 
 | 63 |    :maxdepth: 1 | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 64 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 65 |    guides/single-vm | 
 | 66 |    guides/single-machine | 
 | 67 |    guides/multinode-lab | 
| Sean M. Collins | 3429601 | 2014-10-27 11:57:20 -0400 | [diff] [blame] | 68 |    guides/neutron | 
| Kashyap Chamarthy | 75afd6d | 2015-01-20 17:39:25 +0100 | [diff] [blame] | 69 |    guides/devstack-with-nested-kvm | 
| Tony Breeds | a339efc | 2014-12-04 16:52:58 +1100 | [diff] [blame] | 70 |    guides/nova | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 71 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 72 | All-In-One Single VM | 
 | 73 | -------------------- | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 74 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 75 | Run :doc:`OpenStack in a VM <guides/single-vm>`. The VMs launched in your cloud will be slow as | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 76 | they are running in QEMU (emulation), but it is useful if you don't have | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 77 | spare hardware laying around. :doc:`[Read] <guides/single-vm>` | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 78 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 79 | All-In-One Single Machine | 
 | 80 | ------------------------- | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 81 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 82 | Run :doc:`OpenStack on dedicated hardware <guides/single-machine>`  This can include a | 
 | 83 | server-class machine or a laptop at home. | 
 | 84 | :doc:`[Read] <guides/single-machine>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 85 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 86 | Multi-Node Lab | 
 | 87 | -------------- | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 88 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 89 | Setup a :doc:`multi-node cluster <guides/multinode-lab>` with dedicated VLANs for VMs & Management. | 
 | 90 | :doc:`[Read] <guides/multinode-lab>` | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 91 |  | 
| Sean M. Collins | 3429601 | 2014-10-27 11:57:20 -0400 | [diff] [blame] | 92 | DevStack with Neutron Networking | 
 | 93 | -------------------------------- | 
 | 94 |  | 
 | 95 | Building a DevStack cluster with :doc:`Neutron Networking <guides/neutron>`. | 
 | 96 | This guide is meant for building lab environments with a dedicated | 
 | 97 | control node and multiple compute nodes. | 
 | 98 |  | 
| Kashyap Chamarthy | 75afd6d | 2015-01-20 17:39:25 +0100 | [diff] [blame] | 99 | DevStack with KVM-based Nested Virtualization | 
 | 100 | --------------------------------------------- | 
 | 101 |  | 
 | 102 | Procedure to setup :doc:`DevStack with KVM-based Nested Virtualization | 
 | 103 | <guides/devstack-with-nested-kvm>`. With this setup, Nova instances | 
 | 104 | will be more performant than with plain QEMU emulation. | 
 | 105 |  | 
| Tony Breeds | a339efc | 2014-12-04 16:52:58 +1100 | [diff] [blame] | 106 | Nova and devstack | 
 | 107 | -------------------------------- | 
 | 108 |  | 
 | 109 | Guide to working with nova features :doc:`Nova and devstack <guides/nova>`. | 
 | 110 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 111 | DevStack Documentation | 
 | 112 | ====================== | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 113 |  | 
 | 114 | Overview | 
 | 115 | -------- | 
 | 116 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 117 | :doc:`An overview of DevStack goals and priorities <overview>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 118 |  | 
 | 119 | Configuration | 
 | 120 | ------------- | 
 | 121 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 122 | :doc:`Configuring and customizing the stack <configuration>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 123 |  | 
 | 124 | Plugins | 
 | 125 | ------- | 
 | 126 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 127 | :doc:`Extending DevStack with new features <plugins>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 128 |  | 
 | 129 | Recent Changes | 
 | 130 | -------------- | 
 | 131 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 132 | :doc:`An incomplete summary of recent changes <changes>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 133 |  | 
 | 134 | FAQ | 
 | 135 | --- | 
 | 136 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 137 | :doc:`The DevStack FAQ <faq>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 138 |  | 
 | 139 | Contributing | 
 | 140 | ------------ | 
 | 141 |  | 
| Dean Troyer | d224ae1 | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 142 | :doc:`Pitching in to make DevStack a better place <contributing>` | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 143 |  | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 144 | Code | 
 | 145 | ==== | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 146 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 147 | *A look at the bits that make it all go* | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 148 |  | 
 | 149 | Scripts | 
 | 150 | ------- | 
 | 151 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 152 | * `stack.sh <stack.sh.html>`__ - The main script | 
 | 153 | * `functions <functions.html>`__ - DevStack-specific functions | 
 | 154 | * `functions-common <functions-common.html>`__ - Functions shared with other projects | 
 | 155 | * `lib/apache <lib/apache.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 156 | * `lib/ceilometer <lib/ceilometer.html>`__ | 
 | 157 | * `lib/ceph <lib/ceph.html>`__ | 
 | 158 | * `lib/cinder <lib/cinder.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 159 | * `lib/database <lib/database.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 160 | * `lib/dstat <lib/dstat.html>`__ | 
 | 161 | * `lib/glance <lib/glance.html>`__ | 
 | 162 | * `lib/heat <lib/heat.html>`__ | 
 | 163 | * `lib/horizon <lib/horizon.html>`__ | 
 | 164 | * `lib/infra <lib/infra.html>`__ | 
 | 165 | * `lib/ironic <lib/ironic.html>`__ | 
 | 166 | * `lib/keystone <lib/keystone.html>`__ | 
 | 167 | * `lib/ldap <lib/ldap.html>`__ | 
 | 168 | * `lib/neutron <lib/neutron.html>`__ | 
 | 169 | * `lib/nova <lib/nova.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 170 | * `lib/oslo <lib/oslo.html>`__ | 
 | 171 | * `lib/rpc\_backend <lib/rpc_backend.html>`__ | 
 | 172 | * `lib/sahara <lib/sahara.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 173 | * `lib/swift <lib/swift.html>`__ | 
 | 174 | * `lib/tempest <lib/tempest.html>`__ | 
 | 175 | * `lib/tls <lib/tls.html>`__ | 
 | 176 | * `lib/trove <lib/trove.html>`__ | 
 | 177 | * `lib/zaqar <lib/zaqar.html>`__ | 
 | 178 | * `unstack.sh <unstack.sh.html>`__ | 
 | 179 | * `clean.sh <clean.sh.html>`__ | 
 | 180 | * `run\_tests.sh <run_tests.sh.html>`__ | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 181 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 182 | * `extras.d/50-ironic.sh <extras.d/50-ironic.sh.html>`__ | 
 | 183 | * `extras.d/60-ceph.sh <extras.d/60-ceph.sh.html>`__ | 
 | 184 | * `extras.d/70-sahara.sh <extras.d/70-sahara.sh.html>`__ | 
 | 185 | * `extras.d/70-trove.sh <extras.d/70-trove.sh.html>`__ | 
| Steven Hardy | d591a25 | 2014-10-27 17:22:17 +0000 | [diff] [blame] | 186 | * `extras.d/70-tuskar.sh <extras.d/70-tuskar.sh.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 187 | * `extras.d/70-zaqar.sh <extras.d/70-zaqar.sh.html>`__ | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 188 | * `extras.d/80-tempest.sh <extras.d/80-tempest.sh.html>`__ | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 189 |  | 
| Dean Troyer | bf2ad70 | 2015-03-09 15:16:10 -0500 | [diff] [blame] | 190 | * `inc/ini-config <inc/ini-config.html>`__ | 
 | 191 | * `inc/meta-config <inc/meta-config.html>`__ | 
 | 192 | * `inc/python <inc/python.html>`__ | 
 | 193 |  | 
 | 194 | * `pkg/elasticsearch.sh <pkg/elasticsearch.sh.html>`_ | 
 | 195 |  | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 196 | Configuration | 
 | 197 | ------------- | 
| Sean M. Collins | 09e550c | 2014-10-21 11:40:08 -0400 | [diff] [blame] | 198 |  | 
| Dean Troyer | 63baba2 | 2014-10-29 21:57:31 -0500 | [diff] [blame] | 199 | .. toctree:: | 
 | 200 |    :glob: | 
 | 201 |    :maxdepth: 1 | 
 | 202 |  | 
| Dean Troyer | 26dd21b | 2014-11-06 09:33:02 -0600 | [diff] [blame] | 203 |    local.conf | 
 | 204 |    stackrc | 
 | 205 |    openrc | 
 | 206 |    exerciserc | 
 | 207 |    eucarc | 
 | 208 |  | 
 | 209 | Tools | 
 | 210 | ----- | 
 | 211 |  | 
 | 212 | * `tools/build\_docs.sh <tools/build_docs.sh.html>`__ | 
 | 213 | * `tools/create-stack-user.sh <tools/create-stack-user.sh.html>`__ | 
 | 214 | * `tools/create\_userrc.sh <tools/create_userrc.sh.html>`__ | 
 | 215 | * `tools/fixup\_stuff.sh <tools/fixup_stuff.sh.html>`__ | 
 | 216 | * `tools/info.sh <tools/info.sh.html>`__ | 
 | 217 | * `tools/install\_pip.sh <tools/install_pip.sh.html>`__ | 
 | 218 | * `tools/install\_prereqs.sh <tools/install_prereqs.sh.html>`__ | 
 | 219 | * `tools/make\_cert.sh <tools/make_cert.sh.html>`__ | 
 | 220 | * `tools/upload\_image.sh <tools/upload_image.sh.html>`__ | 
 | 221 |  | 
 | 222 | Samples | 
 | 223 | ------- | 
 | 224 |  | 
 | 225 | * `local.sh <samples/local.sh.html>`__ | 
 | 226 |  | 
 | 227 | Exercises | 
 | 228 | --------- | 
 | 229 |  | 
 | 230 | * `exercise.sh <exercise.sh.html>`__ | 
 | 231 | * `exercises/aggregates.sh <exercises/aggregates.sh.html>`__ | 
 | 232 | * `exercises/boot\_from\_volume.sh <exercises/boot_from_volume.sh.html>`__ | 
 | 233 | * `exercises/bundle.sh <exercises/bundle.sh.html>`__ | 
 | 234 | * `exercises/client-args.sh <exercises/client-args.sh.html>`__ | 
 | 235 | * `exercises/client-env.sh <exercises/client-env.sh.html>`__ | 
 | 236 | * `exercises/euca.sh <exercises/euca.sh.html>`__ | 
 | 237 | * `exercises/floating\_ips.sh <exercises/floating_ips.sh.html>`__ | 
 | 238 | * `exercises/horizon.sh <exercises/horizon.sh.html>`__ | 
 | 239 | * `exercises/neutron-adv-test.sh <exercises/neutron-adv-test.sh.html>`__ | 
 | 240 | * `exercises/sahara.sh <exercises/sahara.sh.html>`__ | 
 | 241 | * `exercises/sec\_groups.sh <exercises/sec_groups.sh.html>`__ | 
 | 242 | * `exercises/swift.sh <exercises/swift.sh.html>`__ | 
 | 243 | * `exercises/trove.sh <exercises/trove.sh.html>`__ | 
 | 244 | * `exercises/volumes.sh <exercises/volumes.sh.html>`__ | 
 | 245 | * `exercises/zaqar.sh <exercises/zaqar.sh.html>`__ |