blob: 68ec174f3a3b3d96af387f48597809d6054e374c [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
Bernd Muellerb1518422016-05-04 22:30:08 +020066#. Start the install, this will take a few minutes.
Sean M. Collins09e550c2014-10-21 11:40:08 -040067
68 ::
69
70 cd devstack; ./stack.sh
71
Dean Troyer63baba22014-10-29 21:57:31 -050072Guides
73======
74
75Walk through various setups used by stackers
Sean M. Collins09e550c2014-10-21 11:40:08 -040076
Dean Troyer26dd21b2014-11-06 09:33:02 -060077.. toctree::
78 :glob:
79 :maxdepth: 1
Sean M. Collins09e550c2014-10-21 11:40:08 -040080
Dean Troyer26dd21b2014-11-06 09:33:02 -060081 guides/single-vm
82 guides/single-machine
Cody A.W. Somervillebaa35d02016-02-11 01:23:14 -050083 guides/lxc
Dean Troyer26dd21b2014-11-06 09:33:02 -060084 guides/multinode-lab
Sean M. Collins34296012014-10-27 11:57:20 -040085 guides/neutron
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +010086 guides/devstack-with-nested-kvm
Tony Breedsa339efc2014-12-04 16:52:58 +110087 guides/nova
Aishwarya Thangappa7c573062015-02-18 01:51:13 -080088 guides/devstack-with-lbaas-v2
Sean M. Collins09e550c2014-10-21 11:40:08 -040089
Dean Troyer26dd21b2014-11-06 09:33:02 -060090All-In-One Single VM
91--------------------
Dean Troyer63baba22014-10-29 21:57:31 -050092
Dean Troyer26dd21b2014-11-06 09:33:02 -060093Run :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 -050094they are running in QEMU (emulation), but it is useful if you don't have
Dean Troyerd224ae12014-11-06 09:33:02 -060095spare hardware laying around. :doc:`[Read] <guides/single-vm>`
Dean Troyer63baba22014-10-29 21:57:31 -050096
Dean Troyer26dd21b2014-11-06 09:33:02 -060097All-In-One Single Machine
98-------------------------
Sean M. Collins09e550c2014-10-21 11:40:08 -040099
Dean Troyer26dd21b2014-11-06 09:33:02 -0600100Run :doc:`OpenStack on dedicated hardware <guides/single-machine>` This can include a
101server-class machine or a laptop at home.
102:doc:`[Read] <guides/single-machine>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400103
Cody A.W. Somervillebaa35d02016-02-11 01:23:14 -0500104All-In-One LXC Container
105-------------------------
106
107Run :doc:`OpenStack in a LXC container <guides/lxc>`. Beneficial for intermediate
108and advanced users. The VMs launched in this cloud will be fully accelerated but
109not all OpenStack features are supported. :doc:`[Read] <guides/lxc>`
110
Dean Troyer26dd21b2014-11-06 09:33:02 -0600111Multi-Node Lab
112--------------
Dean Troyer63baba22014-10-29 21:57:31 -0500113
Dean Troyer26dd21b2014-11-06 09:33:02 -0600114Setup a :doc:`multi-node cluster <guides/multinode-lab>` with dedicated VLANs for VMs & Management.
115:doc:`[Read] <guides/multinode-lab>`
Dean Troyer63baba22014-10-29 21:57:31 -0500116
Sean M. Collins34296012014-10-27 11:57:20 -0400117DevStack with Neutron Networking
118--------------------------------
119
120Building a DevStack cluster with :doc:`Neutron Networking <guides/neutron>`.
121This guide is meant for building lab environments with a dedicated
122control node and multiple compute nodes.
123
Kashyap Chamarthy75afd6d2015-01-20 17:39:25 +0100124DevStack with KVM-based Nested Virtualization
125---------------------------------------------
126
127Procedure to setup :doc:`DevStack with KVM-based Nested Virtualization
128<guides/devstack-with-nested-kvm>`. With this setup, Nova instances
129will be more performant than with plain QEMU emulation.
130
Tony Breedsa339efc2014-12-04 16:52:58 +1100131Nova and devstack
132--------------------------------
133
134Guide to working with nova features :doc:`Nova and devstack <guides/nova>`.
135
Dean Troyer26dd21b2014-11-06 09:33:02 -0600136DevStack Documentation
137======================
Sean M. Collins09e550c2014-10-21 11:40:08 -0400138
139Overview
140--------
141
Dean Troyerd224ae12014-11-06 09:33:02 -0600142:doc:`An overview of DevStack goals and priorities <overview>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400143
144Configuration
145-------------
146
Dean Troyerd224ae12014-11-06 09:33:02 -0600147:doc:`Configuring and customizing the stack <configuration>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400148
149Plugins
150-------
151
Dean Troyerd224ae12014-11-06 09:33:02 -0600152:doc:`Extending DevStack with new features <plugins>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400153
Sean M. Collins09e550c2014-10-21 11:40:08 -0400154FAQ
155---
156
Dean Troyerd224ae12014-11-06 09:33:02 -0600157:doc:`The DevStack FAQ <faq>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400158
159Contributing
160------------
161
Ian Wienand6f6e2fd2015-03-20 12:16:28 +1100162:doc:`Pitching in to make DevStack a better place <hacking>`
Sean M. Collins09e550c2014-10-21 11:40:08 -0400163