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