blob: 2dd0241fba3170e105293a178de1ddd93e5869c7 [file] [log] [blame]
Sean M. Collins09e550c2014-10-21 11:40:08 -04001DevStack - an OpenStack Community Production
2============================================
3
Dean Troyeraf140292014-11-20 21:13:15 -06004.. image:: assets/images/logo-blue.png
5
Dean Troyer63baba22014-10-29 21:57:31 -05006.. toctree::
7 :glob:
8 :maxdepth: 1
Sean M. Collins09e550c2014-10-21 11:40:08 -04009
Dean Troyer63baba22014-10-29 21:57:31 -050010 overview
11 configuration
12 plugins
Sean Dague0124e082015-06-19 08:26:45 -040013 plugin-registry
Dean Troyer63baba22014-10-29 21:57:31 -050014 faq
15 changes
Ian Wienand6f6e2fd2015-03-20 12:16:28 +110016 hacking
Sean M. Collins09e550c2014-10-21 11:40:08 -040017
Dean Troyer26dd21b2014-11-06 09:33:02 -060018Quick Start
19-----------
Sean M. Collins09e550c2014-10-21 11:40:08 -040020
21#. Select a Linux Distribution
22
Kashyap Chamarthya53ae682015-05-27 21:59:32 +020023 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. Collins09e550c2014-10-21 11:40:08 -040026
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 Polley5f2eb6d2015-03-30 17:36:26 +110045 We recommend at least a :ref:`minimal-configuration` be set up.
Sean M. Collins09e550c2014-10-21 11:40:08 -040046
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 Troyer63baba22014-10-29 21:57:31 -050056Guides
57======
58
59Walk through various setups used by stackers
Sean M. Collins09e550c2014-10-21 11:40:08 -040060
Dean Troyer26dd21b2014-11-06 09:33:02 -060061.. toctree::
62 :glob:
63 :maxdepth: 1
Sean M. Collins09e550c2014-10-21 11:40:08 -040064
Dean Troyer26dd21b2014-11-06 09:33:02 -060065 guides/single-vm
66 guides/single-machine
67 guides/multinode-lab
Sean M. Collins34296012014-10-27 11:57:20 -040068 guides/neutron
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +010069 guides/devstack-with-nested-kvm
Tony Breedsa339efc2014-12-04 16:52:58 +110070 guides/nova
Aishwarya Thangappa7c573062015-02-18 01:51:13 -080071 guides/devstack-with-lbaas-v2
Sean M. Collins09e550c2014-10-21 11:40:08 -040072
Dean Troyer26dd21b2014-11-06 09:33:02 -060073All-In-One Single VM
74--------------------
Dean Troyer63baba22014-10-29 21:57:31 -050075
Dean Troyer26dd21b2014-11-06 09:33:02 -060076Run :doc:`OpenStack in a VM <guides/single-vm>`. The VMs launched in your cloud will be slow as
Dean Troyer63baba22014-10-29 21:57:31 -050077they are running in QEMU (emulation), but it is useful if you don't have
Dean Troyerd224ae12014-11-06 09:33:02 -060078spare hardware laying around. :doc:`[Read] <guides/single-vm>`
Dean Troyer63baba22014-10-29 21:57:31 -050079
Dean Troyer26dd21b2014-11-06 09:33:02 -060080All-In-One Single Machine
81-------------------------
Sean M. Collins09e550c2014-10-21 11:40:08 -040082
Dean Troyer26dd21b2014-11-06 09:33:02 -060083Run :doc:`OpenStack on dedicated hardware <guides/single-machine>` This can include a
84server-class machine or a laptop at home.
85:doc:`[Read] <guides/single-machine>`
Sean M. Collins09e550c2014-10-21 11:40:08 -040086
Dean Troyer26dd21b2014-11-06 09:33:02 -060087Multi-Node Lab
88--------------
Dean Troyer63baba22014-10-29 21:57:31 -050089
Dean Troyer26dd21b2014-11-06 09:33:02 -060090Setup a :doc:`multi-node cluster <guides/multinode-lab>` with dedicated VLANs for VMs & Management.
91:doc:`[Read] <guides/multinode-lab>`
Dean Troyer63baba22014-10-29 21:57:31 -050092
Sean M. Collins34296012014-10-27 11:57:20 -040093DevStack with Neutron Networking
94--------------------------------
95
96Building a DevStack cluster with :doc:`Neutron Networking <guides/neutron>`.
97This guide is meant for building lab environments with a dedicated
98control node and multiple compute nodes.
99
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +0100100DevStack with KVM-based Nested Virtualization
101---------------------------------------------
102
103Procedure to setup :doc:`DevStack with KVM-based Nested Virtualization
104<guides/devstack-with-nested-kvm>`. With this setup, Nova instances
105will be more performant than with plain QEMU emulation.
106
Tony Breedsa339efc2014-12-04 16:52:58 +1100107Nova and devstack
108--------------------------------
109
110Guide to working with nova features :doc:`Nova and devstack <guides/nova>`.
111
Dean Troyer26dd21b2014-11-06 09:33:02 -0600112DevStack Documentation
113======================
Sean M. Collins09e550c2014-10-21 11:40:08 -0400114
115Overview
116--------
117
Dean Troyerd224ae12014-11-06 09:33:02 -0600118:doc:`An overview of DevStack goals and priorities <overview>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400119
120Configuration
121-------------
122
Dean Troyerd224ae12014-11-06 09:33:02 -0600123:doc:`Configuring and customizing the stack <configuration>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400124
125Plugins
126-------
127
Dean Troyerd224ae12014-11-06 09:33:02 -0600128:doc:`Extending DevStack with new features <plugins>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400129
130Recent Changes
131--------------
132
Dean Troyerd224ae12014-11-06 09:33:02 -0600133:doc:`An incomplete summary of recent changes <changes>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400134
135FAQ
136---
137
Dean Troyerd224ae12014-11-06 09:33:02 -0600138:doc:`The DevStack FAQ <faq>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400139
140Contributing
141------------
142
Ian Wienand6f6e2fd2015-03-20 12:16:28 +1100143:doc:`Pitching in to make DevStack a better place <hacking>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400144
Dean Troyer63baba22014-10-29 21:57:31 -0500145Code
146====
Sean M. Collins09e550c2014-10-21 11:40:08 -0400147
Dean Troyer26dd21b2014-11-06 09:33:02 -0600148*A look at the bits that make it all go*
Dean Troyer63baba22014-10-29 21:57:31 -0500149
150Scripts
151-------
152
Dean Troyer26dd21b2014-11-06 09:33:02 -0600153* `stack.sh <stack.sh.html>`__ - The main script
154* `functions <functions.html>`__ - DevStack-specific functions
155* `functions-common <functions-common.html>`__ - Functions shared with other projects
156* `lib/apache <lib/apache.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600157* `lib/ceilometer <lib/ceilometer.html>`__
158* `lib/ceph <lib/ceph.html>`__
159* `lib/cinder <lib/cinder.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600160* `lib/database <lib/database.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600161* `lib/dstat <lib/dstat.html>`__
162* `lib/glance <lib/glance.html>`__
163* `lib/heat <lib/heat.html>`__
164* `lib/horizon <lib/horizon.html>`__
165* `lib/infra <lib/infra.html>`__
166* `lib/ironic <lib/ironic.html>`__
167* `lib/keystone <lib/keystone.html>`__
168* `lib/ldap <lib/ldap.html>`__
Dean Troyer5a9739a2015-03-25 11:33:51 -0500169* `lib/neutron-legacy <lib/neutron-legacy.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600170* `lib/nova <lib/nova.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600171* `lib/oslo <lib/oslo.html>`__
172* `lib/rpc\_backend <lib/rpc_backend.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600173* `lib/swift <lib/swift.html>`__
174* `lib/tempest <lib/tempest.html>`__
175* `lib/tls <lib/tls.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600176* `lib/zaqar <lib/zaqar.html>`__
177* `unstack.sh <unstack.sh.html>`__
178* `clean.sh <clean.sh.html>`__
179* `run\_tests.sh <run_tests.sh.html>`__
Sean M. Collins09e550c2014-10-21 11:40:08 -0400180
Dean Troyer26dd21b2014-11-06 09:33:02 -0600181* `extras.d/50-ironic.sh <extras.d/50-ironic.sh.html>`__
182* `extras.d/60-ceph.sh <extras.d/60-ceph.sh.html>`__
Steven Hardyd591a252014-10-27 17:22:17 +0000183* `extras.d/70-tuskar.sh <extras.d/70-tuskar.sh.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600184* `extras.d/70-zaqar.sh <extras.d/70-zaqar.sh.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600185* `extras.d/80-tempest.sh <extras.d/80-tempest.sh.html>`__
Sean M. Collins09e550c2014-10-21 11:40:08 -0400186
Dean Troyerbf2ad702015-03-09 15:16:10 -0500187* `inc/ini-config <inc/ini-config.html>`__
188* `inc/meta-config <inc/meta-config.html>`__
189* `inc/python <inc/python.html>`__
190
191* `pkg/elasticsearch.sh <pkg/elasticsearch.sh.html>`_
192
Dean Troyer63baba22014-10-29 21:57:31 -0500193Configuration
194-------------
Sean M. Collins09e550c2014-10-21 11:40:08 -0400195
Dean Troyer63baba22014-10-29 21:57:31 -0500196.. toctree::
197 :glob:
198 :maxdepth: 1
199
Dean Troyer26dd21b2014-11-06 09:33:02 -0600200 local.conf
201 stackrc
202 openrc
203 exerciserc
204 eucarc
205
206Tools
207-----
208
209* `tools/build\_docs.sh <tools/build_docs.sh.html>`__
Dean Troyer5686dbc2015-03-09 14:27:51 -0500210* `tools/build\_venv.sh <tools/build_venv.sh.html>`__
211* `tools/build\_wheels.sh <tools/build_wheels.sh.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600212* `tools/create-stack-user.sh <tools/create-stack-user.sh.html>`__
213* `tools/create\_userrc.sh <tools/create_userrc.sh.html>`__
214* `tools/fixup\_stuff.sh <tools/fixup_stuff.sh.html>`__
215* `tools/info.sh <tools/info.sh.html>`__
216* `tools/install\_pip.sh <tools/install_pip.sh.html>`__
217* `tools/install\_prereqs.sh <tools/install_prereqs.sh.html>`__
218* `tools/make\_cert.sh <tools/make_cert.sh.html>`__
219* `tools/upload\_image.sh <tools/upload_image.sh.html>`__
220
221Samples
222-------
223
224* `local.sh <samples/local.sh.html>`__
225
226Exercises
227---------
228
229* `exercise.sh <exercise.sh.html>`__
230* `exercises/aggregates.sh <exercises/aggregates.sh.html>`__
231* `exercises/boot\_from\_volume.sh <exercises/boot_from_volume.sh.html>`__
232* `exercises/bundle.sh <exercises/bundle.sh.html>`__
233* `exercises/client-args.sh <exercises/client-args.sh.html>`__
234* `exercises/client-env.sh <exercises/client-env.sh.html>`__
235* `exercises/euca.sh <exercises/euca.sh.html>`__
236* `exercises/floating\_ips.sh <exercises/floating_ips.sh.html>`__
237* `exercises/horizon.sh <exercises/horizon.sh.html>`__
238* `exercises/neutron-adv-test.sh <exercises/neutron-adv-test.sh.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600239* `exercises/sec\_groups.sh <exercises/sec_groups.sh.html>`__
240* `exercises/swift.sh <exercises/swift.sh.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600241* `exercises/volumes.sh <exercises/volumes.sh.html>`__
242* `exercises/zaqar.sh <exercises/zaqar.sh.html>`__