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