blob: 1aaab6e2d6e021eda180c9765689401a6d936b2f [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
13 faq
14 changes
15 contributing
Sean M. Collins09e550c2014-10-21 11:40:08 -040016
Dean Troyer26dd21b2014-11-06 09:33:02 -060017Quick Start
18-----------
Sean M. Collins09e550c2014-10-21 11:40:08 -040019
20#. Select a Linux Distribution
21
22 Only Ubuntu 14.04 (Trusty), Fedora 20 and CentOS/RHEL 6.5 are
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 Troyerd224ae12014-11-06 09:33:02 -060044 We recommend at least a :doc:`minimal
45 configuration <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
Sean M. Collins09e550c2014-10-21 11:40:08 -040070
Dean Troyer26dd21b2014-11-06 09:33:02 -060071All-In-One Single VM
72--------------------
Dean Troyer63baba22014-10-29 21:57:31 -050073
Dean Troyer26dd21b2014-11-06 09:33:02 -060074Run :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 -050075they are running in QEMU (emulation), but it is useful if you don't have
Dean Troyerd224ae12014-11-06 09:33:02 -060076spare hardware laying around. :doc:`[Read] <guides/single-vm>`
Dean Troyer63baba22014-10-29 21:57:31 -050077
Dean Troyer26dd21b2014-11-06 09:33:02 -060078All-In-One Single Machine
79-------------------------
Sean M. Collins09e550c2014-10-21 11:40:08 -040080
Dean Troyer26dd21b2014-11-06 09:33:02 -060081Run :doc:`OpenStack on dedicated hardware <guides/single-machine>` This can include a
82server-class machine or a laptop at home.
83:doc:`[Read] <guides/single-machine>`
Sean M. Collins09e550c2014-10-21 11:40:08 -040084
Dean Troyer26dd21b2014-11-06 09:33:02 -060085Multi-Node Lab
86--------------
Dean Troyer63baba22014-10-29 21:57:31 -050087
Dean Troyer26dd21b2014-11-06 09:33:02 -060088Setup a :doc:`multi-node cluster <guides/multinode-lab>` with dedicated VLANs for VMs & Management.
89:doc:`[Read] <guides/multinode-lab>`
Dean Troyer63baba22014-10-29 21:57:31 -050090
Sean M. Collins34296012014-10-27 11:57:20 -040091DevStack with Neutron Networking
92--------------------------------
93
94Building a DevStack cluster with :doc:`Neutron Networking <guides/neutron>`.
95This guide is meant for building lab environments with a dedicated
96control node and multiple compute nodes.
97
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +010098DevStack with KVM-based Nested Virtualization
99---------------------------------------------
100
101Procedure to setup :doc:`DevStack with KVM-based Nested Virtualization
102<guides/devstack-with-nested-kvm>`. With this setup, Nova instances
103will be more performant than with plain QEMU emulation.
104
Dean Troyer26dd21b2014-11-06 09:33:02 -0600105DevStack Documentation
106======================
Sean M. Collins09e550c2014-10-21 11:40:08 -0400107
108Overview
109--------
110
Dean Troyerd224ae12014-11-06 09:33:02 -0600111:doc:`An overview of DevStack goals and priorities <overview>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400112
113Configuration
114-------------
115
Dean Troyerd224ae12014-11-06 09:33:02 -0600116:doc:`Configuring and customizing the stack <configuration>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400117
118Plugins
119-------
120
Dean Troyerd224ae12014-11-06 09:33:02 -0600121:doc:`Extending DevStack with new features <plugins>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400122
123Recent Changes
124--------------
125
Dean Troyerd224ae12014-11-06 09:33:02 -0600126:doc:`An incomplete summary of recent changes <changes>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400127
128FAQ
129---
130
Dean Troyerd224ae12014-11-06 09:33:02 -0600131:doc:`The DevStack FAQ <faq>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400132
133Contributing
134------------
135
Dean Troyerd224ae12014-11-06 09:33:02 -0600136:doc:`Pitching in to make DevStack a better place <contributing>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400137
Dean Troyer63baba22014-10-29 21:57:31 -0500138Code
139====
Sean M. Collins09e550c2014-10-21 11:40:08 -0400140
Dean Troyer26dd21b2014-11-06 09:33:02 -0600141*A look at the bits that make it all go*
Dean Troyer63baba22014-10-29 21:57:31 -0500142
143Scripts
144-------
145
Dean Troyer26dd21b2014-11-06 09:33:02 -0600146* `stack.sh <stack.sh.html>`__ - The main script
147* `functions <functions.html>`__ - DevStack-specific functions
148* `functions-common <functions-common.html>`__ - Functions shared with other projects
149* `lib/apache <lib/apache.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600150* `lib/ceilometer <lib/ceilometer.html>`__
151* `lib/ceph <lib/ceph.html>`__
152* `lib/cinder <lib/cinder.html>`__
153* `lib/config <lib/config.html>`__
154* `lib/database <lib/database.html>`__
155* `lib/dib <lib/dib.html>`__
156* `lib/dstat <lib/dstat.html>`__
157* `lib/glance <lib/glance.html>`__
158* `lib/heat <lib/heat.html>`__
159* `lib/horizon <lib/horizon.html>`__
160* `lib/infra <lib/infra.html>`__
161* `lib/ironic <lib/ironic.html>`__
162* `lib/keystone <lib/keystone.html>`__
163* `lib/ldap <lib/ldap.html>`__
164* `lib/neutron <lib/neutron.html>`__
165* `lib/nova <lib/nova.html>`__
166* `lib/opendaylight <lib/opendaylight.html>`__
167* `lib/oslo <lib/oslo.html>`__
168* `lib/rpc\_backend <lib/rpc_backend.html>`__
169* `lib/sahara <lib/sahara.html>`__
170* `lib/stackforge <lib/stackforge.html>`__
171* `lib/swift <lib/swift.html>`__
172* `lib/tempest <lib/tempest.html>`__
173* `lib/tls <lib/tls.html>`__
174* `lib/trove <lib/trove.html>`__
175* `lib/zaqar <lib/zaqar.html>`__
176* `unstack.sh <unstack.sh.html>`__
177* `clean.sh <clean.sh.html>`__
178* `run\_tests.sh <run_tests.sh.html>`__
Sean M. Collins09e550c2014-10-21 11:40:08 -0400179
Dean Troyer26dd21b2014-11-06 09:33:02 -0600180* `extras.d/40-dib.sh <extras.d/40-dib.sh.html>`__
181* `extras.d/50-ironic.sh <extras.d/50-ironic.sh.html>`__
182* `extras.d/60-ceph.sh <extras.d/60-ceph.sh.html>`__
183* `extras.d/70-sahara.sh <extras.d/70-sahara.sh.html>`__
184* `extras.d/70-trove.sh <extras.d/70-trove.sh.html>`__
Steven Hardyd591a252014-10-27 17:22:17 +0000185* `extras.d/70-tuskar.sh <extras.d/70-tuskar.sh.html>`__
Dean Troyer26dd21b2014-11-06 09:33:02 -0600186* `extras.d/70-zaqar.sh <extras.d/70-zaqar.sh.html>`__
187* `extras.d/80-opendaylight.sh <extras.d/80-opendaylight.sh.html>`__
188* `extras.d/80-tempest.sh <extras.d/80-tempest.sh.html>`__
Sean M. Collins09e550c2014-10-21 11:40:08 -0400189
Dean Troyer63baba22014-10-29 21:57:31 -0500190Configuration
191-------------
Sean M. Collins09e550c2014-10-21 11:40:08 -0400192
Dean Troyer63baba22014-10-29 21:57:31 -0500193.. toctree::
194 :glob:
195 :maxdepth: 1
196
Dean Troyer26dd21b2014-11-06 09:33:02 -0600197 local.conf
198 stackrc
199 openrc
200 exerciserc
201 eucarc
202
203Tools
204-----
205
206* `tools/build\_docs.sh <tools/build_docs.sh.html>`__
207* `tools/create-stack-user.sh <tools/create-stack-user.sh.html>`__
208* `tools/create\_userrc.sh <tools/create_userrc.sh.html>`__
209* `tools/fixup\_stuff.sh <tools/fixup_stuff.sh.html>`__
210* `tools/info.sh <tools/info.sh.html>`__
211* `tools/install\_pip.sh <tools/install_pip.sh.html>`__
212* `tools/install\_prereqs.sh <tools/install_prereqs.sh.html>`__
213* `tools/make\_cert.sh <tools/make_cert.sh.html>`__
214* `tools/upload\_image.sh <tools/upload_image.sh.html>`__
215
216Samples
217-------
218
219* `local.sh <samples/local.sh.html>`__
220
221Exercises
222---------
223
224* `exercise.sh <exercise.sh.html>`__
225* `exercises/aggregates.sh <exercises/aggregates.sh.html>`__
226* `exercises/boot\_from\_volume.sh <exercises/boot_from_volume.sh.html>`__
227* `exercises/bundle.sh <exercises/bundle.sh.html>`__
228* `exercises/client-args.sh <exercises/client-args.sh.html>`__
229* `exercises/client-env.sh <exercises/client-env.sh.html>`__
230* `exercises/euca.sh <exercises/euca.sh.html>`__
231* `exercises/floating\_ips.sh <exercises/floating_ips.sh.html>`__
232* `exercises/horizon.sh <exercises/horizon.sh.html>`__
233* `exercises/neutron-adv-test.sh <exercises/neutron-adv-test.sh.html>`__
234* `exercises/sahara.sh <exercises/sahara.sh.html>`__
235* `exercises/sec\_groups.sh <exercises/sec_groups.sh.html>`__
236* `exercises/swift.sh <exercises/swift.sh.html>`__
237* `exercises/trove.sh <exercises/trove.sh.html>`__
238* `exercises/volumes.sh <exercises/volumes.sh.html>`__
239* `exercises/zaqar.sh <exercises/zaqar.sh.html>`__