blob: c4a7c59fe59df49cba7ca58ebd0f3a2101f8f3e0 [file] [log] [blame]
Ian Wienand7cd16ce2016-04-08 09:40:56 +10001DevStack
2========
Sean M. Collins09e550c2014-10-21 11:40:08 -04003
Dean Troyeraf140292014-11-20 21:13:15 -06004.. image:: assets/images/logo-blue.png
5
Ian Wienand7cd16ce2016-04-08 09:40:56 +10006DevStack is a series of extensible scripts used to quickly bring up a
7complete OpenStack environment. It is used interactively as a
8development environment and as the basis for much of the OpenStack
9project's functional testing.
10
11The source is available at
12`<https://git.openstack.org/cgit/openstack-dev/devstack>`__.
13
Dean Troyer63baba22014-10-29 21:57:31 -050014.. toctree::
15 :glob:
16 :maxdepth: 1
Sean M. Collins09e550c2014-10-21 11:40:08 -040017
Dean Troyer63baba22014-10-29 21:57:31 -050018 overview
19 configuration
20 plugins
Sean Dague0124e082015-06-19 08:26:45 -040021 plugin-registry
Dean Troyer63baba22014-10-29 21:57:31 -050022 faq
Ian Wienand6f6e2fd2015-03-20 12:16:28 +110023 hacking
Sean M. Collins09e550c2014-10-21 11:40:08 -040024
Dean Troyer26dd21b2014-11-06 09:33:02 -060025Quick Start
26-----------
Sean M. Collins09e550c2014-10-21 11:40:08 -040027
28#. Select a Linux Distribution
29
Kashyap Chamarthy90bc5862015-12-01 18:04:40 +010030 Only Ubuntu 14.04 (Trusty), Fedora 22 (or Fedora 23) and CentOS/RHEL
Kashyap Chamarthya53ae682015-05-27 21:59:32 +020031 7 are documented here. OpenStack also runs and is packaged on other
32 flavors of Linux such as OpenSUSE and Debian.
Sean M. Collins09e550c2014-10-21 11:40:08 -040033
34#. Install Selected OS
35
36 In order to correctly install all the dependencies, we assume a
37 specific minimal version of the supported distributions to make it as
38 easy as possible. We recommend using a minimal install of Ubuntu or
39 Fedora server in a VM if this is your first time.
40
41#. Download DevStack
42
43 ::
44
45 git clone https://git.openstack.org/openstack-dev/devstack
46
47 The ``devstack`` repo contains a script that installs OpenStack and
48 templates for configuration files
49
50#. Configure
51
James Polley5f2eb6d2015-03-30 17:36:26 +110052 We recommend at least a :ref:`minimal-configuration` be set up.
Sean M. Collins09e550c2014-10-21 11:40:08 -040053
Einst Crazy2ed28132015-11-05 16:38:00 +080054#. Add Stack User
55
56 Devstack should be run as a non-root user with sudo enabled
57 (standard logins to cloud images such as "ubuntu" or "cloud-user"
58 are usually fine).
59
60 You can quickly create a separate `stack` user to run DevStack with
61
62 ::
63
64 devstack/tools/create-stack-user.sh; su stack
65
Sean M. Collins09e550c2014-10-21 11:40:08 -040066#. Start the install
67
68 ::
69
70 cd devstack; ./stack.sh
71
72 It takes a few minutes, we recommend `reading the
73 script <stack.sh.html>`__ while it is building.
74
Dean Troyer63baba22014-10-29 21:57:31 -050075Guides
76======
77
78Walk through various setups used by stackers
Sean M. Collins09e550c2014-10-21 11:40:08 -040079
Dean Troyer26dd21b2014-11-06 09:33:02 -060080.. toctree::
81 :glob:
82 :maxdepth: 1
Sean M. Collins09e550c2014-10-21 11:40:08 -040083
Dean Troyer26dd21b2014-11-06 09:33:02 -060084 guides/single-vm
85 guides/single-machine
Cody A.W. Somervillebaa35d02016-02-11 01:23:14 -050086 guides/lxc
Dean Troyer26dd21b2014-11-06 09:33:02 -060087 guides/multinode-lab
Sean M. Collins34296012014-10-27 11:57:20 -040088 guides/neutron
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +010089 guides/devstack-with-nested-kvm
Tony Breedsa339efc2014-12-04 16:52:58 +110090 guides/nova
Aishwarya Thangappa7c573062015-02-18 01:51:13 -080091 guides/devstack-with-lbaas-v2
Sean M. Collins09e550c2014-10-21 11:40:08 -040092
Dean Troyer26dd21b2014-11-06 09:33:02 -060093All-In-One Single VM
94--------------------
Dean Troyer63baba22014-10-29 21:57:31 -050095
Dean Troyer26dd21b2014-11-06 09:33:02 -060096Run :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 -050097they are running in QEMU (emulation), but it is useful if you don't have
Dean Troyerd224ae12014-11-06 09:33:02 -060098spare hardware laying around. :doc:`[Read] <guides/single-vm>`
Dean Troyer63baba22014-10-29 21:57:31 -050099
Dean Troyer26dd21b2014-11-06 09:33:02 -0600100All-In-One Single Machine
101-------------------------
Sean M. Collins09e550c2014-10-21 11:40:08 -0400102
Dean Troyer26dd21b2014-11-06 09:33:02 -0600103Run :doc:`OpenStack on dedicated hardware <guides/single-machine>` This can include a
104server-class machine or a laptop at home.
105:doc:`[Read] <guides/single-machine>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400106
Cody A.W. Somervillebaa35d02016-02-11 01:23:14 -0500107All-In-One LXC Container
108-------------------------
109
110Run :doc:`OpenStack in a LXC container <guides/lxc>`. Beneficial for intermediate
111and advanced users. The VMs launched in this cloud will be fully accelerated but
112not all OpenStack features are supported. :doc:`[Read] <guides/lxc>`
113
Dean Troyer26dd21b2014-11-06 09:33:02 -0600114Multi-Node Lab
115--------------
Dean Troyer63baba22014-10-29 21:57:31 -0500116
Dean Troyer26dd21b2014-11-06 09:33:02 -0600117Setup a :doc:`multi-node cluster <guides/multinode-lab>` with dedicated VLANs for VMs & Management.
118:doc:`[Read] <guides/multinode-lab>`
Dean Troyer63baba22014-10-29 21:57:31 -0500119
Sean M. Collins34296012014-10-27 11:57:20 -0400120DevStack with Neutron Networking
121--------------------------------
122
123Building a DevStack cluster with :doc:`Neutron Networking <guides/neutron>`.
124This guide is meant for building lab environments with a dedicated
125control node and multiple compute nodes.
126
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +0100127DevStack with KVM-based Nested Virtualization
128---------------------------------------------
129
130Procedure to setup :doc:`DevStack with KVM-based Nested Virtualization
131<guides/devstack-with-nested-kvm>`. With this setup, Nova instances
132will be more performant than with plain QEMU emulation.
133
Tony Breedsa339efc2014-12-04 16:52:58 +1100134Nova and devstack
135--------------------------------
136
137Guide to working with nova features :doc:`Nova and devstack <guides/nova>`.
138
Dean Troyer26dd21b2014-11-06 09:33:02 -0600139DevStack Documentation
140======================
Sean M. Collins09e550c2014-10-21 11:40:08 -0400141
142Overview
143--------
144
Dean Troyerd224ae12014-11-06 09:33:02 -0600145:doc:`An overview of DevStack goals and priorities <overview>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400146
147Configuration
148-------------
149
Dean Troyerd224ae12014-11-06 09:33:02 -0600150:doc:`Configuring and customizing the stack <configuration>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400151
152Plugins
153-------
154
Dean Troyerd224ae12014-11-06 09:33:02 -0600155:doc:`Extending DevStack with new features <plugins>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400156
Sean M. Collins09e550c2014-10-21 11:40:08 -0400157FAQ
158---
159
Dean Troyerd224ae12014-11-06 09:33:02 -0600160:doc:`The DevStack FAQ <faq>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400161
162Contributing
163------------
164
Ian Wienand6f6e2fd2015-03-20 12:16:28 +1100165:doc:`Pitching in to make DevStack a better place <hacking>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400166