Browse code

Convert all HTML doc to RST

The motivation for this conversion is to have DevStack's docs be
generated using a more familair workflow for OpenStack projects, using
Sphinx.

Changing from raw HTML to RST will also make it easier to contribute
more documentation, as well as making edits less of a hassle.

The majority of the work was done by using Pandoc to convert from HTML
to RST, with minor edits to the output to remove errors in Sphinx.

Change-Id: I9636017965aeade37b950ddf5bdb0c22ab9004bd

Sean M. Collins authored on 2014/10/22 00:40:08
Showing 42 changed files
1 1
deleted file mode 100644
... ...
@@ -1,70 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Recent Changes</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-      
46
-      <section id="faq" class="span12">
47
-
48
-        <div class='row pull-left'>
49
-          <h2>Recent Changes <small>What's been happening?</small></h2>
50
-          <p>These are the commits to DevStack for the last six months.  For the complete list see <a href="https://review.openstack.org/#/q/status:merged+project:openstack-dev/devstack,n,z">the DevStack project in Gerrit</a>.</p>
51
-
52
-          <ul class='pull-left'>
53
-            <!--
54
-              This list is generated by:
55
-              git log --pretty=format:'            <li>%s - <em>Commit <a href="https://review.openstack.org/#q,%h,n,z">%h</a> %cd</em></li>' --date=short --since 2014-01-01 | grep -v Merge
56
-            -->
57
-            <!-- Begin git log %GIT_LOG% -->
58
-            <!-- End git log -->
59
-          </ul>
60
-        </div>        
61
-
62
-      </section>
63
-
64
-      <footer>
65
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
66
-      </footer>
67
-
68
-    </div> <!-- /container -->
69
-  </body>
70
-</html>
71 1
new file mode 100644
... ...
@@ -0,0 +1,18 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Recent Changes What's been happening?
9
+-------------------------------------
10
+
11
+These are the commits to DevStack for the last six months. For the
12
+complete list see `the DevStack project in
13
+Gerrit <https://review.openstack.org/#/q/status:merged+project:openstack-dev/devstack,n,z>`__.
14
+
15
+© Openstack Foundation 2011-2014 — An
16
+`OpenStack <https://www.openstack.org/>`__
17
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 18
new file mode 100644
... ...
@@ -0,0 +1,263 @@
0
+# -*- coding: utf-8 -*-
1
+#
2
+# Tempest documentation build configuration file, created by
3
+# sphinx-quickstart on Tue May 21 17:43:32 2013.
4
+#
5
+# This file is execfile()d with the current directory set to its containing dir.
6
+#
7
+# Note that not all possible configuration values are present in this
8
+# autogenerated file.
9
+#
10
+# All configuration values have a default; values that are commented out
11
+# serve to show the default.
12
+
13
+import sys
14
+import os
15
+
16
+# If extensions (or modules to document with autodoc) are in another directory,
17
+# add these directories to sys.path here. If the directory is relative to the
18
+# documentation root, use os.path.abspath to make it absolute, like shown here.
19
+#sys.path.insert(0, os.path.abspath('.'))
20
+
21
+# -- General configuration -----------------------------------------------------
22
+
23
+# If your documentation needs a minimal Sphinx version, state it here.
24
+#needs_sphinx = '1.0'
25
+
26
+# Add any Sphinx extension module names here, as strings. They can be extensions
27
+# coming with Sphinx (named 'sphinx.ext.*') or your custom ones.
28
+extensions = [ 'oslosphinx' ]
29
+
30
+todo_include_todos = True
31
+
32
+# Add any paths that contain templates here, relative to this directory.
33
+templates_path = ['_templates']
34
+
35
+# The suffix of source filenames.
36
+source_suffix = '.rst'
37
+
38
+# The encoding of source files.
39
+#source_encoding = 'utf-8-sig'
40
+
41
+# The master toctree document.
42
+master_doc = 'index'
43
+
44
+# General information about the project.
45
+project = u'DevStack'
46
+copyright = u'2014, OpenStack Foundation'
47
+
48
+# The language for content autogenerated by Sphinx. Refer to documentation
49
+# for a list of supported languages.
50
+#language = None
51
+
52
+# There are two options for replacing |today|: either, you set today to some
53
+# non-false value, then it is used:
54
+#today = ''
55
+# Else, today_fmt is used as the format for a strftime call.
56
+#today_fmt = '%B %d, %Y'
57
+
58
+# List of patterns, relative to source directory, that match files and
59
+# directories to ignore when looking for source files.
60
+exclude_patterns = ['_build']
61
+
62
+# The reST default role (used for this markup: `text`) to use for all documents.
63
+#default_role = None
64
+
65
+# If true, '()' will be appended to :func: etc. cross-reference text.
66
+#add_function_parentheses = True
67
+
68
+# If true, the current module name will be prepended to all description
69
+# unit titles (such as .. function::).
70
+add_module_names = False
71
+
72
+# If true, sectionauthor and moduleauthor directives will be shown in the
73
+# output. They are ignored by default.
74
+show_authors = False
75
+
76
+# The name of the Pygments (syntax highlighting) style to use.
77
+pygments_style = 'sphinx'
78
+
79
+# A list of ignored prefixes for module index sorting.
80
+modindex_common_prefix = ['DevStack-doc.']
81
+
82
+# -- Options for man page output ----------------------------------------------
83
+man_pages = []
84
+
85
+# -- Options for HTML output ---------------------------------------------------
86
+
87
+# The theme to use for HTML and HTML Help pages.  See the documentation for
88
+# a list of builtin themes.
89
+html_theme = 'nature'
90
+
91
+# Theme options are theme-specific and customize the look and feel of a theme
92
+# further.  For a list of options available for each theme, see the
93
+# documentation.
94
+#html_theme_options = {}
95
+
96
+# Add any paths that contain custom themes here, relative to this directory.
97
+#html_theme_path = []
98
+
99
+# The name for this set of Sphinx documents.  If None, it defaults to
100
+# "<project> v<release> documentation".
101
+#html_title = None
102
+
103
+# A shorter title for the navigation bar.  Default is the same as html_title.
104
+#html_short_title = None
105
+
106
+# The name of an image file (relative to this directory) to place at the top
107
+# of the sidebar.
108
+#html_logo = None
109
+
110
+# The name of an image file (within the static path) to use as favicon of the
111
+# docs.  This file should be a Windows icon file (.ico) being 16x16 or 32x32
112
+# pixels large.
113
+#html_favicon = None
114
+
115
+# If not '', a 'Last updated on:' timestamp is inserted at every page bottom,
116
+# using the given strftime format.
117
+git_cmd = "git log --pretty=format:'%ad, commit %h' --date=local -n1"
118
+html_last_updated_fmt = os.popen(git_cmd).read()
119
+
120
+# If true, SmartyPants will be used to convert quotes and dashes to
121
+# typographically correct entities.
122
+#html_use_smartypants = True
123
+
124
+# Custom sidebar templates, maps document names to template names.
125
+#html_sidebars = {}
126
+
127
+# Additional templates that should be rendered to pages, maps page names to
128
+# template names.
129
+#html_additional_pages = {}
130
+
131
+# If false, no module index is generated.
132
+html_domain_indices = False
133
+
134
+# If false, no index is generated.
135
+html_use_index = False
136
+
137
+# If true, the index is split into individual pages for each letter.
138
+#html_split_index = False
139
+
140
+# If true, links to the reST sources are added to the pages.
141
+#html_show_sourcelink = True
142
+
143
+# If true, "Created using Sphinx" is shown in the HTML footer. Default is True.
144
+#html_show_sphinx = True
145
+
146
+# If true, "(C) Copyright ..." is shown in the HTML footer. Default is True.
147
+#html_show_copyright = True
148
+
149
+# If true, an OpenSearch description file will be output, and all pages will
150
+# contain a <link> tag referring to it.  The value of this option must be the
151
+# base URL from which the finished HTML is served.
152
+#html_use_opensearch = ''
153
+
154
+# This is the file name suffix for HTML files (e.g. ".xhtml").
155
+#html_file_suffix = None
156
+
157
+# Output file base name for HTML help builder.
158
+htmlhelp_basename = 'DevStack-doc'
159
+
160
+
161
+# -- Options for LaTeX output --------------------------------------------------
162
+
163
+latex_elements = {
164
+# The paper size ('letterpaper' or 'a4paper').
165
+#'papersize': 'letterpaper',
166
+
167
+# The font size ('10pt', '11pt' or '12pt').
168
+#'pointsize': '10pt',
169
+
170
+# Additional stuff for the LaTeX preamble.
171
+#'preamble': '',
172
+}
173
+
174
+# Grouping the document tree into LaTeX files. List of tuples
175
+# (source start file, target name, title, author, documentclass [howto/manual]).
176
+latex_documents = [
177
+  ('index', 'DevStack-doc.tex', u'DevStack Docs',
178
+   u'OpenStack DevStack Team', 'manual'),
179
+]
180
+
181
+# The name of an image file (relative to this directory) to place at the top of
182
+# the title page.
183
+#latex_logo = None
184
+
185
+# For "manual" documents, if this is true, then toplevel headings are parts,
186
+# not chapters.
187
+#latex_use_parts = False
188
+
189
+# If true, show page references after internal links.
190
+#latex_show_pagerefs = False
191
+
192
+# If true, show URL addresses after external links.
193
+#latex_show_urls = False
194
+
195
+# Documents to append as an appendix to all manuals.
196
+#latex_appendices = []
197
+
198
+# If false, no module index is generated.
199
+#latex_domain_indices = True
200
+
201
+# -- Options for Texinfo output ------------------------------------------------
202
+
203
+# Grouping the document tree into Texinfo files. List of tuples
204
+# (source start file, target name, title, author,
205
+#  dir menu entry, description, category)
206
+texinfo_documents = [
207
+  ('index', 'DevStack-doc', u'DevStack Docs',
208
+   u'OpenStack DevStack Team', 'DevStack-doc', 'DevStack documentation',
209
+   'Miscellaneous'),
210
+]
211
+
212
+# Documents to append as an appendix to all manuals.
213
+#texinfo_appendices = []
214
+
215
+# If false, no module index is generated.
216
+#texinfo_domain_indices = True
217
+
218
+# How to display URL addresses: 'footnote', 'no', or 'inline'.
219
+#texinfo_show_urls = 'footnote'
220
+
221
+
222
+# -- Options for Epub output ---------------------------------------------------
223
+
224
+# Bibliographic Dublin Core info.
225
+epub_title = u'DevStack Documentation'
226
+epub_author = u'OpenStack DevStack Team'
227
+epub_publisher = u'OpenStack DevStack Team'
228
+epub_copyright = u'2014, OpenStack DevStack Team'
229
+
230
+# The language of the text. It defaults to the language option
231
+# or en if the language is not set.
232
+#epub_language = ''
233
+
234
+# The scheme of the identifier. Typical schemes are ISBN or URL.
235
+#epub_scheme = ''
236
+
237
+# The unique identifier of the text. This can be a ISBN number
238
+# or the project homepage.
239
+#epub_identifier = ''
240
+
241
+# A unique identification for the text.
242
+#epub_uid = ''
243
+
244
+# A tuple containing the cover image and cover page html template filenames.
245
+#epub_cover = ()
246
+
247
+# HTML files that should be inserted before the pages created by sphinx.
248
+# The format is a list of tuples containing the path and title.
249
+#epub_pre_files = []
250
+
251
+# HTML files shat should be inserted after the pages created by sphinx.
252
+# The format is a list of tuples containing the path and title.
253
+#epub_post_files = []
254
+
255
+# A list of files that should not be packed into the epub file.
256
+#epub_exclude_files = []
257
+
258
+# The depth of the table of contents in toc.ncx.
259
+#epub_tocdepth = 3
260
+
261
+# Allow duplicate toc entries.
262
+#epub_tocdup = True
0 263
deleted file mode 100644
... ...
@@ -1,237 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Overview</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-
46
-      <section id="overview" class="span12">
47
-
48
-        <div class='row pull-left'>
49
-          <h2>Configuration <small>Making it go my way</small></h2>
50
-          <p>DevStack has always tried to be mostly-functional with a minimal amount of configuration.  The number of options has ballooned as projects add features, new projects added and more combinations need to be tested.  Historically DevStack obtained all local configuration and customizations from a <code>localrc</code> file.  The number of configuration variables that are simply passed-through to the individual project configuration files is also increasing.  The old mechanism for this (<code>EXTRAS_OPTS</code> and friends) required specific code for each file and did not scale well.</p>
51
-          <p>In Oct 2013 a new configuration method was introduced (in <a href="https://review.openstack.org/#/c/46768/">review 46768</a>) to hopefully simplify this process and meet the following goals:</p>
52
-          <ul>
53
-            <li>contain all non-default local configuration in a single file</li>
54
-            <li>be backward-compatible with <code>localrc</code> to smooth the transition process</li>
55
-            <li>allow settings in arbitrary configuration files to be changed</li>
56
-          </ul>
57
-
58
-          <h3>local.conf</h3>
59
-          <p>The new configuration file is <code>local.conf</code> and resides in the root DevStack directory like the old <code>localrc</code> file.  It is a modified INI format file that introduces a meta-section header to carry additional information regarding the configuration files to be changed.</p>
60
-
61
-          <p>The new header is similar to a normal INI section header but with double brackets (<code>[[ ... ]]</code>) and two internal fields separated by a pipe (<code>|</code>):</p>
62
-<pre>[[ &lt;phase&gt; | &lt;config-file-name&gt; ]]
63
-</pre>
64
-
65
-          <p>where <code>&lt;phase&gt;</code> is one of a set of phase names defined by <code>stack.sh</code> and <code>&lt;config-file-name&gt;</code> is the configuration filename.  The filename is eval'ed in the <code>stack.sh</code> context so all environment variables are available and may be used.  Using the project config file variables in the header is strongly suggested (see the <code>NOVA_CONF</code> example below).  If the path of the config file does not exist it is skipped.</p>
66
-
67
-          <p>The defined phases are:</p>
68
-          <ul>
69
-            <li><strong>local</strong> - extracts <code>localrc</code> from <code>local.conf</code> before <code>stackrc</code> is sourced</li>
70
-            <li><strong>pre-install</strong> - runs after the system packages are installed but before any of the source repositories are installed</li>
71
-            <li><strong>install</strong> - runs immediately after the repo installations are complete</li>
72
-            <li><strong>post-config</strong> - runs after the layer 2 services are configured and before they are started</li>
73
-            <li><strong>extra</strong> - runs after services are started and before any files in <code>extra.d</code> are executed
74
-          </ul>
75
-
76
-          <p>The file is processed strictly in sequence; meta-sections may be specified more than once but if any settings are duplicated the last to appear in the file will be used.</p>
77
-<pre>[[post-config|$NOVA_CONF]]
78
-[DEFAULT]
79
-use_syslog = True
80
-
81
-[osapi_v3]
82
-enabled = False
83
-</pre>
84
-
85
-          <p>A specific meta-section <code>local|localrc</code> is used to
86
-          provide a default <code>localrc</code> file (actually
87
-          <code>.localrc.auto</code>).  This allows all custom settings
88
-          for DevStack to be contained in a single file.  If <code>localrc</code>
89
-          exists it will be used instead to preserve backward-compatibility.  More
90
-          details on the <a href="localrc.html">contents of localrc</a> are available.</p>
91
-<pre>[[local|localrc]]
92
-FIXED_RANGE=10.254.1.0/24
93
-ADMIN_PASSWORD=speciale
94
-LOGFILE=$DEST/logs/stack.sh.log
95
-</pre>
96
-
97
-          <p>Note that <code>Q_PLUGIN_CONF_FILE</code> is unique in that it is assumed to <em>NOT</em> start with a <code>/</code> (slash) character.  A slash will need to be added:</p>
98
-<pre>[[post-config|/$Q_PLUGIN_CONF_FILE]]
99
-</pre>
100
-
101
-          <p>Also note that the <code>localrc</code> section is sourced as a shell script fragment amd <string>MUST</strong> conform to the shell requirements, specifically no whitespace around <code>=</code> (equals).</p>
102
-
103
-          <a id="minimal"></a>
104
-          <h3>Minimal Configuration</h3>
105
-          <p>While <code>stack.sh</code> is happy to run without a <code>localrc</code> section in <code>local.conf</code>, devlife is better when there are a few minimal variables set. This is an example of a minimal configuration that touches the values that most often need to be set.</p>
106
-          <ul>
107
-            <li>no logging</li>
108
-            <li>pre-set the passwords to prevent interactive prompts</li>
109
-            <li>move network ranges away from the local network (<code>FIXED_RANGE</code> and <code>FLOATING_RANGE</code>, commented out below)</li>
110
-            <li>set the host IP if detection is unreliable (<code>HOST_IP</code>, commented out below)</li>
111
-          </ul>
112
-          <pre>[[local|localrc]]
113
-ADMIN_PASSWORD=secrete
114
-DATABASE_PASSWORD=$ADMIN_PASSWORD
115
-RABBIT_PASSWORD=$ADMIN_PASSWORD
116
-SERVICE_PASSWORD=$ADMIN_PASSWORD
117
-SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
118
-#FIXED_RANGE=172.31.1.0/24
119
-#FLOATING_RANGE=192.168.20.0/25
120
-#HOST_IP=10.3.4.5</pre>
121
-          <p>If the <code>*_PASSWORD</code> variables are not set here you will be prompted to enter values for them by <code>stack.sh</code>.</p>
122
-          <p>The network ranges must not overlap with any networks in use on the host.  Overlap is not uncommon as RFC-1918 'private' ranges are commonly used for both the local networking and Nova's fixed and floating ranges.</p>
123
-          <p><code>HOST_IP</code> is normally detected on the first run of <code>stack.sh</code> but often is indeterminate on later runs due to the IP being moved from an Ethernet integace to a bridge on the host.  Setting it here also makes it available for <code>openrc</code> to set <code>OS_AUTH_URL</code>.  <code>HOST_IP</code> is not set by default.</p>
124
-
125
-          <h3>Common Configuration Variables</h3>
126
-          <dl>
127
-            <dt>Set DevStack install directory</dt>
128
-            <dd><em>Default: <code>DEST=/opt/stack</code></em><br />
129
-            The DevStack install directory is set by the <code>DEST</code> variable. By setting it early in the <code>localrc</code> section you can reference it in later variables.  It can be useful to set it even though it is not changed from the default value.
130
-            <pre>DEST=/opt/stack</pre></dd>
131
-
132
-            <dt>stack.sh logging</dt>
133
-            <dd><em>Defaults: <code>LOGFILE="" LOGDAYS=7 LOG_COLOR=True</code></em><br />
134
-            By default <code>stack.sh</code> output is only written to the console where is runs.  It can be sent to a file in addition to the console by setting <code>LOGFILE</code> to the fully-qualified name of the destination log file.  A timestamp will be appended to the given filename for each run of <code>stack.sh</code>.
135
-            <pre>LOGFILE=$DEST/logs/stack.sh.log</pre>
136
-            Old log files are cleaned automatically if <code>LOGDAYS</code> is set to the number of days of old log files to keep.
137
-            <pre>LOGDAYS=1</pre>
138
-            The some of the project logs (Nova, Cinder, etc) will be colorized by default (if <code>SYSLOG</code> is not set below); this can be turned off by setting <code>LOG_COLOR</code> False.
139
-            <pre>LOG_COLOR=False</pre></dd>
140
-
141
-            <dt>Screen logging</dt>
142
-            <dd><em>Default: <code>SCREEN_LOGDIR=""</code></em><br />
143
-            By default DevStack runs the OpenStack services using <code>screen</code> which is useful for watching log and debug output.  However, in automated testing the interactive <code>screen</code> sessions may not be available after the fact; setting <code>SCREEN_LOGDIR</code> enables logging of the <code>screen</code> sessions in the specified diretory.  There will be one file per <code>screen</code> session named for the session name and a timestamp.  
144
-            <pre>SCREEN_LOGDIR=$DEST/logs/screen</pre>
145
-            <em>Note the use of <code>DEST</code> to locate the main install directory; this is why we suggest setting it in <code>local.conf</code>.</em></dd><br />
146
-
147
-            <dt>One syslog to bind them all</dt>
148
-            <dd><em>Default: <code>SYSLOG=False SYSLOG_HOST=$HOST_IP SYSLOG_PORT=516</code></em><br />
149
-            Logging all services to a single syslog can be convenient.  Enable syslogging by setting <code>SYSLOG</code> to <code>True</code>. If the destination log host is not localhost <code>SYSLOG_HOST</code> and <code>SYSLOG_PORT</code> can be used to direct the message stream to the log host.
150
-            <pre>SYSLOG=True
151
-SYSLOG_HOST=$HOST_IP
152
-SYSLOG_PORT=516</pre></dd>
153
-
154
-            <dt>A clean install every time</dt>
155
-            <dd><em>Default: <code>RECLONE=""</code></em><br />
156
-            By default <code>stack.sh</code> only clones the project repos if they do not exist in <code>$DEST</code>.  <code>stack.sh</code> will freshen each repo on each run if <code>RECLONE</code> is set to <code>yes</code>. This avoids having to manually remove repos in order to get the current branch from <code>$GIT_BASE</code>.
157
-            <pre>RECLONE=yes</code></dd>
158
-
159
-            <dt>Swift</dt>
160
-            <dd><em>Default: <code>SWIFT_HASH="" SWIFT_REPLICAS=1 SWIFT_DATA_DIR=$DEST/data/swift</code></em><br />
161
-            Swift is now used as the back-end for the S3-like object store.  When enabled Nova's objectstore (n-obj in <code>ENABLED_SERVICES</code>) is automatically disabled. Enable Swift by adding it services to <code>ENABLED_SERVICES</code>:
162
-            <pre>enable_service s-proxy s-object s-container s-account</pre>
163
-            Setting Swift's hash value is required and you will be prompted for it if Swift is enabled so just set it to something already:
164
-            <pre>SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5</pre>
165
-            For development purposes the default number of replicas is set to <code>1</code> to reduce the overhead required.  To better simulate a production deployment set this to <code>3</code> or more.
166
-            <pre>SWIFT_REPLICAS=3</pre>
167
-            The data for Swift is stored in the source tree by default
168
-            (in <code>$DEST/swift/data</code>) and can be moved by setting
169
-            <code>SWIFT_DATA_DIR</code>.  The specified directory will be created if it does not exist.
170
-            <pre>SWIFT_DATA_DIR=$DEST/data/swift</pre>
171
-            <em>Note: Previously just enabling <code>swift</code> was sufficient to start the Swift services.  That does not provide proper service granularity, particularly in multi-host configurations, and is considered deprecated.  Some service combination tests now check for specific Swift services and the old blanket acceptance will longer work correctly.</em>
172
-            </dd>
173
-
174
-            <dt>Service Catalog Backend</dt>
175
-            <dd><em>Default: <code>KEYSTONE_CATALOG_BACKEND=sql</code></em><br />
176
-            DevStack uses Keystone's <code>sql</code> service catalog backend.  An alternate <code>template</code> backend is also available.  However, it does not support the <code>service-*</code> and <code>endpoint-*</code> commands of the <code>keystone</code> CLI.  To
177
-            do so requires the <code>sql</code> backend be enabled:
178
-            <pre>KEYSTONE_CATALOG_BACKEND=template</pre>
179
-            DevStack's default configuration in <code>sql</code> mode is set in
180
-            <code>files/keystone_data.sh</code></dd>
181
-
182
-            <dt>Cinder</dt>
183
-            <dd><em>Default: <code>VOLUME_GROUP="stack-volumes" VOLUME_NAME_PREFIX="volume-" VOLUME_BACKING_FILE_SIZE=10250M</code></em><br />
184
-            The logical volume group used to hold the Cinder-managed volumes is set by <code>VOLUME_GROUP</code>, the logical volume name prefix is set with <code>VOLUME_NAME_PREFIX</code> and the size of the volume backing file is set with <code>VOLUME_BACKING_FILE_SIZE</code>.
185
-            <pre>VOLUME_GROUP="stack-volumes"
186
-VOLUME_NAME_PREFIX="volume-"
187
-VOLUME_BACKING_FILE_SIZE=10250M</pre></dd>
188
-
189
-            <dt>Multi-host DevStack</dt>
190
-            <dd><em>Default: <code>MULTI_HOST=False</code></em><br />
191
-            Running DevStack with multiple hosts requires a custom <code>local.conf</code> section for each host.  The master is the same as a single host installation with <code>MULTI_HOST=True</code>.  The slaves have fewer services enabled and a couple of host variables pointing to the master.  
192
-            <br /><br />
193
-            <strong>Master</strong>
194
-            <pre>MULTI_HOST=True</pre>
195
-
196
-            <strong>Slave</strong>
197
-            <pre>MYSQL_HOST=w.x.y.z
198
-RABBIT_HOST=w.x.y.z
199
-GLANCE_HOSTPORT=w.x.y.z:9292
200
-ENABLED_SERVICES=n-vol,n-cpu,n-net,n-api</pre></dd>
201
-
202
-            <dt>API rate limits</dt>
203
-            <dd><em>Default: <code>API_RATE_LIMIT=True</code><br />
204
-            Integration tests such as Tempest will likely run afoul of the default rate limits configured for Nova.  Turn off rate limiting during testing by setting <code>API_RATE_LIMIT=False</code>.
205
-            <pre>API_RATE_LIMIT=False</pre></dd>
206
-          </dl>
207
-
208
-          <h3>Examples</h3>
209
-          <ul>
210
-            <li>Eliminate a Cinder pass-through (<code>CINDER_PERIODIC_INTERVAL</code>):
211
-<pre>[[post-config|$CINDER_CONF]]
212
-[DEFAULT]
213
-periodic_interval = 60
214
-</pre></li>
215
-            <li>Sample <code>local.conf</code> with screen logging enabled:
216
-<pre>[[local|localrc]]
217
-FIXED_RANGE=10.254.1.0/24
218
-NETWORK_GATEWAY=10.254.1.1
219
-LOGDAYS=1
220
-LOGFILE=$DEST/logs/stack.sh.log
221
-SCREEN_LOGDIR=$DEST/logs/screen
222
-ADMIN_PASSWORD=quiet
223
-DATABASE_PASSWORD=$ADMIN_PASSWORD
224
-RABBIT_PASSWORD=$ADMIN_PASSWORD
225
-SERVICE_PASSWORD=$ADMIN_PASSWORD
226
-SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50</pre></li>
227
-          </ul>
228
-
229
-      </section>
230
-
231
-      <footer>
232
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
233
-      </footer>
234
-
235
-    </div> <!-- /container -->
236
-  </body>
237
-</html>
238 1
new file mode 100644
... ...
@@ -0,0 +1,360 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Configuration Making it go my way
9
+---------------------------------
10
+
11
+DevStack has always tried to be mostly-functional with a minimal amount
12
+of configuration. The number of options has ballooned as projects add
13
+features, new projects added and more combinations need to be tested.
14
+Historically DevStack obtained all local configuration and
15
+customizations from a ``localrc`` file. The number of configuration
16
+variables that are simply passed-through to the individual project
17
+configuration files is also increasing. The old mechanism for this
18
+(``EXTRAS_OPTS`` and friends) required specific code for each file and
19
+did not scale well.
20
+
21
+In Oct 2013 a new configuration method was introduced (in `review
22
+46768 <https://review.openstack.org/#/c/46768/>`__) to hopefully
23
+simplify this process and meet the following goals:
24
+
25
+-  contain all non-default local configuration in a single file
26
+-  be backward-compatible with ``localrc`` to smooth the transition
27
+   process
28
+-  allow settings in arbitrary configuration files to be changed
29
+
30
+local.conf
31
+~~~~~~~~~~
32
+
33
+The new configuration file is ``local.conf`` and resides in the root
34
+DevStack directory like the old ``localrc`` file. It is a modified INI
35
+format file that introduces a meta-section header to carry additional
36
+information regarding the configuration files to be changed.
37
+
38
+The new header is similar to a normal INI section header but with double
39
+brackets (``[[ ... ]]``) and two internal fields separated by a pipe
40
+(``|``):
41
+
42
+::
43
+
44
+    [[ <phase> | <config-file-name> ]]
45
+
46
+where ``<phase>`` is one of a set of phase names defined by ``stack.sh``
47
+and ``<config-file-name>`` is the configuration filename. The filename
48
+is eval'ed in the ``stack.sh`` context so all environment variables are
49
+available and may be used. Using the project config file variables in
50
+the header is strongly suggested (see the ``NOVA_CONF`` example below).
51
+If the path of the config file does not exist it is skipped.
52
+
53
+The defined phases are:
54
+
55
+-  **local** - extracts ``localrc`` from ``local.conf`` before
56
+   ``stackrc`` is sourced
57
+-  **pre-install** - runs after the system packages are installed but
58
+   before any of the source repositories are installed
59
+-  **install** - runs immediately after the repo installations are
60
+   complete
61
+-  **post-config** - runs after the layer 2 services are configured and
62
+   before they are started
63
+-  **extra** - runs after services are started and before any files in
64
+   ``extra.d`` are executed
65
+
66
+The file is processed strictly in sequence; meta-sections may be
67
+specified more than once but if any settings are duplicated the last to
68
+appear in the file will be used.
69
+
70
+::
71
+
72
+    [[post-config|$NOVA_CONF]]
73
+    [DEFAULT]
74
+    use_syslog = True
75
+
76
+    [osapi_v3]
77
+    enabled = False
78
+
79
+A specific meta-section ``local|localrc`` is used to provide a default
80
+``localrc`` file (actually ``.localrc.auto``). This allows all custom
81
+settings for DevStack to be contained in a single file. If ``localrc``
82
+exists it will be used instead to preserve backward-compatibility. More
83
+details on the `contents of localrc <localrc.html>`__ are available.
84
+
85
+::
86
+
87
+    [[local|localrc]]
88
+    FIXED_RANGE=10.254.1.0/24
89
+    ADMIN_PASSWORD=speciale
90
+    LOGFILE=$DEST/logs/stack.sh.log
91
+
92
+Note that ``Q_PLUGIN_CONF_FILE`` is unique in that it is assumed to
93
+*NOT* start with a ``/`` (slash) character. A slash will need to be
94
+added:
95
+
96
+::
97
+
98
+    [[post-config|/$Q_PLUGIN_CONF_FILE]]
99
+
100
+Also note that the ``localrc`` section is sourced as a shell script
101
+fragment amd MUST conform to the shell requirements, specifically no
102
+whitespace around ``=`` (equals).
103
+
104
+Minimal Configuration
105
+~~~~~~~~~~~~~~~~~~~~~
106
+
107
+While ``stack.sh`` is happy to run without a ``localrc`` section in
108
+``local.conf``, devlife is better when there are a few minimal variables
109
+set. This is an example of a minimal configuration that touches the
110
+values that most often need to be set.
111
+
112
+-  no logging
113
+-  pre-set the passwords to prevent interactive prompts
114
+-  move network ranges away from the local network (``FIXED_RANGE`` and
115
+   ``FLOATING_RANGE``, commented out below)
116
+-  set the host IP if detection is unreliable (``HOST_IP``, commented
117
+   out below)
118
+
119
+::
120
+
121
+    [[local|localrc]]
122
+    ADMIN_PASSWORD=secrete
123
+    DATABASE_PASSWORD=$ADMIN_PASSWORD
124
+    RABBIT_PASSWORD=$ADMIN_PASSWORD
125
+    SERVICE_PASSWORD=$ADMIN_PASSWORD
126
+    SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
127
+    #FIXED_RANGE=172.31.1.0/24
128
+    #FLOATING_RANGE=192.168.20.0/25
129
+    #HOST_IP=10.3.4.5
130
+
131
+If the ``*_PASSWORD`` variables are not set here you will be prompted to
132
+enter values for them by ``stack.sh``.
133
+
134
+The network ranges must not overlap with any networks in use on the
135
+host. Overlap is not uncommon as RFC-1918 'private' ranges are commonly
136
+used for both the local networking and Nova's fixed and floating ranges.
137
+
138
+``HOST_IP`` is normally detected on the first run of ``stack.sh`` but
139
+often is indeterminate on later runs due to the IP being moved from an
140
+Ethernet integace to a bridge on the host. Setting it here also makes it
141
+available for ``openrc`` to set ``OS_AUTH_URL``. ``HOST_IP`` is not set
142
+by default.
143
+
144
+Common Configuration Variables
145
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
146
+
147
+Set DevStack install directory
148
+    | *Default: ``DEST=/opt/stack``*
149
+    |  The DevStack install directory is set by the ``DEST`` variable.
150
+    |  By setting it early in the ``localrc`` section you can reference it
151
+       in later variables. It can be useful to set it even though it is not
152
+       changed from the default value.
153
+    |
154
+
155
+    ::
156
+
157
+        DEST=/opt/stack
158
+
159
+stack.sh logging
160
+    | *Defaults: ``LOGFILE="" LOGDAYS=7 LOG_COLOR=True``*
161
+    |  By default ``stack.sh`` output is only written to the console
162
+       where is runs. It can be sent to a file in addition to the console
163
+       by setting ``LOGFILE`` to the fully-qualified name of the
164
+       destination log file. A timestamp will be appended to the given
165
+       filename for each run of ``stack.sh``.
166
+    |
167
+
168
+    ::
169
+
170
+        LOGFILE=$DEST/logs/stack.sh.log
171
+
172
+    Old log files are cleaned automatically if ``LOGDAYS`` is set to the
173
+    number of days of old log files to keep.
174
+
175
+    ::
176
+
177
+        LOGDAYS=1
178
+
179
+    The some of the project logs (Nova, Cinder, etc) will be colorized
180
+    by default (if ``SYSLOG`` is not set below); this can be turned off
181
+    by setting ``LOG_COLOR`` False.
182
+
183
+    ::
184
+
185
+        LOG_COLOR=False
186
+
187
+Screen logging
188
+    | *Default: ``SCREEN_LOGDIR=""``*
189
+    |  By default DevStack runs the OpenStack services using ``screen``
190
+       which is useful for watching log and debug output. However, in
191
+       automated testing the interactive ``screen`` sessions may not be
192
+       available after the fact; setting ``SCREEN_LOGDIR`` enables logging
193
+       of the ``screen`` sessions in the specified diretory. There will be
194
+       one file per ``screen`` session named for the session name and a
195
+       timestamp.
196
+    |
197
+
198
+    ::
199
+
200
+        SCREEN_LOGDIR=$DEST/logs/screen
201
+
202
+    *Note the use of ``DEST`` to locate the main install directory; this
203
+    is why we suggest setting it in ``local.conf``.*
204
+
205
+One syslog to bind them all
206
+    | *Default: ``SYSLOG=False SYSLOG_HOST=$HOST_IP SYSLOG_PORT=516``*
207
+    |  Logging all services to a single syslog can be convenient. Enable
208
+       syslogging by setting ``SYSLOG`` to ``True``. If the destination log
209
+       host is not localhost ``SYSLOG_HOST`` and ``SYSLOG_PORT`` can be
210
+       used to direct the message stream to the log host.
211
+    |
212
+
213
+    ::
214
+
215
+        SYSLOG=True
216
+        SYSLOG_HOST=$HOST_IP
217
+        SYSLOG_PORT=516
218
+
219
+A clean install every time
220
+    | *Default: ``RECLONE=""``*
221
+    |  By default ``stack.sh`` only clones the project repos if they do
222
+       not exist in ``$DEST``. ``stack.sh`` will freshen each repo on each
223
+       run if ``RECLONE`` is set to ``yes``. This avoids having to manually
224
+       remove repos in order to get the current branch from ``$GIT_BASE``.
225
+    |
226
+
227
+    ::
228
+
229
+        RECLONE=yes
230
+
231
+                    Swift
232
+                    Default: SWIFT_HASH="" SWIFT_REPLICAS=1 SWIFT_DATA_DIR=$DEST/data/swift
233
+                    Swift is now used as the back-end for the S3-like object store.  When enabled Nova's objectstore (n-obj in ENABLED_SERVICES) is automatically disabled. Enable Swift by adding it services to ENABLED_SERVICES:
234
+                    enable_service s-proxy s-object s-container s-account
235
+
236
+    Setting Swift's hash value is required and you will be prompted for
237
+    it if Swift is enabled so just set it to something already:
238
+
239
+    ::
240
+
241
+        SWIFT_HASH=66a3d6b56c1f479c8b4e70ab5c2000f5
242
+
243
+    For development purposes the default number of replicas is set to
244
+    ``1`` to reduce the overhead required. To better simulate a
245
+    production deployment set this to ``3`` or more.
246
+
247
+    ::
248
+
249
+        SWIFT_REPLICAS=3
250
+
251
+    The data for Swift is stored in the source tree by default (in
252
+    ``$DEST/swift/data``) and can be moved by setting
253
+    ``SWIFT_DATA_DIR``. The specified directory will be created if it
254
+    does not exist.
255
+
256
+    ::
257
+
258
+        SWIFT_DATA_DIR=$DEST/data/swift
259
+
260
+    *Note: Previously just enabling ``swift`` was sufficient to start
261
+    the Swift services. That does not provide proper service
262
+    granularity, particularly in multi-host configurations, and is
263
+    considered deprecated. Some service combination tests now check for
264
+    specific Swift services and the old blanket acceptance will longer
265
+    work correctly.*
266
+
267
+Service Catalog Backend
268
+    | *Default: ``KEYSTONE_CATALOG_BACKEND=sql``*
269
+    |  DevStack uses Keystone's ``sql`` service catalog backend. An
270
+       alternate ``template`` backend is also available. However, it does
271
+       not support the ``service-*`` and ``endpoint-*`` commands of the
272
+       ``keystone`` CLI. To do so requires the ``sql`` backend be enabled:
273
+    |
274
+
275
+    ::
276
+
277
+        KEYSTONE_CATALOG_BACKEND=template
278
+
279
+    DevStack's default configuration in ``sql`` mode is set in
280
+    ``files/keystone_data.sh``
281
+
282
+Cinder
283
+    | Default:
284
+    | VOLUME_GROUP="stack-volumes" VOLUME_NAME_PREFIX="volume-" VOLUME_BACKING_FILE_SIZE=10250M
285
+    |  The logical volume group used to hold the Cinder-managed volumes
286
+       is set by ``VOLUME_GROUP``, the logical volume name prefix is set
287
+       with ``VOLUME_NAME_PREFIX`` and the size of the volume backing file
288
+       is set with ``VOLUME_BACKING_FILE_SIZE``.
289
+    |
290
+
291
+    ::
292
+
293
+        VOLUME_GROUP="stack-volumes"
294
+        VOLUME_NAME_PREFIX="volume-"
295
+        VOLUME_BACKING_FILE_SIZE=10250M
296
+
297
+Multi-host DevStack
298
+    | *Default: ``MULTI_HOST=False``*
299
+    |  Running DevStack with multiple hosts requires a custom
300
+       ``local.conf`` section for each host. The master is the same as a
301
+       single host installation with ``MULTI_HOST=True``. The slaves have
302
+       fewer services enabled and a couple of host variables pointing to
303
+       the master.
304
+    |  **Master**
305
+
306
+    ::
307
+
308
+        MULTI_HOST=True
309
+
310
+    **Slave**
311
+
312
+    ::
313
+
314
+        MYSQL_HOST=w.x.y.z
315
+        RABBIT_HOST=w.x.y.z
316
+        GLANCE_HOSTPORT=w.x.y.z:9292
317
+        ENABLED_SERVICES=n-vol,n-cpu,n-net,n-api
318
+
319
+API rate limits
320
+    | Default: ``API_RATE_LIMIT=True``
321
+    | Integration tests such as Tempest will likely run afoul of the
322
+      default rate limits configured for Nova. Turn off rate limiting
323
+      during testing by setting ``API_RATE_LIMIT=False``.*
324
+    |
325
+
326
+    ::
327
+
328
+        API_RATE_LIMIT=False
329
+
330
+Examples
331
+~~~~~~~~
332
+
333
+-  Eliminate a Cinder pass-through (``CINDER_PERIODIC_INTERVAL``):
334
+
335
+   ::
336
+
337
+       [[post-config|$CINDER_CONF]]
338
+       [DEFAULT]
339
+       periodic_interval = 60
340
+
341
+-  Sample ``local.conf`` with screen logging enabled:
342
+
343
+   ::
344
+
345
+       [[local|localrc]]
346
+       FIXED_RANGE=10.254.1.0/24
347
+       NETWORK_GATEWAY=10.254.1.1
348
+       LOGDAYS=1
349
+       LOGFILE=$DEST/logs/stack.sh.log
350
+       SCREEN_LOGDIR=$DEST/logs/screen
351
+       ADMIN_PASSWORD=quiet
352
+       DATABASE_PASSWORD=$ADMIN_PASSWORD
353
+       RABBIT_PASSWORD=$ADMIN_PASSWORD
354
+       SERVICE_PASSWORD=$ADMIN_PASSWORD
355
+       SERVICE_TOKEN=a682f596-76f3-11e3-b3b2-e716f9080d50
356
+
357
+© Openstack Foundation 2011-2014 — An
358
+`OpenStack <https://www.openstack.org/>`__
359
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 360
deleted file mode 100644
... ...
@@ -1,88 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Overview</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-
46
-      <section id="overview" class="span12">
47
-
48
-        <div class='row pull-left'>
49
-          <h2>Contributing <small>Help us help you</small></h2>
50
-          <p>DevStack uses the standard OpenStack contribution process as outlined in <a href="https://wiki.openstack.org/wiki/How_To_Contribute">the OpenStack wiki 'How To Contribute'</a>.  This means that you will need to meet the requirements of the Contribututors License Agreement (CLA).  If you have already done that for another OpenStack project you are good to go.</p>
51
-
52
-          <h3>Things To Know</h3>
53
-
54
-          <br /><strong>Where Things Are</strong>
55
-          <p>The official DevStack repository is located at <code>git://git.openstack.org/openstack-dev/devstack.git</code>, replicated from the repo maintained by Gerrit. GitHub also has a mirror at <code>git://github.com/openstack-dev/devstack.git</code>.</p>
56
-          <p>The <a href="https://blueprints.launchpad.net/devstack">blueprint</a> and <a href="https://bugs.launchpad.net/devstack">bug trackers</a> are on Launchpad.  It should be noted that DevStack generally does not use these as strongly as other projects, but we're trying to change that.</p>
57
-          <p>The <a href="https://review.openstack.org/#/q/project:openstack-dev/devstack,n,z">Gerrit review queue</a> is, however, used for all commits except for the text of this website.  That should also change in the near future.</p>
58
-
59
-          <br /><strong>HACKING.rst</strong>
60
-          <p>Like most OpenStack projects, DevStack includes a <code>HACKING.rst</code> file that describes the layout, style and conventions of the project.  Because <code>HACKING.rst</code> is in the main DevStack repo it is considered authoritative.  Much of the content on this page is taken from there.</p>
61
-
62
-          <br /><strong>bashate Formatting</strong>
63
-          <p>Around the time of the OpenStack Havana release we added a tool to do style checking in DevStack similar to what pep8/flake8 do for Python projects.  It is still _very_ simplistic, focusing mostly on stray whitespace to help prevent -1 on reviews that are otherwise acceptable.  Oddly enough it is called <code>bashate</code>.  It will be expanded to enforce some of the documentation rules in comments that are used in formatting the script pages for devstack.org and possibly even simple code formatting.  Run it on the entire project with <code>./run_tests.sh</code>.</p>
64
-
65
-          <h3>Code</h3>
66
-
67
-          <br /><strong>Repo Layout</strong>
68
-          <p>The DevStack repo generally keeps all of the primary scripts at the root level.</p>
69
-          <p><code>docs</code> - Contains the source for this website.  It is built using <code>tools/build_docs.sh</code>.</p>
70
-          <p><code>exercises</code> - Contains the test scripts used to validate and demonstrate some OpenStack functions.  These scripts know how to exit early or skip services that are not enabled.</p>
71
-          <p><code>extras.d</code> - Contains the dispatch scripts called by the hooks in <code>stack.sh</code>, <code>unstack.sh</code> and <code>clean.sh</code>.  See <a href="plugins.html">the plugins docs</a> for more information.</p>
72
-          <p><code>files</code> - Contains a variety of otherwise lost files used in configuring and operating DevStack.  This includes templates for configuration files and the system dependency information.  This is also where image files are downloaded and expanded if necessary.</p>
73
-          <p><code>lib</code> - Contains the sub-scripts specific to each project.  This is where the work of managing a project's services is located.  Each top-level project (Keystone, Nova, etc) has a file here.  Additionally there are some for system services and project plugins.</p>
74
-          <p><code>samples</code> - Contains a sample of the local files not included in the DevStack repo.</p>
75
-          <p><code>tests</code> - the DevStack test suite is rather sparse, mostly consisting of test of specific fragile functions in the <code>functions</code> file.</p>
76
-          <p><code>tools</code> - Contains a collection of stand-alone scripts, some of which have aged a bit (does anyone still do ramdisk installs?).  While these may reference the top-level DevStack configuration they can generally be run alone.  There are also some sub-directories to support specific environments such as XenServer.</p>
77
-          
78
-
79
-
80
-      </section>
81
-
82
-      <footer>
83
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; An <a href="https://wiki.openstack.org/wiki/Programs">OpenStack program</a> created by <a href="http://www.rackspace.com/cloud/private_edition/">Rackspace Cloud Builders</a></p>
84
-      </footer>
85
-
86
-    </div> <!-- /container -->
87
-  </body>
88
-</html>
89 1
new file mode 100644
... ...
@@ -0,0 +1,105 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Contributing Help us help you
9
+-----------------------------
10
+
11
+DevStack uses the standard OpenStack contribution process as outlined in
12
+`the OpenStack wiki 'How To
13
+Contribute' <https://wiki.openstack.org/wiki/How_To_Contribute>`__. This
14
+means that you will need to meet the requirements of the Contribututors
15
+License Agreement (CLA). If you have already done that for another
16
+OpenStack project you are good to go.
17
+
18
+Things To Know
19
+~~~~~~~~~~~~~~
20
+
21
+| 
22
+| **Where Things Are**
23
+
24
+The official DevStack repository is located at
25
+``git://git.openstack.org/openstack-dev/devstack.git``, replicated from
26
+the repo maintained by Gerrit. GitHub also has a mirror at
27
+``git://github.com/openstack-dev/devstack.git``.
28
+
29
+The `blueprint <https://blueprints.launchpad.net/devstack>`__ and `bug
30
+trackers <https://bugs.launchpad.net/devstack>`__ are on Launchpad. It
31
+should be noted that DevStack generally does not use these as strongly
32
+as other projects, but we're trying to change that.
33
+
34
+The `Gerrit review
35
+queue <https://review.openstack.org/#/q/project:openstack-dev/devstack,n,z>`__
36
+is, however, used for all commits except for the text of this website.
37
+That should also change in the near future.
38
+
39
+| 
40
+| **HACKING.rst**
41
+
42
+Like most OpenStack projects, DevStack includes a ``HACKING.rst`` file
43
+that describes the layout, style and conventions of the project. Because
44
+``HACKING.rst`` is in the main DevStack repo it is considered
45
+authoritative. Much of the content on this page is taken from there.
46
+
47
+| 
48
+| **bashate Formatting**
49
+
50
+Around the time of the OpenStack Havana release we added a tool to do
51
+style checking in DevStack similar to what pep8/flake8 do for Python
52
+projects. It is still \_very\_ simplistic, focusing mostly on stray
53
+whitespace to help prevent -1 on reviews that are otherwise acceptable.
54
+Oddly enough it is called ``bashate``. It will be expanded to enforce
55
+some of the documentation rules in comments that are used in formatting
56
+the script pages for devstack.org and possibly even simple code
57
+formatting. Run it on the entire project with ``./run_tests.sh``.
58
+
59
+Code
60
+~~~~
61
+
62
+| 
63
+| **Repo Layout**
64
+
65
+The DevStack repo generally keeps all of the primary scripts at the root
66
+level.
67
+
68
+``docs`` - Contains the source for this website. It is built using
69
+``tools/build_docs.sh``.
70
+
71
+``exercises`` - Contains the test scripts used to validate and
72
+demonstrate some OpenStack functions. These scripts know how to exit
73
+early or skip services that are not enabled.
74
+
75
+``extras.d`` - Contains the dispatch scripts called by the hooks in
76
+``stack.sh``, ``unstack.sh`` and ``clean.sh``. See `the plugins
77
+docs <plugins.html>`__ for more information.
78
+
79
+``files`` - Contains a variety of otherwise lost files used in
80
+configuring and operating DevStack. This includes templates for
81
+configuration files and the system dependency information. This is also
82
+where image files are downloaded and expanded if necessary.
83
+
84
+``lib`` - Contains the sub-scripts specific to each project. This is
85
+where the work of managing a project's services is located. Each
86
+top-level project (Keystone, Nova, etc) has a file here. Additionally
87
+there are some for system services and project plugins.
88
+
89
+``samples`` - Contains a sample of the local files not included in the
90
+DevStack repo.
91
+
92
+``tests`` - the DevStack test suite is rather sparse, mostly consisting
93
+of test of specific fragile functions in the ``functions`` file.
94
+
95
+``tools`` - Contains a collection of stand-alone scripts, some of which
96
+have aged a bit (does anyone still do ramdisk installs?). While these
97
+may reference the top-level DevStack configuration they can generally be
98
+run alone. There are also some sub-directories to support specific
99
+environments such as XenServer.
100
+
101
+© Openstack Foundation 2011-2013 — An `OpenStack
102
+program <https://wiki.openstack.org/wiki/Programs>`__ created by
103
+`Rackspace Cloud
104
+Builders <http://www.rackspace.com/cloud/private_edition/>`__
0 105
deleted file mode 100644
... ...
@@ -1,94 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - eucarc</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section class="span12">
47
-        <div class="page-header">
48
-          <h2>eucarc <small>EC2 settings</small></h2>
49
-          <p><code>eucarc</code> creates EC2 credentials for the current user as
50
-            defined by <code>OS_TENANT_NAME:OS_USERNAME</code>.
51
-            <code>eucarc</code> sources <code>openrc</code> at the beginning
52
-            (which in turn sources <code>stackrc</code> and <code>localrc</code>)
53
-            in order to set credentials to create EC2 credentials in Keystone.
54
-        </div>
55
-        <dl>
56
-
57
-          <dt>EC2_URL</dt>
58
-          <dd>Set the EC2 url for euca2ools.  The endpoint is extracted from the
59
-            service catalog for <code>OS_TENANT_NAME:OS_USERNAME</code>.
60
-            <pre>EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')</pre></dd>
61
-
62
-          <dt>S3_URL</dt>
63
-          <dd>Set the S3 endpoint for euca2ools.  The endpoint is extracted from the
64
-            service catalog for <code>OS_TENANT_NAME:OS_USERNAME</code>.
65
-            <pre>export S3_URL=$(keystone catalog --service s3 | awk '/ publicURL / { print $4 }')</pre></dd>
66
-
67
-          <dt>EC2_ACCESS_KEY, EC2_SECRET_KEY</dt>
68
-          <dd>Create EC2 credentials for the current tenant:user in Keystone.
69
-            <pre>CREDS=$(keystone ec2-credentials-create)
70
-export EC2_ACCESS_KEY=$(echo "$CREDS" | awk '/ access / { print $4 }')
71
-export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')</pre></dd>
72
-
73
-          <dt>Certificates for Bundling</dt>
74
-          <dd>Euca2ools requires certificate files to enable bundle uploading.
75
-            The exercise script <code>exercises/bundle.sh</code> demonstrated
76
-            retrieving certificates using the Nova CLI.
77
-            <pre>EC2_PRIVATE_KEY=pk.pem
78
-EC2_CERT=cert.pem
79
-NOVA_CERT=cacert.pem
80
-EUCALYPTUS_CERT=${NOVA_CERT}</pre></dd>
81
-
82
-        </dl>
83
-      </section
84
-
85
-      <footer>
86
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; An
87
-        <a href="https://wiki.openstack.org/wiki/Programs">OpenStack program</a>
88
-        created by <a href="http://www.rackspace.com/cloud/private_edition/">Rackspace Cloud Builders</a></p>
89
-      </footer>
90
-
91
-    </div> <!-- /container -->
92
-
93
-  </body>
94
-</html>
95 1
new file mode 100644
... ...
@@ -0,0 +1,57 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+eucarc EC2 settings
9
+-------------------
10
+
11
+``eucarc`` creates EC2 credentials for the current user as defined by
12
+``OS_TENANT_NAME:OS_USERNAME``. ``eucarc`` sources ``openrc`` at the
13
+beginning (which in turn sources ``stackrc`` and ``localrc``) in order
14
+to set credentials to create EC2 credentials in Keystone.
15
+
16
+EC2\_URL
17
+    Set the EC2 url for euca2ools. The endpoint is extracted from the
18
+    service catalog for ``OS_TENANT_NAME:OS_USERNAME``.
19
+
20
+    ::
21
+
22
+        EC2_URL=$(keystone catalog --service ec2 | awk '/ publicURL / { print $4 }')
23
+
24
+S3\_URL
25
+    Set the S3 endpoint for euca2ools. The endpoint is extracted from
26
+    the service catalog for ``OS_TENANT_NAME:OS_USERNAME``.
27
+
28
+    ::
29
+
30
+        export S3_URL=$(keystone catalog --service s3 | awk '/ publicURL / { print $4 }')
31
+
32
+EC2\_ACCESS\_KEY, EC2\_SECRET\_KEY
33
+    Create EC2 credentials for the current tenant:user in Keystone.
34
+
35
+    ::
36
+
37
+        CREDS=$(keystone ec2-credentials-create)
38
+        export EC2_ACCESS_KEY=$(echo "$CREDS" | awk '/ access / { print $4 }')
39
+        export EC2_SECRET_KEY=$(echo "$CREDS" | awk '/ secret / { print $4 }')
40
+
41
+Certificates for Bundling
42
+    Euca2ools requires certificate files to enable bundle uploading. The
43
+    exercise script ``exercises/bundle.sh`` demonstrated retrieving
44
+    certificates using the Nova CLI.
45
+
46
+    ::
47
+
48
+        EC2_PRIVATE_KEY=pk.pem
49
+        EC2_CERT=cert.pem
50
+        NOVA_CERT=cacert.pem
51
+        EUCALYPTUS_CERT=${NOVA_CERT}
52
+
53
+© Openstack Foundation 2011-2013 — An `OpenStack
54
+program <https://wiki.openstack.org/wiki/Programs>`__ created by
55
+`Rackspace Cloud
56
+Builders <http://www.rackspace.com/cloud/private_edition/>`__
0 57
deleted file mode 100644
... ...
@@ -1,88 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - exerciserc</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section class="span12">
47
-        <div class="page-header">
48
-          <h2>exerciserc <small>Exercise settings</small></h2>
49
-          <p><code>exerciserc</code> is used to configure settings for the
50
-          exercise scripts.  The values shown below are the default values.
51
-          Thse can all be overridden by setting them in the <code>localrc</code>
52
-          section.</p>
53
-        </div>
54
-        <dl>
55
-
56
-          <dt>ACTIVE_TIMEOUT</dt>
57
-          <dd>Max time to wait while vm goes from build to active state
58
-            <pre>ACTIVE_TIMEOUT==30</pre></dd>
59
-
60
-          <dt>ASSOCIATE_TIMEOUT</dt>
61
-          <dd>Max time to wait for proper IP association and dis-association.
62
-            <pre>ASSOCIATE_TIMEOUT=15</pre></dd>
63
-
64
-          <dt>BOOT_TIMEOUT</dt>
65
-          <dd>Max time till the vm is bootable
66
-            <pre>BOOT_TIMEOUT=30</pre></dd>
67
-
68
-          <dt>RUNNING_TIMEOUT</dt>
69
-          <dd>Max time from run instance command until it is running
70
-            <pre>RUNNING_TIMEOUT=$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))</pre></dd>
71
-
72
-          <dt>TERMINATE_TIMEOUT</dt>
73
-          <dd>Max time to wait for a vm to terminate
74
-            <pre>TERMINATE_TIMEOUT=30</pre></dd>
75
-
76
-        </dl>
77
-      </section
78
-
79
-      <footer>
80
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; An
81
-        <a href="https://wiki.openstack.org/wiki/Programs">OpenStack program</a>
82
-        created by <a href="http://www.rackspace.com/cloud/private_edition/">Rackspace Cloud Builders</a></p>
83
-      </footer>
84
-
85
-    </div> <!-- /container -->
86
-
87
-  </body>
88
-</html>
89 1
new file mode 100644
... ...
@@ -0,0 +1,54 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+exerciserc Exercise settings
9
+----------------------------
10
+
11
+``exerciserc`` is used to configure settings for the exercise scripts.
12
+The values shown below are the default values. Thse can all be
13
+overridden by setting them in the ``localrc`` section.
14
+
15
+ACTIVE\_TIMEOUT
16
+    Max time to wait while vm goes from build to active state
17
+
18
+    ::
19
+
20
+        ACTIVE_TIMEOUT==30
21
+
22
+ASSOCIATE\_TIMEOUT
23
+    Max time to wait for proper IP association and dis-association.
24
+
25
+    ::
26
+
27
+        ASSOCIATE_TIMEOUT=15
28
+
29
+BOOT\_TIMEOUT
30
+    Max time till the vm is bootable
31
+
32
+    ::
33
+
34
+        BOOT_TIMEOUT=30
35
+
36
+RUNNING\_TIMEOUT
37
+    Max time from run instance command until it is running
38
+
39
+    ::
40
+
41
+        RUNNING_TIMEOUT=$(($BOOT_TIMEOUT + $ACTIVE_TIMEOUT))
42
+
43
+TERMINATE\_TIMEOUT
44
+    Max time to wait for a vm to terminate
45
+
46
+    ::
47
+
48
+        TERMINATE_TIMEOUT=30
49
+
50
+© Openstack Foundation 2011-2013 — An `OpenStack
51
+program <https://wiki.openstack.org/wiki/Programs>`__ created by
52
+`Rackspace Cloud
53
+Builders <http://www.rackspace.com/cloud/private_edition/>`__
0 54
deleted file mode 100644
... ...
@@ -1,169 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Frequently Asked Questions</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-
46
-      <section id="faq" class="span12">
47
-
48
-        <div class='row pull-left'>
49
-          <h2>FAQ: Using DevStack <small>Making to behave</small></h2>
50
-
51
-          <ul>
52
-            <li><a href="#general">General Questions</a></li>
53
-            <li><a href="#ops_conf">Operation and Configuration</a></li>
54
-            <li><a href="#misc">Miscellaneous</a></li>
55
-          </ul>
56
-
57
-          <h3><a name="general">General Questions</a></h3>
58
-
59
-          <dl class='pull-left'>
60
-            <dt>Q: Can I use DevStack for production?</dt>
61
-            <dd>A: No.  We mean it.  Really.  DevStack makes some implementation choices that are not appropriate for production deployments.  We warned you!</dd>
62
-
63
-            <dt>Q: Then why selinux in enforcing mode?</dt>
64
-            <dd>A: That is the default on current Fedora and RHEL releases.  DevStack has (rightly so) a bad reputation for its security practices; it has always been meant as a development tool first and system integration later.  This is changing as the security issues around OpenStack's use of root (for example) have been tightened and developers need to be better equipped to work in these environments.  <code>stack.sh</code>'s use of root is primarily to support the activities that would be handled by packaging in "real" deployments.  To remove additional protections that will be desired/required in production would be a step backward.</dd>
65
-
66
-            <dt>Q: But selinux is disabled in RHEL 6!</dt>
67
-            <dd>A: Today it is, yes.  That is a specific exception that certain DevStack contributors fought strongly against.  The primary reason it was allowed was to support using RHEL6 as the Python 2.6 test platform and that took priority time-wise.  This will not be the case with RHEL 7.</dd>
68
-
69
-            <dt>Q: Why a shell script, why not chef/puppet/...</dt>
70
-            <dd>A: The script is meant to be read by humans (as well as ran by computers); it is the primary documentation after all.  Using a recipe system requires everyone to agree and understand chef or puppet.</dd>
71
-
72
-            <dt>Q: Why not use Crowbar?</dt>
73
-            <dd>A: DevStack is optimized for documentation &amp; developers.  As some of us use <a href="https://github.com/dellcloudedge/crowbar">Crowbar</a> for production deployments, we hope developers documenting how they setup systems for new features supports projects like Crowbar.</dd>
74
-
75
-            <dt>Q: I'd like to help!</dt>
76
-            <dd>A: That isn't a question, but please do!  The source for DevStack is at <a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a> and bug reports go to <a href="http://bugs.launchpad.net/devstack/">LaunchPad</a>.  Contributions follow the usual process as described in the <a href="http://wiki.openstack.org/HowToContribute">OpenStack wiki</a> even though DevStack is not an official OpenStack project.  This site is housed in the CloudBuilder's <a href="http://github.com/cloudbuilders/devstack">github</a> in the gh-pages branch.</dd>
77
-
78
-            <dt>Q: Why not use packages?</dt>
79
-            <dd>A: Unlike packages, DevStack leaves your cloud ready to develop - checkouts of the code and services running in screen. However, many people are doing the hard work of packaging and recipes for production deployments.  We hope this script serves as a way to communicate configuration changes between developers and packagers.</dd>
80
-
81
-            <dt>Q: Why isn't $MY_FAVORITE_DISTRO supported?</dt>
82
-            <dd>A: DevStack is meant for developers and those who want to see how OpenStack really works.  DevStack is known to run on the distro/release combinations listed in <code>README.md</code>.  DevStack is only supported on releases other than those documented in <code>README.md</code> on a best-effort basis.</dd>
83
-
84
-            <dt>Q: What about Fedora/RHEL/CentOS?</dt>
85
-            <dd>A: Fedora and CentOS/RHEL are supported via rpm dependency files and specific checks in <code>stack.sh</code>.  Support will follow the pattern set with the Ubuntu testing, i.e. only a single release of the distro will receive regular testing, others will be handled on a best-effort basis.</dd>
86
-
87
-            <dt>Q: Are there any differences between Ubuntu and Fedora support?</dt>
88
-            <dd>A: Neutron is not fully supported prior to Fedora 18 due lack of OpenVSwitch packages.</dd>
89
-
90
-            <dt>Q: How about RHEL 6?</dt>
91
-            <dd>A: RHEL 6 has Python 2.6 and many old modules packaged and is a challenge to support.  There are a number of specific RHEL6 work-arounds in <code>stack.sh</code> to handle this.  But the testing on py26 is valuable so we do it...</dd>
92
-          </dl>
93
-
94
-          <h3><a name="ops_conf">Operation and Configuration</a></h3>
95
-
96
-          <dl class='pull-left'>
97
-            <dt>Q: Can DevStack handle a multi-node installation?</dt>
98
-            <dd>A: Indirectly, yes.  You run DevStack on each node with the appropriate configuration in <code>local.conf</code>.  The primary considerations are turning off the services not required on the secondary nodes, making sure the passwords match and setting the various API URLs to the right place.</dd>
99
-
100
-            <dt>Q: How can I document the environment that DevStack is using?</dt>
101
-            <dd>A: DevStack includes a script (<code>tools/info.sh</code>) that gathers the versions of the relevant installed apt packages, pip packages and git repos.  This is a good way to verify what Python modules are installed.</dd>
102
-
103
-            <dt>Q: How do I turn off a service that is enabled by default?</dt>
104
-            <dd>A: Services can be turned off by adding <code>disable_service xxx</code> to <code>local.conf</code> (using <code>n-vol</code> in this example):
105
-              <pre>disable_service n-vol</pre>
106
-            </dd>
107
-
108
-            <dt>Q: Is enabling a service that defaults to off done with the reverse of the above?</dt>
109
-            <dd>A: Of course!
110
-              <pre>enable_service qpid</pre>
111
-            </dd>
112
-
113
-            <dt>Q: How do I run a specific OpenStack milestone?</dt>
114
-            <dd>A: OpenStack milestones have tags set in the git repo.  Set the appropriate tag in the <code>*_BRANCH</code> variables in <code>local.conf</code>.  Swift is on its own release schedule so pick a tag in the Swift repo that is just before the milestone release.  For example:
115
-              <pre>[[local|localrc]]
116
-GLANCE_BRANCH=stable/grizzly
117
-HORIZON_BRANCH=stable/grizzly
118
-KEYSTONE_BRANCH=stable/grizzly
119
-NOVA_BRANCH=stable/grizzly
120
-GLANCE_BRANCH=stable/grizzly
121
-NEUTRON_BRANCH=stable/grizzly
122
-SWIFT_BRANCH=1.10.0</pre>
123
-            </dd>
124
-<!---  this is incomplete, remove it until populating the sql catalog is complete
125
-            <dt>Q: How do I use the SQL catalog backend in Keystone?</dt>
126
-            <dd>A: Comment out the template backend lines in the <code>[catalog]</code> section of <code>keystone/etc/keystone.conf</code> and add the SQL backend config like this:
127
-              <pre>[catalog]
128
-#driver = keystone.catalog.backends.templated.TemplatedCatalog
129
-#template_file = ./etc/default_catalog.templates
130
-driver = keystone.catalog.backends.sql.Catalog</pre>
131
-            </dd>
132
-            <dt>Q: Why not use <strike><code>tools/pip-requires</code></strike><code>requirements.txt</code> to grab project dependencies?</dt>
133
-            <dd><strike>The majority of deployments will use packages to install OpenStack that will have distro-based packages as dependencies.  DevStack installs as many of these Python packages as possible to mimic the expected production environemnt.</strike> Certain Linux distributions have a 'lack of workaround' in their Python configurations that installs vendor packaged Python modules and pip-installed modules to the SAME DIRECTORY TREE.  This is causing heartache and moving us in the direction of installing more modules from PyPI than vendor packages.  However, that is only being done as necessary as the packaging needs to catch up to the development cycle anyway so this is kept to a minimum.</dd>
134
-
135
-            <dt>Q: What can I do about RabbitMQ not wanting to start on my fresh new VM?</dt>
136
-            <dd>A: This is often caused by <code>erlang</code> not being happy with the hostname resolving to a reachable IP address.  Make sure your hostname resolves to a working IP address; setting it to 127.0.0.1 in <code>/etc/hosts</code> is often good enough for a single-node installation.  And in an extreme case, use <code>clean.sh</code> to eradicate it and try again.</dd>
137
-
138
-            <dt>Q: How can I set up Heat in stand-alone configuration?</dt>
139
-            <dd>A: Configure <code>local.conf</code> thusly:
140
-              <pre>[[local|localrc]]
141
-HEAT_STANDALONE=True
142
-ENABLED_SERVICES=rabbit,mysql,heat,h-api,h-api-cfn,h-api-cw,h-eng
143
-KEYSTONE_SERVICE_HOST=&lt;keystone-host&gt;
144
-KEYSTONE_AUTH_HOST=&lt;keystone-host&gt;</pre>
145
-            </dd>
146
-
147
-            <dt>Q: Why are my configuration changes ignored?</dt>
148
-            <dd>A: You may have run into the package prerequisite installation timeout.  <code>tools/install_prereqs.sh</code> has a timer that skips the package installation checks if it was run within the last <code>PREREQ_RERUN_HOURS</code> hours (default is 2).  To override this, set <code>FORCE_PREREQ=1</code> and the package checks will never be skipped.
149
-            </dd>
150
-          </dl>
151
-
152
-          <h3><a name="misc">Miscellaneous</a></h3>
153
-
154
-          <dl class='pull-left'>
155
-            <dt>Q: <code>tools/fixup_stuff.sh</code> is broken and shouldn't 'fix' just one version of packages.</dt>
156
-            <dd>A: [Another not-a-question]  No it isn't.  Stuff in there is to correct problems in an environment that need to be fixed elsewhere or may/will be fixed in a future release.  In the case of <code>httplib2</code> and <code>prettytable</code> specific problems with specific versions are being worked around.  If later releases have those problems than we'll add them to the script.  Knowing about the broken future releases is valuable rather than polling to see if it has been fixed.</dd>
157
-          </dl>
158
-        </div>
159
-
160
-      </section>
161
-
162
-      <footer>
163
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
164
-      </footer>
165
-
166
-    </div> <!-- /container -->
167
-  </body>
168
-</html>
169 1
new file mode 100644
... ...
@@ -0,0 +1,184 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+FAQ: Using DevStack Making to behave
9
+------------------------------------
10
+
11
+-  `General Questions <#general>`__
12
+-  `Operation and Configuration <#ops_conf>`__
13
+-  `Miscellaneous <#misc>`__
14
+
15
+General Questions
16
+~~~~~~~~~~~~~~~~~
17
+
18
+Q: Can I use DevStack for production?
19
+    A: No. We mean it. Really. DevStack makes some implementation
20
+    choices that are not appropriate for production deployments. We
21
+    warned you!
22
+Q: Then why selinux in enforcing mode?
23
+    A: That is the default on current Fedora and RHEL releases. DevStack
24
+    has (rightly so) a bad reputation for its security practices; it has
25
+    always been meant as a development tool first and system integration
26
+    later. This is changing as the security issues around OpenStack's
27
+    use of root (for example) have been tightened and developers need to
28
+    be better equipped to work in these environments. ``stack.sh``'s use
29
+    of root is primarily to support the activities that would be handled
30
+    by packaging in "real" deployments. To remove additional protections
31
+    that will be desired/required in production would be a step
32
+    backward.
33
+Q: But selinux is disabled in RHEL 6!
34
+    A: Today it is, yes. That is a specific exception that certain
35
+    DevStack contributors fought strongly against. The primary reason it
36
+    was allowed was to support using RHEL6 as the Python 2.6 test
37
+    platform and that took priority time-wise. This will not be the case
38
+    with RHEL 7.
39
+Q: Why a shell script, why not chef/puppet/...
40
+    A: The script is meant to be read by humans (as well as ran by
41
+    computers); it is the primary documentation after all. Using a
42
+    recipe system requires everyone to agree and understand chef or
43
+    puppet.
44
+Q: Why not use Crowbar?
45
+    A: DevStack is optimized for documentation & developers. As some of
46
+    us use `Crowbar <https://github.com/dellcloudedge/crowbar>`__ for
47
+    production deployments, we hope developers documenting how they
48
+    setup systems for new features supports projects like Crowbar.
49
+Q: I'd like to help!
50
+    A: That isn't a question, but please do! The source for DevStack is
51
+    at
52
+    `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
53
+    and bug reports go to
54
+    `LaunchPad <http://bugs.launchpad.net/devstack/>`__. Contributions
55
+    follow the usual process as described in the `OpenStack
56
+    wiki <http://wiki.openstack.org/HowToContribute>`__ even though
57
+    DevStack is not an official OpenStack project. This site is housed
58
+    in the CloudBuilder's
59
+    `github <http://github.com/cloudbuilders/devstack>`__ in the
60
+    gh-pages branch.
61
+Q: Why not use packages?
62
+    A: Unlike packages, DevStack leaves your cloud ready to develop -
63
+    checkouts of the code and services running in screen. However, many
64
+    people are doing the hard work of packaging and recipes for
65
+    production deployments. We hope this script serves as a way to
66
+    communicate configuration changes between developers and packagers.
67
+Q: Why isn't $MY\_FAVORITE\_DISTRO supported?
68
+    A: DevStack is meant for developers and those who want to see how
69
+    OpenStack really works. DevStack is known to run on the
70
+    distro/release combinations listed in ``README.md``. DevStack is
71
+    only supported on releases other than those documented in
72
+    ``README.md`` on a best-effort basis.
73
+Q: What about Fedora/RHEL/CentOS?
74
+    A: Fedora and CentOS/RHEL are supported via rpm dependency files and
75
+    specific checks in ``stack.sh``. Support will follow the pattern set
76
+    with the Ubuntu testing, i.e. only a single release of the distro
77
+    will receive regular testing, others will be handled on a
78
+    best-effort basis.
79
+Q: Are there any differences between Ubuntu and Fedora support?
80
+    A: Neutron is not fully supported prior to Fedora 18 due lack of
81
+    OpenVSwitch packages.
82
+Q: How about RHEL 6?
83
+    A: RHEL 6 has Python 2.6 and many old modules packaged and is a
84
+    challenge to support. There are a number of specific RHEL6
85
+    work-arounds in ``stack.sh`` to handle this. But the testing on py26
86
+    is valuable so we do it...
87
+
88
+Operation and Configuration
89
+~~~~~~~~~~~~~~~~~~~~~~~~~~~
90
+
91
+Q: Can DevStack handle a multi-node installation?
92
+    A: Indirectly, yes. You run DevStack on each node with the
93
+    appropriate configuration in ``local.conf``. The primary
94
+    considerations are turning off the services not required on the
95
+    secondary nodes, making sure the passwords match and setting the
96
+    various API URLs to the right place.
97
+Q: How can I document the environment that DevStack is using?
98
+    A: DevStack includes a script (``tools/info.sh``) that gathers the
99
+    versions of the relevant installed apt packages, pip packages and
100
+    git repos. This is a good way to verify what Python modules are
101
+    installed.
102
+Q: How do I turn off a service that is enabled by default?
103
+    A: Services can be turned off by adding ``disable_service xxx`` to
104
+    ``local.conf`` (using ``n-vol`` in this example):
105
+
106
+    ::
107
+
108
+        disable_service n-vol
109
+
110
+Q: Is enabling a service that defaults to off done with the reverse of the above?
111
+    A: Of course!
112
+
113
+    ::
114
+
115
+        enable_service qpid
116
+
117
+Q: How do I run a specific OpenStack milestone?
118
+    A: OpenStack milestones have tags set in the git repo. Set the appropriate tag in the ``*_BRANCH`` variables in ``local.conf``.  Swift is on its own release schedule so pick a tag in the Swift repo that is just before the milestone release. For example:
119
+
120
+    ::
121
+
122
+        [[local|localrc]]
123
+        GLANCE_BRANCH=stable/grizzly
124
+        HORIZON_BRANCH=stable/grizzly
125
+        KEYSTONE_BRANCH=stable/grizzly
126
+        NOVA_BRANCH=stable/grizzly
127
+        GLANCE_BRANCH=stable/grizzly
128
+        NEUTRON_BRANCH=stable/grizzly
129
+        SWIFT_BRANCH=1.10.0
130
+
131
+Q: Why not use [STRIKEOUT:``tools/pip-requires``]\ ``requirements.txt`` to grab project dependencies?
132
+    [STRIKEOUT:The majority of deployments will use packages to install
133
+    OpenStack that will have distro-based packages as dependencies.
134
+    DevStack installs as many of these Python packages as possible to
135
+    mimic the expected production environemnt.] Certain Linux
136
+    distributions have a 'lack of workaround' in their Python
137
+    configurations that installs vendor packaged Python modules and
138
+    pip-installed modules to the SAME DIRECTORY TREE. This is causing
139
+    heartache and moving us in the direction of installing more modules
140
+    from PyPI than vendor packages. However, that is only being done as
141
+    necessary as the packaging needs to catch up to the development
142
+    cycle anyway so this is kept to a minimum.
143
+Q: What can I do about RabbitMQ not wanting to start on my fresh new VM?
144
+    A: This is often caused by ``erlang`` not being happy with the
145
+    hostname resolving to a reachable IP address. Make sure your
146
+    hostname resolves to a working IP address; setting it to 127.0.0.1
147
+    in ``/etc/hosts`` is often good enough for a single-node
148
+    installation. And in an extreme case, use ``clean.sh`` to eradicate
149
+    it and try again.
150
+Q: How can I set up Heat in stand-alone configuration?
151
+    A: Configure ``local.conf`` thusly:
152
+
153
+    ::
154
+
155
+        [[local|localrc]]
156
+        HEAT_STANDALONE=True
157
+        ENABLED_SERVICES=rabbit,mysql,heat,h-api,h-api-cfn,h-api-cw,h-eng
158
+        KEYSTONE_SERVICE_HOST=<keystone-host>
159
+        KEYSTONE_AUTH_HOST=<keystone-host>
160
+
161
+Q: Why are my configuration changes ignored?
162
+    A: You may have run into the package prerequisite installation
163
+    timeout. ``tools/install_prereqs.sh`` has a timer that skips the
164
+    package installation checks if it was run within the last
165
+    ``PREREQ_RERUN_HOURS`` hours (default is 2). To override this, set
166
+    ``FORCE_PREREQ=1`` and the package checks will never be skipped.
167
+
168
+Miscellaneous
169
+~~~~~~~~~~~~~
170
+
171
+Q: ``tools/fixup_stuff.sh`` is broken and shouldn't 'fix' just one version of packages.
172
+    A: [Another not-a-question] No it isn't. Stuff in there is to
173
+    correct problems in an environment that need to be fixed elsewhere
174
+    or may/will be fixed in a future release. In the case of
175
+    ``httplib2`` and ``prettytable`` specific problems with specific
176
+    versions are being worked around. If later releases have those
177
+    problems than we'll add them to the script. Knowing about the broken
178
+    future releases is valuable rather than polling to see if it has
179
+    been fixed.
180
+
181
+© Openstack Foundation 2011-2014 — An
182
+`OpenStack <https://www.openstack.org/>`__
183
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 184
deleted file mode 100644
... ...
@@ -1,336 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>Multi-Node Lab Server Guide - DevStack</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="../assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="../assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="../overview.html">Overview</a></li>
35
-            <li><a href="../changes.html">Changes</a></li>
36
-            <li><a href="../faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section id="overview">
47
-        <h1>Multi-Node Lab: Serious Stuff</h1>
48
-        <p>Here is OpenStack in a realistic test configuration with multiple physical servers.</p>
49
-      </section>
50
-
51
-      <section id="prerequisites">
52
-        <div class="page-header">
53
-          <h2>Prerequisites <small>Linux & Network</small></h2>
54
-        </div>
55
-        
56
-        <h3>Minimal Install</h3>
57
-        <p>You need to have a system with a fresh install of Linux.  You can download the <a href="https://help.ubuntu.com/community/Installation/MinimalCD">Minimal CD</a> for Ubuntu releases since DevStack will download &amp; install all the additional dependencies.  The netinstall ISO is available for <a href="http://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/iso/Fedora-20-x86_64-netinst.iso">Fedora</a> and <a href="http://mirrors.kernel.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso">CentOS/RHEL</a>.</p>
58
-
59
-        <p>Install a couple of packages to bootstrap configuration:</p>
60
-        <pre>apt-get install -y git sudo || yum install -y git sudo</pre>
61
-
62
-        <h3>Network Configuration</h3>
63
-        <p>The first iteration of the lab uses OpenStack's FlatDHCP network controller so
64
-        only a single network will be required.  It should be on its own subnet without DHCP;
65
-        the host IPs and floating IP pool(s) will come out of this block. This example 
66
-        uses the following:</p>
67
-        <ul>
68
-          <li>Gateway: 192.168.42.1</li>
69
-          <li>Physical nodes: 192.168.42.11-192.168.42.99</li>
70
-          <li>Floating IPs: 192.168.42.128-192.168.42.254</li>
71
-        </ul>
72
-        <p>Configure each node with a static IP.
73
-        For Ubuntu edit <code>/etc/network/interfaces</code>:</p>
74
-
75
-        <pre>auto eth0
76
-iface eth0 inet static
77
-    address 192.168.42.11
78
-    netmask 255.255.255.0
79
-    gateway 192.168.42.1
80
-</pre>
81
-        <p>For Fedora and CentOS/RHEL edit
82
-        <code>/etc/sysconfig/network-scripts/ifcfg-eth0</code>:</p>
83
-
84
-        <pre>BOOTPROTO=static
85
-IPADDR=192.168.42.11
86
-NETMASK=255.255.255.0
87
-GATEWAY=192.168.42.1
88
-</pre>
89
-
90
-<!-- save these for the VLAN version
91
-   auto eth0.926
92
-   iface eth0.926 inet static
93
-           address 10.4.144.3
94
-           netmask 255.255.240.0
95
-           #gateway 10.4.144.1
96
-           up ifconfig eth0.926
97
-   
98
-   auto eth0.605
99
-   iface eth0.605 inet static
100
-           address 172.16.103.3
101
-           netmask 255.255.255.0
102
-           #gateway 172.16.103.1
103
-           up ifconfig eth0.605 up
104
-
105
-      </section>
106
-
107
-      <section id="installation">
108
-        <div class="page-header">
109
-          <h2>Installation <small>shake and bake</small></h2>
110
-        </div>
111
-
112
-        <h3>Add the DevStack User</h3>
113
-        <p>OpenStack runs as a non-root user that has sudo access to root.  There is nothing special
114
-        about the name, we'll use <code>stack</code> here. Every node must use the same name and
115
-        preferably uid. If you created a user during the OS install you can use it and give it
116
-        sudo privileges below.  Otherwise create the stack user:</p>
117
-        <pre>groupadd stack
118
-useradd -g stack -s /bin/bash -d /opt/stack -m stack</pre>
119
-        <p>This user will be making many changes to your system during installation and operation
120
-        so it needs to have sudo privileges to root without a password:</p>
121
-        <pre>echo "stack ALL=(ALL) NOPASSWD: ALL" &gt;&gt; /etc/sudoers</pre>
122
-        <p>From here on use the <code>stack</code> user.  <b>Logout</b> and <b>login</b> as the 
123
-        <code>stack</code> user.</p>
124
-
125
-        <h3>Set Up Ssh</h3>
126
-        <p>Set up the stack user on each node with an ssh key for access:</p>
127
-        <pre>mkdir ~/.ssh; chmod 700 ~/.ssh
128
-echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyYjfgyPazTvGpd8OaAvtU2utL8W6gWC4JdRS1J95GhNNfQd657yO6s1AH5KYQWktcE6FO/xNUC2reEXSGC7ezy+sGO1kj9Limv5vrvNHvF1+wts0Cmyx61D2nQw35/Qz8BvpdJANL7VwP/cFI/p3yhvx2lsnjFE3hN8xRB2LtLUopUSVdBwACOVUmH2G+2BWMJDjVINd2DPqRIA4Zhy09KJ3O1Joabr0XpQL0yt/I9x8BVHdAx6l9U0tMg9dj5+tAjZvMAFfye3PJcYwwsfJoFxC8w/SLtqlFX7Ehw++8RtvomvuipLdmWCy+T9hIkl+gHYE4cS3OIqXH7f49jdJf jesse@spacey.local" > ~/.ssh/authorized_keys</pre>
129
-
130
-        <h3>Download DevStack</h3>
131
-        <p>Grab the latest version of DevStack:</p>
132
-        <pre>git clone https://git.openstack.org/openstack-dev/devstack
133
-cd devstack</pre>
134
-
135
-        <p>Up to this point all of the steps apply to each node in the cluster.  From here on
136
-        there are some differences between the cluster controller (aka 'head node') and the
137
-        compute nodes.</p>
138
-
139
-        <h3>Configure Cluster Controller</h3>
140
-        <p>The cluster controller runs all OpenStack services.  Configure the cluster controller's DevStack in <code>local.conf</code>:</p>
141
-        <pre>[[local|localrc]]
142
-HOST_IP=192.168.42.11
143
-FLAT_INTERFACE=eth0
144
-FIXED_RANGE=10.4.128.0/20
145
-FIXED_NETWORK_SIZE=4096
146
-FLOATING_RANGE=192.168.42.128/25
147
-MULTI_HOST=1
148
-LOGFILE=/opt/stack/logs/stack.sh.log
149
-ADMIN_PASSWORD=labstack
150
-MYSQL_PASSWORD=supersecret
151
-RABBIT_PASSWORD=supersecrete
152
-SERVICE_PASSWORD=supersecrete
153
-SERVICE_TOKEN=xyzpdqlazydog</pre>
154
-<!-- save for vlan
155
-FLAT_INTERFACE=eth0.926
156
-
157
-        <p>In the multi-node configuration the first 10 or so IPs in the private subnet are usually reserved.  Add this to <code>local.sh</code> to have it run after every <code>stack.sh</code> run:</p>
158
-        <pre>for i in `seq 2 10`; do /opt/stack/nova/bin/nova-manage fixed reserve 10.4.128.$i; done</pre>
159
-
160
-        <p>Fire up OpenStack:</p>
161
-        <pre>./stack.sh</pre>
162
-        <p>A stream of activity ensues.  When complete you will see a summary of
163
-        <code>stack.sh</code>'s work, including the relevant URLs, accounts and passwords to poke at your
164
-        shiny new OpenStack.  The most recent log file is available in <code>stack.sh.log</code>.</p>
165
-
166
-        <h3>Configure Compute Nodes</h3>
167
-        <p>The compute nodes only run the OpenStack worker services.  For additional machines, create a <code>local.conf</code> with:</p>
168
-        <pre>HOST_IP=192.168.42.12 # change this per compute node
169
-FLAT_INTERFACE=eth0
170
-FIXED_RANGE=10.4.128.0/20
171
-FIXED_NETWORK_SIZE=4096
172
-FLOATING_RANGE=192.168.42.128/25
173
-MULTI_HOST=1
174
-LOGFILE=/opt/stack/logs/stack.sh.log
175
-ADMIN_PASSWORD=labstack
176
-MYSQL_PASSWORD=supersecret
177
-RABBIT_PASSWORD=supersecrete
178
-SERVICE_PASSWORD=supersecrete
179
-SERVICE_TOKEN=xyzpdqlazydog
180
-DATABASE_TYPE=mysql
181
-SERVICE_HOST=192.168.42.11
182
-MYSQL_HOST=192.168.42.11
183
-RABBIT_HOST=192.168.42.11
184
-GLANCE_HOSTPORT=192.168.42.11:9292
185
-ENABLED_SERVICES=n-cpu,n-net,n-api,c-sch,c-api,c-vol
186
-NOVA_VNC_ENABLED=True
187
-NOVNCPROXY_URL="http://192.168.42.11:6080/vnc_auto.html"
188
-VNCSERVER_LISTEN=$HOST_IP
189
-VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN
190
-</pre>
191
-
192
-<!-- save for vlan
193
-FLAT_INTERFACE=eth0.926
194
-
195
-        <p>Fire up OpenStack:</p>
196
-        <pre>./stack.sh</pre>
197
-        <p>A stream of activity ensues.  When complete you will see a summary of
198
-        <code>stack.sh</code>'s work, including the relevant URLs, accounts and passwords to poke at your
199
-        shiny new OpenStack.  The most recent log file is available in <code>stack.sh.log</code>.</p>
200
-
201
-        <h3>Cleaning Up After DevStack</h3>
202
-        <p>Shutting down OpenStack is now as simple as running the included <code>unstack.sh</code> script:</p>
203
-        <pre>./unstack.sh</pre>
204
-
205
-        <p>A more aggressive cleanup can be performed using <code>clean.sh</code>.  It removes certain troublesome packages and attempts to leave the system in a state where changing the database or queue manager can be reliably performed.
206
-        <pre>./clean.sh</pre>
207
-
208
-        <p>Sometimes running instances are not cleaned up.  DevStack attempts to do this when it
209
-        runs but there are times it needs to still be done by hand:</p>
210
-        <pre>sudo rm -rf /etc/libvirt/qemu/inst*
211
-sudo virsh list | grep inst | awk '{print $1}' | xargs -n1 virsh destroy</pre>
212
-
213
-      </section>
214
-
215
-      <section id="options">
216
-        <div class="page-header">
217
-          <h2>Options <small>pimp your stack</small></h2>
218
-        </div>
219
-
220
-        <h3>Additional Users</h3>
221
-        <p>DevStack creates two OpenStack users (<code>admin</code> and <code>demo</code>) and two tenants (also <code>admin</code> and <code>demo</code>).  <code>admin</code> is exactly what it sounds like, a privileged administrative account that is a member of both the <code>admin</code> and <code>demo</code> tenants.  <code>demo</code> is a normal user account that is only a member of the <code>demo</code> tenant.  Creating additional OpenStack users can be done through the dashboard, sometimes it is easier to do them in bulk from a script, especially since they get blown away every time
222
-        <code>stack.sh</code> runs.  The following steps are ripe for scripting:</p>
223
-        <pre># Get admin creds
224
-. openrc admin admin
225
-        
226
-# List existing tenants
227
-keystone tenant-list
228
-
229
-# List existing users
230
-keystone user-list
231
-
232
-# Add a user and tenant
233
-NAME=bob
234
-PASSWORD=BigSecrete
235
-TENANT=$NAME
236
-keystone tenant-create --name=$NAME
237
-keystone user-create --name=$NAME --pass=$PASSWORD
238
-keystone user-role-add --user-id=&lt;bob-user-id&gt; --tenant-id=&lt;bob-tenant-id&gt; --role-id=&lt;member-role-id&gt;
239
-# member-role-id comes from the existing member role created by stack.sh
240
-# keystone role-list</pre>
241
-
242
-        <h3>Swift</h3>
243
-        <p>Swift requires a significant amount of resources and is disabled by default in DevStack.
244
-        The support in DevStack is geared toward a minimal installation but can be used for
245
-        testing.  To implement a true multi-node test of Swift required more than DevStack provides.  
246
-        Enabling it is as simple as enabling the <code>swift</code> service in <code>local.conf</code>:
247
-        <pre>enable_service s-proxy s-object s-container s-account</pre>
248
-
249
-        <p>Swift will put its data files in <code>SWIFT_DATA_DIR</code> (default <code>/opt/stack/data/swift</code>).
250
-        The size of the data 'partition' created (really a loop-mounted file) is set by
251
-        <code>SWIFT_LOOPBACK_DISK_SIZE</code>.  The Swift config files are located in 
252
-        <code>SWIFT_CONFIG_DIR</code> (default <code>/etc/swift</code>).  All of these settings can be overridden in
253
-        (wait for it...) <code>local.conf</code>.</p>
254
-
255
-        <h3>Volumes</h3>
256
-        <p>DevStack will automatically use an existing LVM volume group named <code>stack-volumes</code> 
257
-        to store cloud-created volumes. If <code>stack-volumes</code> doesn't exist, DevStack 
258
-        will set up a 5Gb loop-mounted file to contain it.  This obviously limits the
259
-        number and size of volumes that can be created inside OpenStack.  The size can be
260
-        overridden by setting <code>VOLUME_BACKING_FILE_SIZE</code> in <code>local.conf</code>.</p>
261
-
262
-        <p><code>stack-volumes</code> can be pre-created on any physical volume supported by
263
-        Linux's LVM.  The name of the volume group can be changed by setting <code>VOLUME_GROUP</code>
264
-        in <code>localrc</code>. <code>stack.sh</code> deletes
265
-        all logical volumes in <code>VOLUME_GROUP</code> that begin with 
266
-        <code>VOLUME_NAME_PREFIX</code> as part of cleaning up from previous runs.
267
-        It is recommended to not use the root volume group as <code>VOLUME_GROUP</code>.</p>
268
-
269
-        <p>The details of creating the volume group depends on the server hardware involved 
270
-        but looks something like this:</p>
271
-        <pre>pvcreate /dev/sdc
272
-vgcreate stack-volumes /dev/sdc</pre>
273
-
274
-        <h3>Syslog</h3>
275
-        <p>DevStack is capable of using <code>rsyslog</code> to aggregate logging across the cluster.
276
-        It is off by default; to turn it on set <code>SYSLOG=True</code> in <code>local.conf</code>.
277
-        <code>SYSLOG_HOST</code> defaults to <code>HOST_IP</code>; on the compute nodes it 
278
-        must be set to the IP of the cluster controller to send syslog output there.  In the example
279
-        above, add this to the compute node <code>local.conf</code>:</p>
280
-        <pre>SYSLOG_HOST=192.168.42.11</pre>
281
-
282
-        <h3>Using Alternate Repositories/Branches</h3>
283
-        <p>The git repositories for all of the OpenStack services are defined in <code>stackrc</code>.
284
-        Since this file is a part of the DevStack package changes to it will probably be overwritten
285
-        as updates are applied.  Every setting in <code>stackrc</code> can be redefined in
286
-        <code>local.conf</code>.</p>
287
-
288
-        <p>To change the repository or branch that a particular OpenStack service is created from,
289
-        simply change the value of <code>*_REPO</code> or <code>*_BRANCH</code> corresponding to
290
-        that service.</p>
291
-
292
-        <p>After making changes to the repository or branch, if <code>RECLONE</code> is not set
293
-        in <code>localrc</code> it may be necessary to remove the corresponding directory from
294
-        <code>/opt/stack</code> to force git to re-clone the repository.</p>
295
-
296
-        <p>For example, to pull Nova from a proposed release candidate in the primary Nova 
297
-        repository:</p>
298
-        <pre>NOVA_BRANCH=rc-proposed</pre>
299
-
300
-        <p>To pull Glance from an experimental fork:</p>
301
-        <pre>GLANCE_BRANCH=try-something-big
302
-GLANCE_REPO=https://github.com/mcuser/glance.git</pre>
303
-
304
-      </section>
305
-
306
-      <section id="Notes">
307
-        <div class="page-header">
308
-          <h2>Notes <small>stuff you might need to know</small></h2>
309
-        </div>
310
-
311
-        <h3>Reset the Bridge</h3>
312
-        <p>How to reset the bridge configuration:</p>
313
-        <pre>sudo brctl delif br100 eth0.926
314
-sudo ip link set dev br100 down
315
-sudo brctl delbr br100</pre>
316
-<!--
317
-   sudo rm /etc/libvirt/qemu/*.xml
318
-
319
-        <h3>Set MySQL Password</h3>
320
-        <p>If you forgot to set the root password you can do this:</p>
321
-        <pre>mysqladmin -u root -pnova password 'supersecret'</pre>
322
-
323
-      </section>
324
-
325
-      <footer>
326
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
327
-      </footer>
328
-
329
-    </div> <!-- /container -->
330
-
331
-  </body>
332
-</html>
333 1
new file mode 100644
... ...
@@ -0,0 +1,382 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <../overview.html>`__
3
+-  `Changes <../changes.html>`__
4
+-  `FAQ <../faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Multi-Node Lab: Serious Stuff
9
+=============================
10
+
11
+Here is OpenStack in a realistic test configuration with multiple
12
+physical servers.
13
+
14
+Prerequisites Linux & Network
15
+-----------------------------
16
+
17
+Minimal Install
18
+~~~~~~~~~~~~~~~
19
+
20
+You need to have a system with a fresh install of Linux. You can
21
+download the `Minimal
22
+CD <https://help.ubuntu.com/community/Installation/MinimalCD>`__ for
23
+Ubuntu releases since DevStack will download & install all the
24
+additional dependencies. The netinstall ISO is available for
25
+`Fedora <http://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/iso/Fedora-20-x86_64-netinst.iso>`__
26
+and
27
+`CentOS/RHEL <http://mirrors.kernel.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso>`__.
28
+
29
+Install a couple of packages to bootstrap configuration:
30
+
31
+::
32
+
33
+    apt-get install -y git sudo || yum install -y git sudo
34
+
35
+Network Configuration
36
+~~~~~~~~~~~~~~~~~~~~~
37
+
38
+The first iteration of the lab uses OpenStack's FlatDHCP network
39
+controller so only a single network will be required. It should be on
40
+its own subnet without DHCP; the host IPs and floating IP pool(s) will
41
+come out of this block. This example uses the following:
42
+
43
+-  Gateway: 192.168.42.1
44
+-  Physical nodes: 192.168.42.11-192.168.42.99
45
+-  Floating IPs: 192.168.42.128-192.168.42.254
46
+
47
+Configure each node with a static IP. For Ubuntu edit
48
+``/etc/network/interfaces``:
49
+
50
+::
51
+
52
+    auto eth0
53
+    iface eth0 inet static
54
+        address 192.168.42.11
55
+        netmask 255.255.255.0
56
+        gateway 192.168.42.1
57
+
58
+For Fedora and CentOS/RHEL edit
59
+``/etc/sysconfig/network-scripts/ifcfg-eth0``:
60
+
61
+::
62
+
63
+    BOOTPROTO=static
64
+    IPADDR=192.168.42.11
65
+    NETMASK=255.255.255.0
66
+    GATEWAY=192.168.42.1
67
+
68
+Installation shake and bake
69
+---------------------------
70
+
71
+Add the DevStack User
72
+~~~~~~~~~~~~~~~~~~~~~
73
+
74
+OpenStack runs as a non-root user that has sudo access to root. There is
75
+nothing special about the name, we'll use ``stack`` here. Every node
76
+must use the same name and preferably uid. If you created a user during
77
+the OS install you can use it and give it sudo privileges below.
78
+Otherwise create the stack user:
79
+
80
+::
81
+
82
+    groupadd stack
83
+    useradd -g stack -s /bin/bash -d /opt/stack -m stack
84
+
85
+This user will be making many changes to your system during installation
86
+and operation so it needs to have sudo privileges to root without a
87
+password:
88
+
89
+::
90
+
91
+    echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
92
+
93
+From here on use the ``stack`` user. **Logout** and **login** as the
94
+``stack`` user.
95
+
96
+Set Up Ssh
97
+~~~~~~~~~~
98
+
99
+Set up the stack user on each node with an ssh key for access:
100
+
101
+::
102
+
103
+    mkdir ~/.ssh; chmod 700 ~/.ssh
104
+    echo "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQCyYjfgyPazTvGpd8OaAvtU2utL8W6gWC4JdRS1J95GhNNfQd657yO6s1AH5KYQWktcE6FO/xNUC2reEXSGC7ezy+sGO1kj9Limv5vrvNHvF1+wts0Cmyx61D2nQw35/Qz8BvpdJANL7VwP/cFI/p3yhvx2lsnjFE3hN8xRB2LtLUopUSVdBwACOVUmH2G+2BWMJDjVINd2DPqRIA4Zhy09KJ3O1Joabr0XpQL0yt/I9x8BVHdAx6l9U0tMg9dj5+tAjZvMAFfye3PJcYwwsfJoFxC8w/SLtqlFX7Ehw++8RtvomvuipLdmWCy+T9hIkl+gHYE4cS3OIqXH7f49jdJf jesse@spacey.local" > ~/.ssh/authorized_keys
105
+
106
+Download DevStack
107
+~~~~~~~~~~~~~~~~~
108
+
109
+Grab the latest version of DevStack:
110
+
111
+::
112
+
113
+    git clone https://git.openstack.org/openstack-dev/devstack
114
+    cd devstack
115
+
116
+Up to this point all of the steps apply to each node in the cluster.
117
+From here on there are some differences between the cluster controller
118
+(aka 'head node') and the compute nodes.
119
+
120
+Configure Cluster Controller
121
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~
122
+
123
+The cluster controller runs all OpenStack services. Configure the
124
+cluster controller's DevStack in ``local.conf``:
125
+
126
+::
127
+
128
+    [[local|localrc]]
129
+    HOST_IP=192.168.42.11
130
+    FLAT_INTERFACE=eth0
131
+    FIXED_RANGE=10.4.128.0/20
132
+    FIXED_NETWORK_SIZE=4096
133
+    FLOATING_RANGE=192.168.42.128/25
134
+    MULTI_HOST=1
135
+    LOGFILE=/opt/stack/logs/stack.sh.log
136
+    ADMIN_PASSWORD=labstack
137
+    MYSQL_PASSWORD=supersecret
138
+    RABBIT_PASSWORD=supersecrete
139
+    SERVICE_PASSWORD=supersecrete
140
+    SERVICE_TOKEN=xyzpdqlazydog
141
+
142
+In the multi-node configuration the first 10 or so IPs in the private
143
+subnet are usually reserved. Add this to ``local.sh`` to have it run
144
+after every ``stack.sh`` run:
145
+
146
+::
147
+
148
+    for i in `seq 2 10`; do /opt/stack/nova/bin/nova-manage fixed reserve 10.4.128.$i; done
149
+
150
+Fire up OpenStack:
151
+
152
+::
153
+
154
+    ./stack.sh
155
+
156
+A stream of activity ensues. When complete you will see a summary of
157
+``stack.sh``'s work, including the relevant URLs, accounts and passwords
158
+to poke at your shiny new OpenStack. The most recent log file is
159
+available in ``stack.sh.log``.
160
+
161
+Configure Compute Nodes
162
+~~~~~~~~~~~~~~~~~~~~~~~
163
+
164
+The compute nodes only run the OpenStack worker services. For additional
165
+machines, create a ``local.conf`` with:
166
+
167
+::
168
+
169
+    HOST_IP=192.168.42.12 # change this per compute node
170
+    FLAT_INTERFACE=eth0
171
+    FIXED_RANGE=10.4.128.0/20
172
+    FIXED_NETWORK_SIZE=4096
173
+    FLOATING_RANGE=192.168.42.128/25
174
+    MULTI_HOST=1
175
+    LOGFILE=/opt/stack/logs/stack.sh.log
176
+    ADMIN_PASSWORD=labstack
177
+    MYSQL_PASSWORD=supersecret
178
+    RABBIT_PASSWORD=supersecrete
179
+    SERVICE_PASSWORD=supersecrete
180
+    SERVICE_TOKEN=xyzpdqlazydog
181
+    DATABASE_TYPE=mysql
182
+    SERVICE_HOST=192.168.42.11
183
+    MYSQL_HOST=192.168.42.11
184
+    RABBIT_HOST=192.168.42.11
185
+    GLANCE_HOSTPORT=192.168.42.11:9292
186
+    ENABLED_SERVICES=n-cpu,n-net,n-api,c-sch,c-api,c-vol
187
+    NOVA_VNC_ENABLED=True
188
+    NOVNCPROXY_URL="http://192.168.42.11:6080/vnc_auto.html"
189
+    VNCSERVER_LISTEN=$HOST_IP
190
+    VNCSERVER_PROXYCLIENT_ADDRESS=$VNCSERVER_LISTEN
191
+
192
+Fire up OpenStack:
193
+
194
+::
195
+
196
+    ./stack.sh
197
+
198
+A stream of activity ensues. When complete you will see a summary of
199
+``stack.sh``'s work, including the relevant URLs, accounts and passwords
200
+to poke at your shiny new OpenStack. The most recent log file is
201
+available in ``stack.sh.log``.
202
+
203
+Cleaning Up After DevStack
204
+~~~~~~~~~~~~~~~~~~~~~~~~~~
205
+
206
+Shutting down OpenStack is now as simple as running the included
207
+``unstack.sh`` script:
208
+
209
+::
210
+
211
+    ./unstack.sh
212
+
213
+A more aggressive cleanup can be performed using ``clean.sh``. It
214
+removes certain troublesome packages and attempts to leave the system in
215
+a state where changing the database or queue manager can be reliably
216
+performed.
217
+
218
+::
219
+
220
+    ./clean.sh
221
+
222
+Sometimes running instances are not cleaned up. DevStack attempts to do
223
+this when it runs but there are times it needs to still be done by hand:
224
+
225
+::
226
+
227
+    sudo rm -rf /etc/libvirt/qemu/inst*
228
+    sudo virsh list | grep inst | awk '{print $1}' | xargs -n1 virsh destroy
229
+
230
+Options pimp your stack
231
+-----------------------
232
+
233
+Additional Users
234
+~~~~~~~~~~~~~~~~
235
+
236
+DevStack creates two OpenStack users (``admin`` and ``demo``) and two
237
+tenants (also ``admin`` and ``demo``). ``admin`` is exactly what it
238
+sounds like, a privileged administrative account that is a member of
239
+both the ``admin`` and ``demo`` tenants. ``demo`` is a normal user
240
+account that is only a member of the ``demo`` tenant. Creating
241
+additional OpenStack users can be done through the dashboard, sometimes
242
+it is easier to do them in bulk from a script, especially since they get
243
+blown away every time ``stack.sh`` runs. The following steps are ripe
244
+for scripting:
245
+
246
+::
247
+
248
+    # Get admin creds
249
+    . openrc admin admin
250
+            
251
+    # List existing tenants
252
+    keystone tenant-list
253
+
254
+    # List existing users
255
+    keystone user-list
256
+
257
+    # Add a user and tenant
258
+    NAME=bob
259
+    PASSWORD=BigSecrete
260
+    TENANT=$NAME
261
+    keystone tenant-create --name=$NAME
262
+    keystone user-create --name=$NAME --pass=$PASSWORD
263
+    keystone user-role-add --user-id=<bob-user-id> --tenant-id=<bob-tenant-id> --role-id=<member-role-id>
264
+    # member-role-id comes from the existing member role created by stack.sh
265
+    # keystone role-list
266
+
267
+Swift
268
+~~~~~
269
+
270
+Swift requires a significant amount of resources and is disabled by
271
+default in DevStack. The support in DevStack is geared toward a minimal
272
+installation but can be used for testing. To implement a true multi-node
273
+test of Swift required more than DevStack provides. Enabling it is as
274
+simple as enabling the ``swift`` service in ``local.conf``:
275
+
276
+::
277
+
278
+    enable_service s-proxy s-object s-container s-account
279
+
280
+Swift will put its data files in ``SWIFT_DATA_DIR`` (default
281
+``/opt/stack/data/swift``). The size of the data 'partition' created
282
+(really a loop-mounted file) is set by ``SWIFT_LOOPBACK_DISK_SIZE``. The
283
+Swift config files are located in ``SWIFT_CONFIG_DIR`` (default
284
+``/etc/swift``). All of these settings can be overridden in (wait for
285
+it...) ``local.conf``.
286
+
287
+Volumes
288
+~~~~~~~
289
+
290
+DevStack will automatically use an existing LVM volume group named
291
+``stack-volumes`` to store cloud-created volumes. If ``stack-volumes``
292
+doesn't exist, DevStack will set up a 5Gb loop-mounted file to contain
293
+it. This obviously limits the number and size of volumes that can be
294
+created inside OpenStack. The size can be overridden by setting
295
+``VOLUME_BACKING_FILE_SIZE`` in ``local.conf``.
296
+
297
+``stack-volumes`` can be pre-created on any physical volume supported by
298
+Linux's LVM. The name of the volume group can be changed by setting
299
+``VOLUME_GROUP`` in ``localrc``. ``stack.sh`` deletes all logical
300
+volumes in ``VOLUME_GROUP`` that begin with ``VOLUME_NAME_PREFIX`` as
301
+part of cleaning up from previous runs. It is recommended to not use the
302
+root volume group as ``VOLUME_GROUP``.
303
+
304
+The details of creating the volume group depends on the server hardware
305
+involved but looks something like this:
306
+
307
+::
308
+
309
+    pvcreate /dev/sdc
310
+    vgcreate stack-volumes /dev/sdc
311
+
312
+Syslog
313
+~~~~~~
314
+
315
+DevStack is capable of using ``rsyslog`` to aggregate logging across the
316
+cluster. It is off by default; to turn it on set ``SYSLOG=True`` in
317
+``local.conf``. ``SYSLOG_HOST`` defaults to ``HOST_IP``; on the compute
318
+nodes it must be set to the IP of the cluster controller to send syslog
319
+output there. In the example above, add this to the compute node
320
+``local.conf``:
321
+
322
+::
323
+
324
+    SYSLOG_HOST=192.168.42.11
325
+
326
+Using Alternate Repositories/Branches
327
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
328
+
329
+The git repositories for all of the OpenStack services are defined in
330
+``stackrc``. Since this file is a part of the DevStack package changes
331
+to it will probably be overwritten as updates are applied. Every setting
332
+in ``stackrc`` can be redefined in ``local.conf``.
333
+
334
+To change the repository or branch that a particular OpenStack service
335
+is created from, simply change the value of ``*_REPO`` or ``*_BRANCH``
336
+corresponding to that service.
337
+
338
+After making changes to the repository or branch, if ``RECLONE`` is not
339
+set in ``localrc`` it may be necessary to remove the corresponding
340
+directory from ``/opt/stack`` to force git to re-clone the repository.
341
+
342
+For example, to pull Nova from a proposed release candidate in the
343
+primary Nova repository:
344
+
345
+::
346
+
347
+    NOVA_BRANCH=rc-proposed
348
+
349
+To pull Glance from an experimental fork:
350
+
351
+::
352
+
353
+    GLANCE_BRANCH=try-something-big
354
+    GLANCE_REPO=https://github.com/mcuser/glance.git
355
+
356
+Notes stuff you might need to know
357
+----------------------------------
358
+
359
+Reset the Bridge
360
+~~~~~~~~~~~~~~~~
361
+
362
+How to reset the bridge configuration:
363
+
364
+::
365
+
366
+    sudo brctl delif br100 eth0.926
367
+    sudo ip link set dev br100 down
368
+    sudo brctl delbr br100
369
+
370
+Set MySQL Password
371
+~~~~~~~~~~~~~~~~~~
372
+
373
+If you forgot to set the root password you can do this:
374
+
375
+::
376
+
377
+    mysqladmin -u root -pnova password 'supersecret'
378
+
379
+© Openstack Foundation 2011-2014 — An
380
+`OpenStack <https://www.openstack.org/>`__
381
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 382
deleted file mode 100644
... ...
@@ -1,147 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>PXE Boot Server Guide - DevStack</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="../assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="../assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="../overview.html">Overview</a></li>
35
-            <li><a href="../changes.html">Changes</a></li>
36
-            <li><a href="../faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-      <section id="overview">
46
-        <h1>PXE Boot Server Guide: Magic Dust for Network Boot</h1>
47
-        <p>Boot DevStack from a PXE server to a RAM disk.</p>
48
-      </section>
49
-
50
-      <section id="requirements">
51
-        <div class="page-header">
52
-          <h2>Prerequisites <small>Hardware & OpenWRT</small></h2>
53
-        </div>
54
-        
55
-        <h3>Hardware</h3>
56
-        <p>The whole point of this exercise is to have a highly portable boot server, so using a small router with a USB port is the desired platform.  This guide uses a Buffalo WZR-HP-G300NH as an example, but it is easily generalized for other supported platforms. See openwrt.org for more.</p>
57
-        
58
-        <h3>OpenWRT</h3>
59
-        <p>Any recent 'Backfire' build of OpenWRT will work for the boot server project.  We build from trunk and have made the images available at <a href="http://openwrt.xr7.org/openwrt">http://openwrt.xr7.org/openwrt</a>.</p>
60
-      </section>
61
-
62
-      <section id="installation">
63
-        <div class="page-header">
64
-          <h2>Installation <small>bit blasting</small></h2>
65
-        </div>
66
-
67
-        <h3>Install the Image</h3>
68
-        <p>This process follows <a href="http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h">the OpenWRT doc OEM Install</a> to tftp the new image onto the router.  You need a computer to set up the router, we assume it is a recent Linux or OS/X installation.</p>
69
-        <ul>
70
-          <li>Get openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin
71
-            <pre>wget http://openwrt.xr7.org/openwrt/ar71xx/openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin</pre>
72
-          </li>
73
-          <li>Connect computer to LAN port 4 (closest to WAN port)</li>
74
-          <li>Set computer interface to IP address in the 192.168.11.2</li>
75
-          <li>Add static arp entry for router
76
-            <pre>arp -s 192.168.11.1 &lt;mac-address&gt;</pre>
77
-          </li>
78
-          <li>Start TFTP transfer attempt
79
-            <pre>tftp 192.168.11.1
80
-binary
81
-rexmt 1
82
-timeout 60
83
-put openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin</pre>
84
-          </li>
85
-          <li>Power on router. Router will reboot and initialize on 192.168.1.1.</li>
86
-          <li>Delete static arp entry for router
87
-            <pre>arp -d 192.168.11.1</pre>
88
-          </li>
89
-          <li>Set computer to DHCP, connect and telnet to router and set root password.</li>
90
-        </ul>
91
-
92
-        <h3>Configure the Router</h3>
93
-        <ul>
94
-          <li>Update <code>/etc/opkg.conf</code> to point to our repo:
95
-            <pre>src/gz packages http://192.168.5.13/openwrt/build/ar71xx/packages</pre>
96
-          </li>
97
-          <li>Configure anon mounts:
98
-            <pre>uci delete fstab.@mount[0]
99
-uci commit fstab
100
-/etc/init.d/fstab restart</pre>
101
-          </li>
102
-          <li>Reset the DHCP address range.  DevStack will claim the upper 
103
-            /25 of the router's LAN address space for floating IPs so the
104
-            default DHCP address range needs to be moved:
105
-            <pre>uci set dhcp.lan.start=65
106
-uci set dhcp.lan.limit=60
107
-uci commit dhcp</pre>
108
-          </li>
109
-          <li>Enable TFTP:
110
-            <pre>uci set dhcp.@dnsmasq[0].enable_tftp=1
111
-uci set dhcp.@dnsmasq[0].tftp_root=/mnt/sda1/tftpboot
112
-uci set dhcp.@dnsmasq[0].dhcp_boot=pxelinux.0
113
-uci commit dhcp
114
-/etc/init.d/dnsmasq restart</pre>
115
-          </li>
116
-        </ul>
117
-
118
-        <h3>Set Up tftpboot</h3>
119
-        <ul>
120
-          <li>Create the <code>/tmp/tftpboot</code> structure and populate it:
121
-            <pre>cd ~/devstack
122
-tools/build_pxe_boot.sh /tmp</pre>
123
-            This calls <code>tools/build_ramdisk.sh</code> to create a 2GB ramdisk 
124
-            containing a complete development Oneiric OS plus the 
125
-            OpenStack code checkouts.
126
-          </li>
127
-          <li>Copy <code>tftpboot</code> to a USB drive:
128
-            <pre>mount /dev/sdb1 /mnt/tmp
129
-rsync -a /tmp/tftpboot/ /mnt/tmp/tftpboot/
130
-umount /mnt/tmp</pre>
131
-          </li>
132
-          <li>Plug USB drive into router.  It will be automounted and is ready to serve content.</li>
133
-        </ul>
134
-
135
-        <p>Now <a href="ramdisk.html">return</a> to the RAM disk Guide to kick
136
-           off your DevStack experience.</p>
137
-
138
-      </section>
139
-
140
-      <footer>
141
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; this is not an official OpenStack project...</p>
142
-      </footer>
143
-
144
-    </div> <!-- /container -->
145
-
146
-  </body>
147
-</html>
148 1
new file mode 100644
... ...
@@ -0,0 +1,143 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <../overview.html>`__
3
+-  `Changes <../changes.html>`__
4
+-  `FAQ <../faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+PXE Boot Server Guide: Magic Dust for Network Boot
9
+==================================================
10
+
11
+Boot DevStack from a PXE server to a RAM disk.
12
+
13
+Prerequisites Hardware & OpenWRT
14
+--------------------------------
15
+
16
+Hardware
17
+~~~~~~~~
18
+
19
+The whole point of this exercise is to have a highly portable boot
20
+server, so using a small router with a USB port is the desired platform.
21
+This guide uses a Buffalo WZR-HP-G300NH as an example, but it is easily
22
+generalized for other supported platforms. See openwrt.org for more.
23
+
24
+OpenWRT
25
+~~~~~~~
26
+
27
+Any recent 'Backfire' build of OpenWRT will work for the boot server
28
+project. We build from trunk and have made the images available at
29
+`http://openwrt.xr7.org/openwrt <http://openwrt.xr7.org/openwrt>`__.
30
+
31
+Installation bit blasting
32
+-------------------------
33
+
34
+Install the Image
35
+~~~~~~~~~~~~~~~~~
36
+
37
+This process follows `the OpenWRT doc OEM
38
+Install <http://wiki.openwrt.org/toh/buffalo/wzr-hp-g300h>`__ to tftp
39
+the new image onto the router. You need a computer to set up the router,
40
+we assume it is a recent Linux or OS/X installation.
41
+
42
+-  Get openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin
43
+
44
+   ::
45
+
46
+       wget http://openwrt.xr7.org/openwrt/ar71xx/openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin
47
+
48
+-  Connect computer to LAN port 4 (closest to WAN port)
49
+-  Set computer interface to IP address in the 192.168.11.2
50
+-  Add static arp entry for router
51
+
52
+   ::
53
+
54
+       arp -s 192.168.11.1 <mac-address>
55
+
56
+-  Start TFTP transfer attempt
57
+
58
+   ::
59
+
60
+       tftp 192.168.11.1
61
+       binary
62
+       rexmt 1
63
+       timeout 60
64
+       put openwrt-ar71xx-wzr-hp-g300nh-squashfs-tftp.bin
65
+
66
+-  Power on router. Router will reboot and initialize on 192.168.1.1.
67
+-  Delete static arp entry for router
68
+
69
+   ::
70
+
71
+       arp -d 192.168.11.1
72
+
73
+-  Set computer to DHCP, connect and telnet to router and set root
74
+   password.
75
+
76
+Configure the Router
77
+~~~~~~~~~~~~~~~~~~~~
78
+
79
+-  Update ``/etc/opkg.conf`` to point to our repo:
80
+
81
+   ::
82
+
83
+       src/gz packages http://192.168.5.13/openwrt/build/ar71xx/packages
84
+
85
+-  Configure anon mounts:
86
+
87
+   ::
88
+
89
+       uci delete fstab.@mount[0]
90
+       uci commit fstab
91
+       /etc/init.d/fstab restart
92
+
93
+-  Reset the DHCP address range. DevStack will claim the upper /25 of
94
+   the router's LAN address space for floating IPs so the default DHCP
95
+   address range needs to be moved:
96
+
97
+   ::
98
+
99
+       uci set dhcp.lan.start=65
100
+       uci set dhcp.lan.limit=60
101
+       uci commit dhcp
102
+
103
+-  Enable TFTP:
104
+
105
+   ::
106
+
107
+       uci set dhcp.@dnsmasq[0].enable_tftp=1
108
+       uci set dhcp.@dnsmasq[0].tftp_root=/mnt/sda1/tftpboot
109
+       uci set dhcp.@dnsmasq[0].dhcp_boot=pxelinux.0
110
+       uci commit dhcp
111
+       /etc/init.d/dnsmasq restart
112
+
113
+Set Up tftpboot
114
+~~~~~~~~~~~~~~~
115
+
116
+-  Create the ``/tmp/tftpboot`` structure and populate it:
117
+
118
+   ::
119
+
120
+       cd ~/devstack
121
+       tools/build_pxe_boot.sh /tmp
122
+
123
+   This calls ``tools/build_ramdisk.sh`` to create a 2GB ramdisk
124
+   containing a complete development Oneiric OS plus the OpenStack code
125
+   checkouts.
126
+
127
+-  Copy ``tftpboot`` to a USB drive:
128
+
129
+   ::
130
+
131
+       mount /dev/sdb1 /mnt/tmp
132
+       rsync -a /tmp/tftpboot/ /mnt/tmp/tftpboot/
133
+       umount /mnt/tmp
134
+
135
+-  Plug USB drive into router. It will be automounted and is ready to
136
+   serve content.
137
+
138
+Now `return <ramdisk.html>`__ to the RAM disk Guide to kick off your
139
+DevStack experience.
140
+
141
+© Openstack Foundation 2011-2013 — this is not an official OpenStack
142
+project...
0 143
deleted file mode 100644
... ...
@@ -1,119 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>RAMdisk Boot Guide - DevStack</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="../assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="../assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="../overview.html">Overview</a></li>
35
-            <li><a href="../changes.html">Changes</a></li>
36
-            <li><a href="../faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-      <section id="overview">
46
-        <h1>Stack-in-a-Box: Try before you mkfs</h1>
47
-        <p>Run DevStack from a RAM disk to give it a whirl before making the 
48
-           commitment to install it.  We'll cover booting from a USB drive or 
49
-           over the network via PXE.  We'll even thow in configuring a home
50
-           router to handle the PXE boot.  You will need a minimum of 3GB 
51
-           for both of these configurations as the RAM disk itself is 2GB.</p>
52
-      </section>
53
-
54
-      <section id="requirements">
55
-        <div class="page-header">
56
-          <h2>Prerequisites <small>Hardware</small></h2>
57
-        </div>
58
-        
59
-        <h3>USB Boot</h3>
60
-        <p><a href="usb-boot.html">This guide</a> covers the creation of a bootable USB drive.  Your 
61
-        computer BIOS must support booting from USB.</p>
62
-        
63
-        <h3>PXE Boot</h3>
64
-        <p><a href="pxe-boot.html">This guide</a> covers the installation of OpenWRT on a home router
65
-        and configuring it as a PXE server, plus the creation of the
66
-        boot images and PXE support files.
67
-      </section>
68
-
69
-      <section id="installation">
70
-        <div class="page-header">
71
-          <h2>Installation <small>bit blasting</small></h2>
72
-        </div>
73
-
74
-        <h3>Install DevStack</h3>
75
-        <p>Grab the latest version of DevStack via https:</p>
76
-		<pre>sudo apt-get install git -y
77
-git clone https://git.openstack.org/openstack-dev/devstack
78
-cd devstack</pre>
79
-
80
-        <h3>Prepare the Boot RAMdisk</h3>
81
-        <p>Pick your boot method and follow the guide to prepare to build
82
-           the RAM disk and set up the boot process:</p>
83
-        <ul>
84
-          <li><a href="usb-boot.html">USB boot</a></li>
85
-          <li><a href="pxe-boot.html">PXE boot</a></li>
86
-        </ul>
87
-
88
-        <h3>Fire It Up</h3>
89
-        <ul>
90
-          <li>Boot the computer into the RAM disk.  The details will vary from
91
-              machine to machine but most BIOSes have a method to select the
92
-              boot device, often by pressing F12 during POST.</li>
93
-          <li>Select 'DevStack' from the Boot Menu.</li>
94
-          <li>Log in with the 'stack' user and 'pass' password.</li>
95
-          <li>Create <code>devstack/localrc</code> if you wish to change any 
96
-              of the configuration variables.  You will probably want to at 
97
-              least set the admin login password to something memorable rather 
98
-              than the default 20 random characters:
99
-            <pre>ADMIN_PASSWORD=openstack</pre>
100
-          </li>
101
-          <li>Fire up OpenStack!
102
-            <pre>./run.sh</pre>
103
-          </li>
104
-          <li>See the processes running in screen:
105
-            <pre>screen -x</pre>
106
-          </li>
107
-          <li>Connect to the dashboard at <code>http://&lt;ip-address&gt;/</code></li>
108
-        </ul>
109
-
110
-      </section>
111
-
112
-      <footer>
113
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; this is not an official OpenStack project...</p>
114
-      </footer>
115
-
116
-    </div> <!-- /container -->
117
-
118
-  </body>
119
-</html>
120 1
new file mode 100644
... ...
@@ -0,0 +1,89 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <../overview.html>`__
3
+-  `Changes <../changes.html>`__
4
+-  `FAQ <../faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Stack-in-a-Box: Try before you mkfs
9
+===================================
10
+
11
+Run DevStack from a RAM disk to give it a whirl before making the
12
+commitment to install it. We'll cover booting from a USB drive or over
13
+the network via PXE. We'll even thow in configuring a home router to
14
+handle the PXE boot. You will need a minimum of 3GB for both of these
15
+configurations as the RAM disk itself is 2GB.
16
+
17
+Prerequisites Hardware
18
+----------------------
19
+
20
+USB Boot
21
+~~~~~~~~
22
+
23
+`This guide <usb-boot.html>`__ covers the creation of a bootable USB
24
+drive. Your computer BIOS must support booting from USB.
25
+
26
+PXE Boot
27
+~~~~~~~~
28
+
29
+`This guide <pxe-boot.html>`__ covers the installation of OpenWRT on a
30
+home router and configuring it as a PXE server, plus the creation of the
31
+boot images and PXE support files.
32
+
33
+Installation bit blasting
34
+-------------------------
35
+
36
+Install DevStack
37
+~~~~~~~~~~~~~~~~
38
+
39
+Grab the latest version of DevStack via https:
40
+
41
+::
42
+
43
+    sudo apt-get install git -y
44
+    git clone https://git.openstack.org/openstack-dev/devstack
45
+    cd devstack
46
+
47
+Prepare the Boot RAMdisk
48
+~~~~~~~~~~~~~~~~~~~~~~~~
49
+
50
+Pick your boot method and follow the guide to prepare to build the RAM
51
+disk and set up the boot process:
52
+
53
+-  `USB boot <usb-boot.html>`__
54
+-  `PXE boot <pxe-boot.html>`__
55
+
56
+Fire It Up
57
+~~~~~~~~~~
58
+
59
+-  Boot the computer into the RAM disk. The details will vary from
60
+   machine to machine but most BIOSes have a method to select the boot
61
+   device, often by pressing F12 during POST.
62
+-  Select 'DevStack' from the Boot Menu.
63
+-  Log in with the 'stack' user and 'pass' password.
64
+-  Create ``devstack/localrc`` if you wish to change any of the
65
+   configuration variables. You will probably want to at least set the
66
+   admin login password to something memorable rather than the default
67
+   20 random characters:
68
+
69
+   ::
70
+
71
+       ADMIN_PASSWORD=openstack
72
+
73
+-  Fire up OpenStack!
74
+
75
+   ::
76
+
77
+       ./run.sh
78
+
79
+-  See the processes running in screen:
80
+
81
+   ::
82
+
83
+       screen -x
84
+
85
+-  Connect to the dashboard at ``http://<ip-address>/``
86
+
87
+© Openstack Foundation 2011-2013 — this is not an official OpenStack
88
+project...
0 89
deleted file mode 100644
... ...
@@ -1,131 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>Single Machine Guide - DevStack</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="../assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="../assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="../overview.html">Overview</a></li>
35
-            <li><a href="../changes.html">Changes</a></li>
36
-            <li><a href="../faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-      <section id="overview">
46
-        <h1>All-In-One: Dedicated Hardware</h1>
47
-        <p>Things are about to get real!  Using OpenStack in containers or VMs is nice for kicking the tires, but doesn't compare to the feeling you get with hardware.</p>
48
-      </section>
49
-
50
-      <section id="prerequisites">
51
-        <div class="page-header">
52
-          <h2>Prerequisites <small>Linux & Network</small></h2>
53
-        </div>
54
-        
55
-        <h3>Minimal Install</h3>
56
-        <p>You need to have a system with a fresh install of Linux.  You can download the <a href="https://help.ubuntu.com/community/Installation/MinimalCD">Minimal CD</a> for Ubuntu releases since DevStack will download &amp; install all the additional dependencies.  The netinstall ISO is available for <a href="http://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/iso/Fedora-20-x86_64-netinst.iso">Fedora</a> and <a href="http://mirrors.kernel.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso">CentOS/RHEL</a>.  You may be tempted to use a desktop distro on a laptop, it will probably work but you may need to tell Network Manager to keep its fingers off the interface(s) that OpenStack uses for bridging.</p>
57
-        
58
-        <h3>Network Configuration</h3>
59
-        <p>Determine the network configuration on the interface used to integrate your 
60
-        OpenStack cloud with your existing network. For example, if the IPs given out on your network 
61
-        by DHCP are 192.168.1.X - where X is between 100 and 200 you will be able to use IPs 
62
-        201-254 for <b>floating ips</b>.</p>
63
-        <p>To make things easier later change your host to use a static IP instead of DHCP (i.e. 192.168.1.201).</p>
64
-      </section>
65
-
66
-      <section id="installation">
67
-        <div class="page-header">
68
-          <h2>Installation <small>shake and bake</small></h2>
69
-        </div>
70
-
71
-        <h3>Add your user</h3>
72
-        <p>We need to add a user to install DevStack.  (if you created a user during install you can skip this step and just give the user sudo privileges below)</p>
73
-        <pre>adduser stack</pre>
74
-        <p>Since this user will be making many changes to your system, it will need to have sudo privileges:</p>
75
-        <pre>apt-get install sudo -y || yum install -y sudo
76
-echo "stack ALL=(ALL) NOPASSWD: ALL" &gt;&gt; /etc/sudoers</pre>
77
-        <p>From here on you should use the user you created.  <b>Logout</b> and <b>login</b> as that user.</p>
78
-
79
-        <h3>Download DevStack</h3>
80
-        <p>We'll grab the latest version of DevStack via https:</p>
81
-        <pre>sudo apt-get install git -y || yum install -y git
82
-git clone https://git.openstack.org/openstack-dev/devstack
83
-cd devstack</pre>
84
-
85
-        <h3>Run DevStack</h3>
86
-        <p>Now to configure <code>stack.sh</code>.  DevStack includes a sample in <code>devstack/samples/local.conf</code>.  Create <code>local.conf</code> as shown below to do the following:</p>
87
-        <ul>
88
-          <li>Set <code>FLOATING_RANGE</code> to a range not used on the local network, i.e. 192.168.1.224/27.  This configures IP addresses ending in 225-254 to be used as floating IPs.</li>
89
-          <li>Set <code>FIXED_RANGE</code> and <code>FIXED_NETWORK_SIZE</code> to configure the internal address space used by the instances.</li>
90
-          <li>Set <code>FLAT_INTERFACE</code> to the Ethernet interface that connects the host to your local network.  This is the interface that should be configured with the static IP address mentioned above.</li>
91
-          <li>Set the administrative password.  This password is used for the <b>admin</b> and <b>demo</b> accounts set up as OpenStack users.</li>
92
-          <li>Set the MySQL administrative password.  The default here is a random hex string which is inconvenient if you need to look at the database directly for anything.</li>
93
-          <li>Set the RabbitMQ password.</li>
94
-          <li>Set the service password.  This is used by the OpenStack services (Nova, Glance, etc) to authenticate with Keystone.</li>
95
-        </ul>
96
-        <p><code>local.conf</code> should look something like this:</p>
97
-        <pre>[[local|localrc]]
98
-FLOATING_RANGE=192.168.1.224/27
99
-FIXED_RANGE=10.11.12.0/24
100
-FIXED_NETWORK_SIZE=256
101
-FLAT_INTERFACE=eth0
102
-ADMIN_PASSWORD=supersecret
103
-MYSQL_PASSWORD=iheartdatabases
104
-RABBIT_PASSWORD=flopsymopsy
105
-SERVICE_PASSWORD=iheartksl</pre>
106
-
107
-        <p>Run DevStack:</p>
108
-        <pre>./stack.sh</pre>
109
-        <p>A seemingly endless stream of activity ensues.  When complete you will see a summary of
110
-        <code>stack.sh</code>'s work, including the relevant URLs, accounts and passwords to poke at your
111
-        shiny new OpenStack.</p>
112
-
113
-        <h3>Using OpenStack</h3>
114
-        <p>At this point you should be able to access the dashboard from other computers on the 
115
-        local network.  In this example that would be http://192.168.1.201/ for the dashboard (aka Horizon).
116
-        Launch VMs and if you give them floating IPs and security group access those VMs will be accessible from other machines on your network.</p>
117
-
118
-        <p>Some examples of using the OpenStack command-line clients <code>nova</code> and <code>glance</code>
119
-        are in the shakedown scripts in <code>devstack/exercises</code>.  <code>exercise.sh</code>
120
-        will run all of those scripts and report on the results.</p>
121
-
122
-      </section>
123
-
124
-      <footer>
125
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; An <a href="https://wiki.openstack.org/wiki/Programs">OpenStack program</a> created by <a href="http://www.rackspace.com/cloud/private_edition/">Rackspace Cloud Builders</a></p>
126
-      </footer>
127
-
128
-    </div> <!-- /container -->
129
-
130
-  </body>
131
-</html>
132 1
new file mode 100644
... ...
@@ -0,0 +1,145 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <../overview.html>`__
3
+-  `Changes <../changes.html>`__
4
+-  `FAQ <../faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+All-In-One: Dedicated Hardware
9
+==============================
10
+
11
+Things are about to get real! Using OpenStack in containers or VMs is
12
+nice for kicking the tires, but doesn't compare to the feeling you get
13
+with hardware.
14
+
15
+Prerequisites Linux & Network
16
+-----------------------------
17
+
18
+Minimal Install
19
+~~~~~~~~~~~~~~~
20
+
21
+You need to have a system with a fresh install of Linux. You can
22
+download the `Minimal
23
+CD <https://help.ubuntu.com/community/Installation/MinimalCD>`__ for
24
+Ubuntu releases since DevStack will download & install all the
25
+additional dependencies. The netinstall ISO is available for
26
+`Fedora <http://mirrors.kernel.org/fedora/releases/18/Fedora/x86_64/iso/Fedora-20-x86_64-netinst.iso>`__
27
+and
28
+`CentOS/RHEL <http://mirrors.kernel.org/centos/6.5/isos/x86_64/CentOS-6.5-x86_64-netinstall.iso>`__.
29
+You may be tempted to use a desktop distro on a laptop, it will probably
30
+work but you may need to tell Network Manager to keep its fingers off
31
+the interface(s) that OpenStack uses for bridging.
32
+
33
+Network Configuration
34
+~~~~~~~~~~~~~~~~~~~~~
35
+
36
+Determine the network configuration on the interface used to integrate
37
+your OpenStack cloud with your existing network. For example, if the IPs
38
+given out on your network by DHCP are 192.168.1.X - where X is between
39
+100 and 200 you will be able to use IPs 201-254 for **floating ips**.
40
+
41
+To make things easier later change your host to use a static IP instead
42
+of DHCP (i.e. 192.168.1.201).
43
+
44
+Installation shake and bake
45
+---------------------------
46
+
47
+Add your user
48
+~~~~~~~~~~~~~
49
+
50
+We need to add a user to install DevStack. (if you created a user during
51
+install you can skip this step and just give the user sudo privileges
52
+below)
53
+
54
+::
55
+
56
+    adduser stack
57
+
58
+Since this user will be making many changes to your system, it will need
59
+to have sudo privileges:
60
+
61
+::
62
+
63
+    apt-get install sudo -y || yum install -y sudo
64
+    echo "stack ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
65
+
66
+From here on you should use the user you created. **Logout** and
67
+**login** as that user.
68
+
69
+Download DevStack
70
+~~~~~~~~~~~~~~~~~
71
+
72
+We'll grab the latest version of DevStack via https:
73
+
74
+::
75
+
76
+    sudo apt-get install git -y || yum install -y git
77
+    git clone https://git.openstack.org/openstack-dev/devstack
78
+    cd devstack
79
+
80
+Run DevStack
81
+~~~~~~~~~~~~
82
+
83
+Now to configure ``stack.sh``. DevStack includes a sample in
84
+``devstack/samples/local.conf``. Create ``local.conf`` as shown below to
85
+do the following:
86
+
87
+-  Set ``FLOATING_RANGE`` to a range not used on the local network, i.e.
88
+   192.168.1.224/27. This configures IP addresses ending in 225-254 to
89
+   be used as floating IPs.
90
+-  Set ``FIXED_RANGE`` and ``FIXED_NETWORK_SIZE`` to configure the
91
+   internal address space used by the instances.
92
+-  Set ``FLAT_INTERFACE`` to the Ethernet interface that connects the
93
+   host to your local network. This is the interface that should be
94
+   configured with the static IP address mentioned above.
95
+-  Set the administrative password. This password is used for the
96
+   **admin** and **demo** accounts set up as OpenStack users.
97
+-  Set the MySQL administrative password. The default here is a random
98
+   hex string which is inconvenient if you need to look at the database
99
+   directly for anything.
100
+-  Set the RabbitMQ password.
101
+-  Set the service password. This is used by the OpenStack services
102
+   (Nova, Glance, etc) to authenticate with Keystone.
103
+
104
+``local.conf`` should look something like this:
105
+
106
+::
107
+
108
+    [[local|localrc]]
109
+    FLOATING_RANGE=192.168.1.224/27
110
+    FIXED_RANGE=10.11.12.0/24
111
+    FIXED_NETWORK_SIZE=256
112
+    FLAT_INTERFACE=eth0
113
+    ADMIN_PASSWORD=supersecret
114
+    MYSQL_PASSWORD=iheartdatabases
115
+    RABBIT_PASSWORD=flopsymopsy
116
+    SERVICE_PASSWORD=iheartksl
117
+
118
+Run DevStack:
119
+
120
+::
121
+
122
+    ./stack.sh
123
+
124
+A seemingly endless stream of activity ensues. When complete you will
125
+see a summary of ``stack.sh``'s work, including the relevant URLs,
126
+accounts and passwords to poke at your shiny new OpenStack.
127
+
128
+Using OpenStack
129
+~~~~~~~~~~~~~~~
130
+
131
+At this point you should be able to access the dashboard from other
132
+computers on the local network. In this example that would be
133
+http://192.168.1.201/ for the dashboard (aka Horizon). Launch VMs and if
134
+you give them floating IPs and security group access those VMs will be
135
+accessible from other machines on your network.
136
+
137
+Some examples of using the OpenStack command-line clients ``nova`` and
138
+``glance`` are in the shakedown scripts in ``devstack/exercises``.
139
+``exercise.sh`` will run all of those scripts and report on the results.
140
+
141
+© Openstack Foundation 2011-2013 — An `OpenStack
142
+program <https://wiki.openstack.org/wiki/Programs>`__ created by
143
+`Rackspace Cloud
144
+Builders <http://www.rackspace.com/cloud/private_edition/>`__
0 145
deleted file mode 100644
... ...
@@ -1,137 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>Single Machine Guide - DevStack</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="../assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="../assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="../overview.html">Overview</a></li>
35
-            <li><a href="../changes.html">Changes</a></li>
36
-            <li><a href="../faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-      <section id="overview">
46
-        <h1>Running a Cloud in a VM</h1>
47
-        <p>Use the cloud to build the cloud! Use your cloud to launch new versions of OpenStack 
48
-        in about 5 minutes.  When you break it, start over!  The VMs launched in the cloud will 
49
-        be slow as they are running in QEMU (emulation), but their primary use is testing
50
-        OpenStack development and operation.  Speed not required.</p>
51
-      </section>
52
-
53
-      <section id="prerequisites">
54
-        <div class="page-header">
55
-          <h2>Prerequisites <small>Cloud & Image</small></h2>
56
-        </div>
57
-
58
-        <h3>Virtual Machine</h3>
59
-        <p>DevStack should run in any virtual machine running a supported Linux release.  It will perform best with 2Gb or more of RAM.</p>
60
-
61
-        <h3>OpenStack Deployment &amp; cloud-init</h3>
62
-        <p>If the cloud service has an image with <code>cloud-init</code> pre-installed, use it.  You can
63
-        get one from <a href="http://uec-images.ubuntu.com">Ubuntu's Daily Build</a>
64
-        site if necessary.  This will enable you to launch VMs with userdata that installs 
65
-        everything at boot time.  The userdata script below will install and run
66
-        DevStack with a minimal configuration.  The use of <code>cloud-init</code>
67
-        is outside the scope of this document, refer to <a href"http://cloudinit.readthedocs.org/en/latest/index.html">the
68
-        <code>cloud-init</code> docs</a> for more information.</p>
69
-
70
-        <p>If you are directly using a hypervisor like Xen, kvm or VirtualBox you can manually kick off
71
-        the script below as a non-root user in a bare-bones server installation.</p>
72
-      </section>
73
-
74
-      <section id="requirements">
75
-        <div class="page-header">
76
-          <h2>Installation <small>shake and bake</small></h2>
77
-        </div>
78
-
79
-        <h3>Launching With Cloud-Init</h3>
80
-        <p>This cloud config grabs the latest version of DevStack via git, creates a minimal 
81
-        <code>local.conf</code> file and kicks off <code>stack.sh</code>.  It should
82
-        be passed as the user-data file when booting the VM.</p>
83
-        <pre>#cloud-config
84
-
85
-users:
86
-  - default
87
-  - name: stack
88
-    lock_passwd: False
89
-    sudo: ["ALL=(ALL) NOPASSWD:ALL\nDefaults:stack !requiretty"]
90
-    shell: /bin/bash
91
-
92
-write_files:
93
-  - content: |
94
-        #!/bin/sh
95
-        DEBIAN_FRONTEND=noninteractive sudo apt-get -qqy update || sudo yum update -qy
96
-        DEBIAN_FRONTEND=noninteractive sudo apt-get install -qqy git || sudo yum install -qy git
97
-        sudo chown stack:stack /home/stack
98
-        cd /home/stack
99
-        git clone https://git.openstack.org/openstack-dev/devstack
100
-        cd devstack
101
-        echo '[[local|localrc]]' > local.conf
102
-        echo ADMIN_PASSWORD=password >> local.conf
103
-        echo MYSQL_PASSWORD=password >> local.conf
104
-        echo RABBIT_PASSWORD=password >> local.conf
105
-        echo SERVICE_PASSWORD=password >> local.conf
106
-        echo SERVICE_TOKEN=tokentoken >> local.conf
107
-        ./stack.sh
108
-    path: /home/stack/start.sh
109
-    permissions: 0755
110
-
111
-runcmd:
112
-  - su -l stack ./start.sh</pre>
113
-        <p>As DevStack will refuse to run as root, this configures <code>cloud-init</code>
114
-        to create a non-root user and run the <code>start.sh</code> script as that user.</p>
115
-
116
-        <h3>Launching By Hand</h3>
117
-        <p>Using a hypervisor directly, launch the VM and either manually perform the steps in the 
118
-        embedded shell script above or copy it into the VM.</p>
119
-
120
-        <h3>Using OpenStack</h3>
121
-        <p>At this point you should be able to access the dashboard.  Launch VMs and if you give them floating IPs access those VMs from other machines on your network.</p>
122
-
123
-        <p>One interesting use case is for developers working on a VM on their laptop.  Once
124
-        <code>stack.sh</code> has completed once, all of the pre-requisite packages are installed
125
-        in the VM and the source trees checked out.  Setting <code>OFFLINE=True</code> in
126
-        <code>local.conf</code> enables <code>stack.sh</code> to run multiple times without an Internet
127
-        connection.  DevStack, making hacking at the lake possible since 2012!</p>
128
-      </section>
129
-
130
-      <footer>
131
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
132
-      </footer>
133
-
134
-    </div> <!-- /container -->
135
-
136
-  </body>
137
-</html>
138 1
new file mode 100644
... ...
@@ -0,0 +1,110 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <../overview.html>`__
3
+-  `Changes <../changes.html>`__
4
+-  `FAQ <../faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Running a Cloud in a VM
9
+=======================
10
+
11
+Use the cloud to build the cloud! Use your cloud to launch new versions
12
+of OpenStack in about 5 minutes. When you break it, start over! The VMs
13
+launched in the cloud will be slow as they are running in QEMU
14
+(emulation), but their primary use is testing OpenStack development and
15
+operation. Speed not required.
16
+
17
+Prerequisites Cloud & Image
18
+---------------------------
19
+
20
+Virtual Machine
21
+~~~~~~~~~~~~~~~
22
+
23
+DevStack should run in any virtual machine running a supported Linux
24
+release. It will perform best with 2Gb or more of RAM.
25
+
26
+OpenStack Deployment & cloud-init
27
+~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
28
+
29
+If the cloud service has an image with ``cloud-init`` pre-installed, use
30
+it. You can get one from `Ubuntu's Daily
31
+Build <http://uec-images.ubuntu.com>`__ site if necessary. This will
32
+enable you to launch VMs with userdata that installs everything at boot
33
+time. The userdata script below will install and run DevStack with a
34
+minimal configuration. The use of ``cloud-init`` is outside the scope of
35
+this document, refer to the ``cloud-init`` docs for more information.
36
+
37
+If you are directly using a hypervisor like Xen, kvm or VirtualBox you
38
+can manually kick off the script below as a non-root user in a
39
+bare-bones server installation.
40
+
41
+Installation shake and bake
42
+---------------------------
43
+
44
+Launching With Cloud-Init
45
+~~~~~~~~~~~~~~~~~~~~~~~~~
46
+
47
+This cloud config grabs the latest version of DevStack via git, creates
48
+a minimal ``local.conf`` file and kicks off ``stack.sh``. It should be
49
+passed as the user-data file when booting the VM.
50
+
51
+::
52
+
53
+    #cloud-config
54
+
55
+    users:
56
+      - default
57
+      - name: stack
58
+        lock_passwd: False
59
+        sudo: ["ALL=(ALL) NOPASSWD:ALL\nDefaults:stack !requiretty"]
60
+        shell: /bin/bash
61
+
62
+    write_files:
63
+      - content: |
64
+            #!/bin/sh
65
+            DEBIAN_FRONTEND=noninteractive sudo apt-get -qqy update || sudo yum update -qy
66
+            DEBIAN_FRONTEND=noninteractive sudo apt-get install -qqy git || sudo yum install -qy git
67
+            sudo chown stack:stack /home/stack
68
+            cd /home/stack
69
+            git clone https://git.openstack.org/openstack-dev/devstack
70
+            cd devstack
71
+            echo '[[local|localrc]]' > local.conf
72
+            echo ADMIN_PASSWORD=password >> local.conf
73
+            echo MYSQL_PASSWORD=password >> local.conf
74
+            echo RABBIT_PASSWORD=password >> local.conf
75
+            echo SERVICE_PASSWORD=password >> local.conf
76
+            echo SERVICE_TOKEN=tokentoken >> local.conf
77
+            ./stack.sh
78
+        path: /home/stack/start.sh
79
+        permissions: 0755
80
+
81
+    runcmd:
82
+      - su -l stack ./start.sh
83
+
84
+As DevStack will refuse to run as root, this configures ``cloud-init``
85
+to create a non-root user and run the ``start.sh`` script as that user.
86
+
87
+Launching By Hand
88
+~~~~~~~~~~~~~~~~~
89
+
90
+Using a hypervisor directly, launch the VM and either manually perform
91
+the steps in the embedded shell script above or copy it into the VM.
92
+
93
+Using OpenStack
94
+~~~~~~~~~~~~~~~
95
+
96
+At this point you should be able to access the dashboard. Launch VMs and
97
+if you give them floating IPs access those VMs from other machines on
98
+your network.
99
+
100
+One interesting use case is for developers working on a VM on their
101
+laptop. Once ``stack.sh`` has completed once, all of the pre-requisite
102
+packages are installed in the VM and the source trees checked out.
103
+Setting ``OFFLINE=True`` in ``local.conf`` enables ``stack.sh`` to run
104
+multiple times without an Internet connection. DevStack, making hacking
105
+at the lake possible since 2012!
106
+
107
+© Openstack Foundation 2011-2014 — An
108
+`OpenStack <https://www.openstack.org/>`__
109
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 110
deleted file mode 100644
... ...
@@ -1,99 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>USB Boot Server Guide - DevStack</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="../assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="../assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="../overview.html">Overview</a></li>
35
-            <li><a href="../changes.html">Changes</a></li>
36
-            <li><a href="../faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-      <section id="overview">
46
-        <h1>USB Boot: Undoable Stack Boot</h1>
47
-        <p>Boot DevStack from a USB disk into a RAM disk.</p>
48
-      </section>
49
-
50
-      <section id="requirements">
51
-        <div class="page-header">
52
-          <h2>Prerequisites</h2>
53
-        </div>
54
-        
55
-        <h3>Hardware</h3>
56
-        <p>This guide covers the creation of a bootable USB drive.  Your 
57
-           computer BIOS must support booting from USB and You will want at least 3GB of 
58
-           RAM.  You also will need a USB drive of at least 2GB.</p>
59
-
60
-        <h3>Software</h3>
61
-        <p>Ubuntu 11.10 (Oneiric Ocelot) is required on host to create images.</p>
62
-      </section>
63
-
64
-      <section id="installation">
65
-        <div class="page-header">
66
-          <h2>Installation <small>bit blasting</small></h2>
67
-        </div>
68
-
69
-        <h3>Set Up USB Drive</h3>
70
-        <ul>
71
-          <li>Insert the USB drive into the computer.  Make a note of the device name, such as 
72
-          <code>sdb</code>. Do not mount the device.</li>
73
-          <li>Install the boot system:
74
-            <pre>tools/build_usb_boot.sh /dev/sdb1</pre>
75
-            <p>This calls tools/build_ramdisk.sh to create a 2GB ramdisk 
76
-               containing a complete development Oneiric OS plus the 
77
-               OpenStack code checkouts.  It then writes a syslinux boot sector
78
-               to the specified device and creates <code>/syslinux</code>.</p>
79
-          </li>
80
-          <li>If desired, you may now mount the device:
81
-            <pre>mount /dev/sdb1 /mnt/tmp
82
-# foo
83
-umount /mnt/tmp</pre>
84
-          </li>
85
-        </ul>
86
-
87
-        <p>Now <a href="ramdisk.html">return</a> to the RAM disk Guide to kick
88
-           off your DevStack experience.</p>
89
-
90
-      </section>
91
-
92
-      <footer>
93
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; this is not an official OpenStack project...</p>
94
-      </footer>
95
-
96
-    </div> <!-- /container -->
97
-
98
-  </body>
99
-</html>
100 1
new file mode 100644
... ...
@@ -0,0 +1,60 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <../overview.html>`__
3
+-  `Changes <../changes.html>`__
4
+-  `FAQ <../faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+USB Boot: Undoable Stack Boot
9
+=============================
10
+
11
+Boot DevStack from a USB disk into a RAM disk.
12
+
13
+Prerequisites
14
+-------------
15
+
16
+Hardware
17
+~~~~~~~~
18
+
19
+This guide covers the creation of a bootable USB drive. Your computer
20
+BIOS must support booting from USB and You will want at least 3GB of
21
+RAM. You also will need a USB drive of at least 2GB.
22
+
23
+Software
24
+~~~~~~~~
25
+
26
+Ubuntu 11.10 (Oneiric Ocelot) is required on host to create images.
27
+
28
+Installation bit blasting
29
+-------------------------
30
+
31
+Set Up USB Drive
32
+~~~~~~~~~~~~~~~~
33
+
34
+-  Insert the USB drive into the computer. Make a note of the device
35
+   name, such as ``sdb``. Do not mount the device.
36
+-  Install the boot system:
37
+
38
+   ::
39
+
40
+       tools/build_usb_boot.sh /dev/sdb1
41
+
42
+   This calls tools/build\_ramdisk.sh to create a 2GB ramdisk containing
43
+   a complete development Oneiric OS plus the OpenStack code checkouts.
44
+   It then writes a syslinux boot sector to the specified device and
45
+   creates ``/syslinux``.
46
+
47
+-  If desired, you may now mount the device:
48
+
49
+   ::
50
+
51
+       mount /dev/sdb1 /mnt/tmp
52
+       # foo
53
+       umount /mnt/tmp
54
+
55
+Now `return <ramdisk.html>`__ to the RAM disk Guide to kick off your
56
+DevStack experience.
57
+
58
+© Openstack Foundation 2011-2013 — this is not an official OpenStack
59
+project...
0 60
deleted file mode 100644
... ...
@@ -1,562 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Deploying OpenStack for Developers</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-
46
-      <div class="hero-unit">
47
-        <div class="pull-left">
48
-          <h1 id="main_header">DevStack - an OpenStack Community Production</h1>
49
-          <div class="sub_header">
50
-            <p></p>
51
-            <p>A documented shell script to build complete OpenStack development environments. <br /><br />
52
-              An OpenStack program maintained by the developer community.</p>
53
-          </div>
54
-        </div>
55
-        <div class="pull-left">
56
-          <ol id="getting_started">
57
-            <li id="ubuntu">Setup a fresh supported Linux installation.</li>
58
-            <li id="git">
59
-              Clone devstack from git.openstack.org.
60
-              <pre>git clone https://git.openstack.org/openstack-dev/devstack</pre>
61
-            </li>
62
-            <li id="install">
63
-              Deploy your OpenStack Cloud
64
-              <pre>cd devstack &amp;&amp; ./stack.sh</pre>
65
-            </li>
66
-          </ol>
67
-        </div>
68
-        <div class="clear">&nbsp;</div>
69
-      </div>
70
-
71
-
72
-      <section id="quickstart" class="span12">
73
-        <div class="page-header">
74
-          <h2>Quick Start <small>This ain't your first rodeo</small></h2>
75
-        </div>
76
-        <ol>
77
-            <li value="0">
78
-              <h3>Select a Linux Distribution</h3>
79
-              <p>Only Ubuntu 14.04 (Trusty), Fedora 20 and CentOS/RHEL 6.5 are documented here.  OpenStack also runs and is packaged on other flavors of Linux such as OpenSUSE and Debian.</p>
80
-            </li>
81
-            <li>
82
-              <h3>Install Selected OS</h3>
83
-              <p>In order to correctly install all the dependencies, we assume a specific minimal version of the supported distributions to make it as easy as possible.  We recommend using a minimal install of Ubuntu or Fedora server in a VM if this is your first time.</p>
84
-            </li>
85
-            <li>
86
-              <h3>Download DevStack</h3>
87
-              <pre>git clone https://git.openstack.org/openstack-dev/devstack</pre>
88
-              <p>The <code>devstack</code> repo contains a script that installs OpenStack and templates for configuration files</p>
89
-            </li>
90
-            <li>
91
-              <h3>Configure</h3>
92
-              <p>We recommend at least a <a href="configuration.html">minimal configuration</a> be set up.</p>
93
-            </li>
94
-            <li>
95
-              <h3>Start the install</h3>
96
-              <pre>cd devstack; ./stack.sh</pre>
97
-              <p>It takes a few minutes, we recommend <a href="stack.sh.html">reading the script</a> while it is building.</p>
98
-            </li>
99
-        </ol>
100
-      </section>
101
-
102
-      <section id="guides" class='span12'>
103
-        <div class="page-header">
104
-          <h2>Guides <small>Walk through various setups used by stackers</small></h2>
105
-        </div>
106
-
107
-        <div class='row span8'>
108
-          <h2>OpenStack on VMs</h2>
109
-          <table class='table table-striped table-bordered'>
110
-            <thead>
111
-              <tr>
112
-                <th>Title</th>
113
-                <th>Description</th>
114
-                <th>Link</th>
115
-              </tr>
116
-            </thead>
117
-            <tbody>
118
-              <tr>
119
-                <td>Virtual Machine</td>
120
-                <td>Run OpenStack in a VM.  The VMs launched in your cloud will be slow as they are running in QEMU (emulation), but it is useful if you don't have spare hardware laying around.</td>
121
-                <td><a class="btn btn-small btn-primary table-action" href="guides/single-vm.html">Read &raquo;</a></td>
122
-              </tr>
123
-
124
-<!--
125
-              <tr>
126
-                <td>LXC Containers</td>
127
-                <td>Already running Ubuntu on your machine?  Using containers lets you build even faster.</td>
128
-                <td>Coming soon!</td>
129
-              </tr>
130
-            </tbody>
131
-            <tfoot>
132
-              <td colspan="3">1 Guide</td>
133
-            </tfoot>
134
-          </table>
135
-        </div>
136
-        <div class="wat span3 pull-right">
137
-          <h4>What is this?</h4>
138
-          <p>These guides tell you how to virtualize your OpenStack cloud in virtual machines. This means that you can get started without having to purchase any hardware.</p>
139
-        </div>
140
-
141
-        <div class='row span8'>
142
-          <h2>OpenStack on Hardware</h2>
143
-          <table class='table table-striped table-bordered'>
144
-            <thead>
145
-              <tr>
146
-                <th>Title</th>
147
-                <th>Description</th>
148
-                <th>Link</th>
149
-              </tr>
150
-            </thead>
151
-            <tbody>
152
-              <tr>
153
-                <td>All-In-One</td>
154
-                <td>Run OpenStack on dedicated hardware to get real performance in your VMs.  This can include a server-class machine or a laptop at home.</td>
155
-                <td><a class="btn btn-small btn-primary table-action" href="guides/single-machine.html">Read &raquo;</a></td>
156
-              </tr>
157
-
158
-              <tr>
159
-                <td>Multi-Node + VLANs</td>
160
-                <td>Setup a multi-node cluster with dedicated VLANs for VMs &amp; Management.</td>
161
-                <td><a class="btn btn-small btn-primary table-action" href="guides/multinode-lab.html">Read &raquo;</a></td>
162
-              </tr>
163
-
164
-<!--
165
-              <tr>
166
-                <td>Stack-in-a-Box</td>
167
-                <td>Run OpenStack from a RAM disk to give it a spin without touching your existing OS installation.  Includes PXE and USB boot methods.</td>
168
-                <td><a class="btn btn-small btn-primary table-action" href="guides/ramdisk.html">Read &raquo;</a></td>
169
-              </tr>
170
-            </tbody>
171
-            <tfoot>
172
-              <td colspan="3">2 Guides</td>
173
-            </tfoot>
174
-          </table>
175
-        </div>
176
-        <div class="wat span3 pull-right">
177
-          <h4>What is this?</h4>
178
-          <p>These guides tell you how to deploy a development environment on real hardware. Guides range from running OpenStack on a single laptop to running a multi-node deployment on datacenter hardware.</p>
179
-        </div>
180
-
181
-      </section>
182
-
183
-      <section id="docs" class="span12">
184
-        <div class="page-header">
185
-          <h2>Documentation <small>Help yourself to stack</small></h2>
186
-        </div>
187
-
188
-        <div class='row span5 pull-left'>
189
-          <h2>Overview</h2>
190
-          <p><a href="overview.html">An overview of DevStack goals and priorities</a></p>
191
-          <h2>Configuration</h2>
192
-          <p><a href="configuration.html">Configuring and customizing the stack</a></p>
193
-          <h2>Plugins</h2>
194
-          <p><a href="plugins.html">Extending DevStack with new features</a></p>
195
-        </div>
196
-
197
-        <div class='span5 pull-right'>
198
-          <h2>Recent Changes</h2>
199
-          <p><a href="changes.html">An incomplete summary of recent changes</a></p>
200
-          <h2>FAQ</h2>
201
-          <p><a href="faq.html">The DevStack FAQ</a></p>
202
-          <h2>Contributing</h2>
203
-          <p><a href="contributing.html">Pitching in to make DevStack a better place</a></p>
204
-        </div>
205
-
206
-      </section>
207
-
208
-      <section id="docs" class="span12">
209
-        <div class="page-header">
210
-          <h2>Code <small>A look at the bits that make it all go</small></h2>
211
-        </div>
212
-
213
-        <div class='row span5 pull-left'>
214
-          <h2>Scripts <small>Generated documentation of DevStack scripts.</small></h2>
215
-          <table class='table table-striped table-bordered'>
216
-            <thead>
217
-              <tr>
218
-                <th>Filename</th>
219
-                <th>Link</th>
220
-              </tr>
221
-            </thead>
222
-            <tbody>
223
-              <tr>
224
-                <td>stack.sh</td>
225
-                <td><a href="stack.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
226
-              </tr>
227
-              <tr>
228
-                <td>functions</td>
229
-                <td><a href="functions.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
230
-              </tr>
231
-              <tr>
232
-                <td>functions-common</td>
233
-                <td><a href="functions-common.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
234
-              </tr>
235
-              <tr>
236
-                <td>lib/apache</td>
237
-                <td><a href="lib/apache.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
238
-              </tr>
239
-              <tr>
240
-                <td>lib/baremetal</td>
241
-                <td><a href="lib/baremetal.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
242
-              </tr>
243
-              <tr>
244
-                <td>lib/ceilometer</td>
245
-                <td><a href="lib/ceilometer.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
246
-              </tr>
247
-              <tr>
248
-                <td>lib/cinder</td>
249
-                <td><a href="lib/cinder.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
250
-              </tr>
251
-              <tr>
252
-                <td>lib/config</td>
253
-                <td><a href="lib/config.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
254
-              </tr>
255
-              <tr>
256
-                <td>lib/database</td>
257
-                <td><a href="lib/database.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
258
-              </tr>
259
-              <tr>
260
-                <td>lib/glance</td>
261
-                <td><a href="lib/glance.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
262
-              </tr>
263
-              <tr>
264
-                <td>lib/heat</td>
265
-                <td><a href="lib/heat.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
266
-              </tr>
267
-              <tr>
268
-                <td>lib/horizon</td>
269
-                <td><a href="lib/horizon.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
270
-              </tr>
271
-              <tr>
272
-                <td>lib/infra</td>
273
-                <td><a href="lib/infra.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
274
-              </tr>
275
-              <tr>
276
-                <td>lib/ironic</td>
277
-                <td><a href="lib/ironic.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
278
-              </tr>
279
-              <tr>
280
-                <td>lib/keystone</td>
281
-                <td><a href="lib/keystone.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
282
-              </tr>
283
-              <tr>
284
-                <td>lib/ldap</td>
285
-                <td><a href="lib/ldap.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
286
-              </tr>
287
-              <tr>
288
-                <td>lib/zaqar</td>
289
-                <td><a href="lib/zaqar.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
290
-              </tr>
291
-              <tr>
292
-                <td>lib/neutron</td>
293
-                <td><a href="lib/neutron.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
294
-              </tr>
295
-              <tr>
296
-                <td>lib/nova</td>
297
-                <td><a href="lib/nova.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
298
-              </tr>
299
-              <tr>
300
-                <td>lib/oslo</td>
301
-                <td><a href="lib/oslo.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
302
-              </tr>
303
-              <tr>
304
-                <td>lib/rpc_backend</td>
305
-                <td><a href="lib/rpc_backend.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
306
-              </tr>
307
-              <tr>
308
-                <td>lib/sahara</td>
309
-                <td><a href="lib/sahara.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
310
-              </tr>
311
-              <tr>
312
-                <td>lib/savanna</td>
313
-                <td><a href="lib/savanna.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
314
-              </tr>
315
-              <tr>
316
-                <td>lib/stackforge</td>
317
-                <td><a href="lib/stackforge.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
318
-              </tr>
319
-              <tr>
320
-                <td>lib/swift</td>
321
-                <td><a href="lib/swift.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
322
-              </tr>
323
-              <tr>
324
-                <td>lib/tempest</td>
325
-                <td><a href="lib/tempest.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
326
-              </tr>
327
-              <tr>
328
-                <td>lib/tls</td>
329
-                <td><a href="lib/tls.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
330
-              </tr>
331
-              <tr>
332
-                <td>lib/trove</td>
333
-                <td><a href="lib/trove.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
334
-              </tr>
335
-              <tr>
336
-                <td>unstack.sh</td>
337
-                <td><a href="unstack.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
338
-              </tr>
339
-              <tr>
340
-                <td>clean.sh</td>
341
-                <td><a href="clean.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
342
-              </tr>
343
-              <tr>
344
-                <td>run_tests.sh</td>
345
-                <td><a href="run_tests.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
346
-              </tr>
347
-              <tr>
348
-                <td>extras.d/50-ironic.sh</td>
349
-                <td><a href="extras.d/50-ironic.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
350
-              </tr>
351
-              <tr>
352
-                <td>extras.d/70-zaqar.sh</td>
353
-                <td><a href="extras.d/70-zaqar.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
354
-              </tr>
355
-              <tr>
356
-                <td>extras.d/70-sahara.sh</td>
357
-                <td><a href="extras.d/70-sahara.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
358
-              </tr>
359
-              <tr>
360
-                <td>extras.d/70-savanna.sh</td>
361
-                <td><a href="extras.d/70-savanna.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
362
-              </tr>
363
-              <tr>
364
-                <td>extras.d/70-trove.sh</td>
365
-                <td><a href="extras.d/70-trove.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
366
-              </tr>
367
-              <tr>
368
-                <td>extras.d/80-opendaylight.sh</td>
369
-                <td><a href="extras.d/80-opendaylight.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
370
-              </tr>
371
-              <tr>
372
-                <td>extras.d/80-tempest.sh</td>
373
-                <td><a href="extras.d/80-tempest.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
374
-              </tr>
375
-            </tbody>
376
-          </table>
377
-        </div>
378
-
379
-        <div class='span5 pull-right'>
380
-          <h2>Configuration <small>Setting the table</small></h2>
381
-          <table class='table table-striped table-bordered'>
382
-            <thead>
383
-              <tr>
384
-                <th>Filename</th>
385
-                <th>Link</th>
386
-              </tr>
387
-            </thead>
388
-            <tbody>
389
-              <tr>
390
-                <td>local.conf</td>
391
-                <td><a href="local.conf.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
392
-              </tr>
393
-              <tr>
394
-                <td>stackrc</td>
395
-                <td><a href="stackrc.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
396
-              </tr>
397
-              <tr>
398
-                <td>openrc</td>
399
-                <td><a href="openrc.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
400
-              </tr>
401
-              <tr>
402
-                <td>exerciserc</td>
403
-                <td><a href="exerciserc.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
404
-              </tr>
405
-              <tr>
406
-                <td>eucarc</td>
407
-                <td><a href="eucarc.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
408
-              </tr>
409
-            </tbody>
410
-          </table>
411
-
412
-          <h2>Tools <small>Support scripts</small></h2>
413
-          <table class='table table-striped table-bordered'>
414
-            <thead>
415
-              <tr>
416
-                <th>Filename</th>
417
-                <th>Link</th>
418
-              </tr>
419
-            </thead>
420
-            <tbody>
421
-              <tr>
422
-                <td>tools/info.sh</td>
423
-                <td><a href="tools/info.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
424
-              </tr>
425
-              <tr>
426
-                <td>tools/build_docs.sh</td>
427
-                <td><a href="tools/build_docs.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
428
-              </tr>
429
-              <tr>
430
-                <td>tools/create_userrc.sh</td>
431
-                <td><a href="tools/create_userrc.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
432
-              </tr>
433
-              <tr>
434
-                <td>tools/fixup_stuff.sh</td>
435
-                <td><a href="tools/fixup_stuff.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
436
-              </tr>
437
-              <tr>
438
-                <td>tools/install_prereqs.sh</td>
439
-                <td><a href="tools/install_prereqs.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
440
-              </tr>
441
-              <tr>
442
-                <td>tools/install_pip.sh</td>
443
-                <td><a href="tools/install_pip.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
444
-              </tr>
445
-              <tr>
446
-                <td>tools/upload_image.sh</td>
447
-                <td><a href="tools/upload_image.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
448
-              </tr>
449
-            </tbody>
450
-          </table>
451
-
452
-          <h2>Samples <small>Generated documentation of DevStack sample files.</small></h2>
453
-          <table class='table table-striped table-bordered'>
454
-            <thead>
455
-              <tr>
456
-                <th>Filename</th>
457
-                <th>Link</th>
458
-              </tr>
459
-            </thead>
460
-            <tbody>
461
-              <tr>
462
-                <td>local.sh</td>
463
-                <td><a href="samples/local.sh.html" class="btn btn-small btn-success table-action">Read &raquo;</a></td>
464
-              </tr>
465
-              <tr>
466
-                <td>localrc</td>
467
-                <td><a href="samples/localrc.html" class="btn btn-small btn-success table-action">Read &raquo;</a></td>
468
-              </tr>
469
-            </tbody>
470
-          </table>
471
-
472
-        <div class='row span5 pull-right'>
473
-          <h2>Exercises <small>Generated documentation of DevStack scripts.</small></h2>
474
-          <table class='table table-striped table-bordered'>
475
-            <thead>
476
-              <tr>
477
-                <th>Filename</th>
478
-                <th>Link</th>
479
-              </tr>
480
-            </thead>
481
-            <tbody>
482
-              <tr>
483
-                <td>exercise.sh</td>
484
-                <td><a href="exercise.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
485
-              </tr>
486
-              <tr>
487
-                <td>exercises/aggregates.sh</td>
488
-                <td><a href="exercises/aggregates.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
489
-              </tr>
490
-              <tr>
491
-                <td>exercises/boot_from_volume.sh</td>
492
-                <td><a href="exercises/boot_from_volume.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
493
-              </tr>
494
-              <tr>
495
-                <td>exercises/bundle.sh</td>
496
-                <td><a href="exercises/bundle.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
497
-              </tr>
498
-              <tr>
499
-                <td>exercises/client-args.sh</td>
500
-                <td><a href="exercises/client-args.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
501
-              </tr>
502
-              <tr>
503
-                <td>exercises/client-env.sh</td>
504
-                <td><a href="exercises/client-env.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
505
-              </tr>
506
-              <tr>
507
-                <td>exercises/euca.sh</td>
508
-                <td><a href="exercises/euca.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
509
-              </tr>
510
-              <tr>
511
-                <td>exercises/floating_ips.sh</td>
512
-                <td><a href="exercises/floating_ips.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
513
-              </tr>
514
-              <tr>
515
-                <td>exercises/horizon.sh</td>
516
-                <td><a href="exercises/horizon.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
517
-              </tr>
518
-              <tr>
519
-                <td>exercises/neutron-adv-test.sh</td>
520
-                <td><a href="exercises/neutron-adv-test.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
521
-              </tr>
522
-                <td>exercises/sahara.sh</td>
523
-                <td><a href="exercises/sahara.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
524
-              </tr>
525
-                <td>exercises/savanna.sh</td>
526
-                <td><a href="exercises/savanna.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
527
-              </tr>
528
-              <tr>
529
-                <td>exercises/sec_groups.sh</td>
530
-                <td><a href="exercises/sec_groups.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
531
-              </tr>
532
-              <tr>
533
-                <td>exercises/swift.sh</td>
534
-                <td><a href="exercises/swift.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
535
-              </tr>
536
-                <td>exercises/trove.sh</td>
537
-                <td><a href="exercises/trove.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
538
-              </tr>
539
-              <tr>
540
-                <td>exercises/volumes.sh</td>
541
-                <td><a href="exercises/volumes.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
542
-              </tr>
543
-              <tr>
544
-                <td>exercises/zaqar.sh</td>
545
-                <td><a href="exercises/zaqar.sh.html" class="btn btn-small btn-primary table-action">Read &raquo;</a></td>
546
-              </tr>
547
-            </tbody>
548
-          </table>
549
-
550
-        </div>
551
-
552
-      </section>
553
-
554
-      <footer>
555
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
556
-      </footer>
557
-
558
-    </div> <!-- /container -->
559
-  </body>
560
-</html>
561 1
new file mode 100644
... ...
@@ -0,0 +1,383 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.rst>`__
3
+-  `Changes <changes.rst>`__
4
+-  `FAQ <faq.rst>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+.. toctree::
9
+   :glob:
10
+   :maxdepth: 2
11
+
12
+   *
13
+   guides/*
14
+   
15
+
16
+
17
+DevStack - an OpenStack Community Production
18
+============================================
19
+
20
+| A documented shell script to build complete OpenStack development environments.
21
+|  An OpenStack program maintained by the developer community.
22
+
23
+#. Setup a fresh supported Linux installation.
24
+#. Clone devstack from git.openstack.org.
25
+
26
+   ::
27
+
28
+       git clone https://git.openstack.org/openstack-dev/devstack
29
+
30
+#. Deploy your OpenStack Cloud
31
+
32
+   ::
33
+
34
+       cd devstack && ./stack.sh
35
+
36
37
+
38
+Quick Start This ain't your first rodeo
39
+---------------------------------------
40
+
41
+#. Select a Linux Distribution
42
+
43
+   Only Ubuntu 14.04 (Trusty), Fedora 20 and CentOS/RHEL 6.5 are
44
+   documented here. OpenStack also runs and is packaged on other flavors
45
+   of Linux such as OpenSUSE and Debian.
46
+
47
+#. Install Selected OS
48
+
49
+   In order to correctly install all the dependencies, we assume a
50
+   specific minimal version of the supported distributions to make it as
51
+   easy as possible. We recommend using a minimal install of Ubuntu or
52
+   Fedora server in a VM if this is your first time.
53
+
54
+#. Download DevStack
55
+
56
+   ::
57
+
58
+       git clone https://git.openstack.org/openstack-dev/devstack
59
+
60
+   The ``devstack`` repo contains a script that installs OpenStack and
61
+   templates for configuration files
62
+
63
+#. Configure
64
+
65
+   We recommend at least a `minimal
66
+   configuration <configuration.html>`__ be set up.
67
+
68
+#. Start the install
69
+
70
+   ::
71
+
72
+       cd devstack; ./stack.sh
73
+
74
+   It takes a few minutes, we recommend `reading the
75
+   script <stack.sh.html>`__ while it is building.
76
+
77
+Guides Walk through various setups used by stackers
78
+---------------------------------------------------
79
+
80
+OpenStack on VMs
81
+----------------
82
+
83
+Title
84
+
85
+Description
86
+
87
+Link
88
+
89
+Virtual Machine
90
+
91
+Run OpenStack in a VM. The VMs launched in your cloud will be slow as
92
+they are running in QEMU (emulation), but it is useful if you don't have
93
+spare hardware laying around.
94
+
95
+`Read » <guides/single-vm.html>`__
96
+
97
+1 Guide
98
+
99
+What is this?
100
+^^^^^^^^^^^^^
101
+
102
+These guides tell you how to virtualize your OpenStack cloud in virtual
103
+machines. This means that you can get started without having to purchase
104
+any hardware.
105
+
106
+OpenStack on Hardware
107
+---------------------
108
+
109
+Title
110
+
111
+Description
112
+
113
+Link
114
+
115
+All-In-One
116
+
117
+Run OpenStack on dedicated hardware to get real performance in your VMs.
118
+This can include a server-class machine or a laptop at home.
119
+
120
+`Read » <guides/single-machine.html>`__
121
+
122
+Multi-Node + VLANs
123
+
124
+Setup a multi-node cluster with dedicated VLANs for VMs & Management.
125
+
126
+`Read » <guides/multinode-lab.html>`__
127
+
128
+2 Guides
129
+
130
+What is this?
131
+^^^^^^^^^^^^^
132
+
133
+These guides tell you how to deploy a development environment on real
134
+hardware. Guides range from running OpenStack on a single laptop to
135
+running a multi-node deployment on datacenter hardware.
136
+
137
+Documentation Help yourself to stack
138
+------------------------------------
139
+
140
+Overview
141
+--------
142
+
143
+`An overview of DevStack goals and priorities <overview.html>`__
144
+
145
+Configuration
146
+-------------
147
+
148
+`Configuring and customizing the stack <configuration.html>`__
149
+
150
+Plugins
151
+-------
152
+
153
+`Extending DevStack with new features <plugins.html>`__
154
+
155
+Recent Changes
156
+--------------
157
+
158
+`An incomplete summary of recent changes <changes.html>`__
159
+
160
+FAQ
161
+---
162
+
163
+`The DevStack FAQ <faq.html>`__
164
+
165
+Contributing
166
+------------
167
+
168
+`Pitching in to make DevStack a better place <contributing.html>`__
169
+
170
+Code A look at the bits that make it all go
171
+-------------------------------------------
172
+
173
+Scripts Generated documentation of DevStack scripts.
174
+----------------------------------------------------
175
+
176
++-------------------------------+----------------------------------------------+
177
+| Filename                      | Link                                         |
178
++===============================+==============================================+
179
+| stack.sh                      | `Read » <stack.sh.html>`__                   |
180
++-------------------------------+----------------------------------------------+
181
+| functions                     | `Read » <functions.html>`__                  |
182
++-------------------------------+----------------------------------------------+
183
+| functions-common              | `Read » <functions-common.html>`__           |
184
++-------------------------------+----------------------------------------------+
185
+| lib/apache                    | `Read » <lib/apache.html>`__                 |
186
++-------------------------------+----------------------------------------------+
187
+| lib/baremetal                 | `Read » <lib/baremetal.html>`__              |
188
++-------------------------------+----------------------------------------------+
189
+| lib/ceilometer                | `Read » <lib/ceilometer.html>`__             |
190
++-------------------------------+----------------------------------------------+
191
+| lib/cinder                    | `Read » <lib/cinder.html>`__                 |
192
++-------------------------------+----------------------------------------------+
193
+| lib/config                    | `Read » <lib/config.html>`__                 |
194
++-------------------------------+----------------------------------------------+
195
+| lib/database                  | `Read » <lib/database.html>`__               |
196
++-------------------------------+----------------------------------------------+
197
+| lib/glance                    | `Read » <lib/glance.html>`__                 |
198
++-------------------------------+----------------------------------------------+
199
+| lib/heat                      | `Read » <lib/heat.html>`__                   |
200
++-------------------------------+----------------------------------------------+
201
+| lib/horizon                   | `Read » <lib/horizon.html>`__                |
202
++-------------------------------+----------------------------------------------+
203
+| lib/infra                     | `Read » <lib/infra.html>`__                  |
204
++-------------------------------+----------------------------------------------+
205
+| lib/ironic                    | `Read » <lib/ironic.html>`__                 |
206
++-------------------------------+----------------------------------------------+
207
+| lib/keystone                  | `Read » <lib/keystone.html>`__               |
208
++-------------------------------+----------------------------------------------+
209
+| lib/ldap                      | `Read » <lib/ldap.html>`__                   |
210
++-------------------------------+----------------------------------------------+
211
+| lib/zaqar                     | `Read » <lib/zaqar.html>`__                  |
212
++-------------------------------+----------------------------------------------+
213
+| lib/neutron                   | `Read » <lib/neutron.html>`__                |
214
++-------------------------------+----------------------------------------------+
215
+| lib/nova                      | `Read » <lib/nova.html>`__                   |
216
++-------------------------------+----------------------------------------------+
217
+| lib/oslo                      | `Read » <lib/oslo.html>`__                   |
218
++-------------------------------+----------------------------------------------+
219
+| lib/rpc\_backend              | `Read » <lib/rpc_backend.html>`__            |
220
++-------------------------------+----------------------------------------------+
221
+| lib/sahara                    | `Read » <lib/sahara.html>`__                 |
222
++-------------------------------+----------------------------------------------+
223
+| lib/savanna                   | `Read » <lib/savanna.html>`__                |
224
++-------------------------------+----------------------------------------------+
225
+| lib/stackforge                | `Read » <lib/stackforge.html>`__             |
226
++-------------------------------+----------------------------------------------+
227
+| lib/swift                     | `Read » <lib/swift.html>`__                  |
228
++-------------------------------+----------------------------------------------+
229
+| lib/tempest                   | `Read » <lib/tempest.html>`__                |
230
++-------------------------------+----------------------------------------------+
231
+| lib/tls                       | `Read » <lib/tls.html>`__                    |
232
++-------------------------------+----------------------------------------------+
233
+| lib/trove                     | `Read » <lib/trove.html>`__                  |
234
++-------------------------------+----------------------------------------------+
235
+| unstack.sh                    | `Read » <unstack.sh.html>`__                 |
236
++-------------------------------+----------------------------------------------+
237
+| clean.sh                      | `Read » <clean.sh.html>`__                   |
238
++-------------------------------+----------------------------------------------+
239
+| run\_tests.sh                 | `Read » <run_tests.sh.html>`__               |
240
++-------------------------------+----------------------------------------------+
241
+| extras.d/50-ironic.sh         | `Read » <extras.d/50-ironic.html>`__         |
242
++-------------------------------+----------------------------------------------+
243
+| extras.d/70-zaqar.sh          | `Read » <extras.d/70-zaqar.html>`__          |
244
++-------------------------------+----------------------------------------------+
245
+| extras.d/70-sahara.sh         | `Read » <extras.d/70-sahara.html>`__         |
246
++-------------------------------+----------------------------------------------+
247
+| extras.d/70-savanna.sh        | `Read » <extras.d/70-savanna.html>`__        |
248
++-------------------------------+----------------------------------------------+
249
+| extras.d/70-trove.sh          | `Read » <extras.d/70-trove.html>`__          |
250
++-------------------------------+----------------------------------------------+
251
+| extras.d/80-opendaylight.sh   | `Read » <extras.d/80-opendaylight.html>`__   |
252
++-------------------------------+----------------------------------------------+
253
+| extras.d/80-tempest.sh        | `Read » <extras.d/80-tempest.html>`__        |
254
++-------------------------------+----------------------------------------------+
255
+
256
+Configuration Setting the table
257
+-------------------------------
258
+
259
++--------------+--------------------------------+
260
+| Filename     | Link                           |
261
++==============+================================+
262
+| local.conf   | `Read » <local.conf.html>`__   |
263
++--------------+--------------------------------+
264
+| stackrc      | `Read » <stackrc.html>`__      |
265
++--------------+--------------------------------+
266
+| openrc       | `Read » <openrc.html>`__       |
267
++--------------+--------------------------------+
268
+| exerciserc   | `Read » <exerciserc.html>`__   |
269
++--------------+--------------------------------+
270
+| eucarc       | `Read » <eucarc.html>`__       |
271
++--------------+--------------------------------+
272
+
273
+Tools Support scripts
274
+---------------------
275
+
276
++-----------------------------+----------------------------------------------+
277
+| Filename                    | Link                                         |
278
++=============================+==============================================+
279
+| tools/info.sh               | `Read » <tools/info.sh.html>`__              |
280
++-----------------------------+----------------------------------------------+
281
+| tools/build\_docs.sh        | `Read » <tools/build_docs.sh.html>`__        |
282
++-----------------------------+----------------------------------------------+
283
+| tools/create\_userrc.sh     | `Read » <tools/create_userrc.sh.html>`__     |
284
++-----------------------------+----------------------------------------------+
285
+| tools/fixup\_stuff.sh       | `Read » <tools/fixup_stuff.sh.html>`__       |
286
++-----------------------------+----------------------------------------------+
287
+| tools/install\_prereqs.sh   | `Read » <tools/install_prereqs.sh.html>`__   |
288
++-----------------------------+----------------------------------------------+
289
+| tools/install\_pip.sh       | `Read » <tools/install_pip.sh.html>`__       |
290
++-----------------------------+----------------------------------------------+
291
+| tools/upload\_image.sh      | `Read » <tools/upload_image.sh.html>`__      |
292
++-----------------------------+----------------------------------------------+
293
+
294
+Samples Generated documentation of DevStack sample files.
295
+---------------------------------------------------------
296
+
297
++------------+--------------------------------------+
298
+| Filename   | Link                                 |
299
++============+======================================+
300
+| local.sh   | `Read » <samples/local.sh.html>`__   |
301
++------------+--------------------------------------+
302
+| localrc    | `Read » <samples/localrc.html>`__    |
303
++------------+--------------------------------------+
304
+
305
+Exercises Generated documentation of DevStack scripts.
306
+------------------------------------------------------
307
+
308
+Filename
309
+
310
+Link
311
+
312
+exercise.sh
313
+
314
+`Read » <exercise.sh.html>`__
315
+
316
+exercises/aggregates.sh
317
+
318
+`Read » <exercises/aggregates.sh.html>`__
319
+
320
+exercises/boot\_from\_volume.sh
321
+
322
+`Read » <exercises/boot_from_volume.sh.html>`__
323
+
324
+exercises/bundle.sh
325
+
326
+`Read » <exercises/bundle.sh.html>`__
327
+
328
+exercises/client-args.sh
329
+
330
+`Read » <exercises/client-args.sh.html>`__
331
+
332
+exercises/client-env.sh
333
+
334
+`Read » <exercises/client-env.sh.html>`__
335
+
336
+exercises/euca.sh
337
+
338
+`Read » <exercises/euca.sh.html>`__
339
+
340
+exercises/floating\_ips.sh
341
+
342
+`Read » <exercises/floating_ips.sh.html>`__
343
+
344
+exercises/horizon.sh
345
+
346
+`Read » <exercises/horizon.sh.html>`__
347
+
348
+exercises/neutron-adv-test.sh
349
+
350
+`Read » <exercises/neutron-adv-test.sh.html>`__
351
+
352
+exercises/sahara.sh
353
+
354
+`Read » <exercises/sahara.sh.html>`__
355
+
356
+exercises/savanna.sh
357
+
358
+`Read » <exercises/savanna.sh.html>`__
359
+
360
+exercises/sec\_groups.sh
361
+
362
+`Read » <exercises/sec_groups.sh.html>`__
363
+
364
+exercises/swift.sh
365
+
366
+`Read » <exercises/swift.sh.html>`__
367
+
368
+exercises/trove.sh
369
+
370
+`Read » <exercises/trove.sh.html>`__
371
+
372
+exercises/volumes.sh
373
+
374
+`Read » <exercises/volumes.sh.html>`__
375
+
376
+exercises/zaqar.sh
377
+
378
+`Read » <exercises/zaqar.sh.html>`__
379
+
380
+© Openstack Foundation 2011-2014 — An
381
+`OpenStack <https://www.openstack.org/>`__
382
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 383
deleted file mode 100644
... ...
@@ -1,64 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - local.conf</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section class="span12">
47
-        <div class="page-header">
48
-          <h2>local.conf <small>User settings</small></h2>
49
-          <p><code>local.conf</code> is a user-maintained setings file that is
50
-          sourced in <code>stackrc</code>.  It contains a section that replaces
51
-          the historical <code>localrc</code> file.  See
52
-          <a href="configuration.html">the description of local.conf</a> for
53
-          more details about the mechanics of the file.</p>
54
-        </div>
55
-      </section
56
-
57
-      <footer>
58
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
59
-      </footer>
60
-
61
-    </div> <!-- /container -->
62
-
63
-  </body>
64
-</html>
65 1
new file mode 100644
... ...
@@ -0,0 +1,20 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+local.conf User settings
9
+------------------------
10
+
11
+``local.conf`` is a user-maintained setings file that is sourced in
12
+``stackrc``. It contains a section that replaces the historical
13
+``localrc`` file. See `the description of
14
+local.conf <configuration.html>`__ for more details about the mechanics
15
+of the file.
16
+
17
+© Openstack Foundation 2011-2014 — An
18
+`OpenStack <https://www.openstack.org/>`__
19
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 20
deleted file mode 100644
... ...
@@ -1,60 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - localrc</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section class="span12">
47
-        <div class="page-header">
48
-          <h2>localrc <small>User settings</small></h2>
49
-          <p><code>localrc</code> is the old file used to configure DevStack.  It is deprecated and has been replaced by <a href="local.conf.html"><code>local.conf</code></a>.  DevStack will continue to use <code>localrc</code> if it is present and ignore the <code>localrc</code> section in <code>local.conf.</code>.   Remove <code>localrc</code> to switch to using the new file.</p>
50
-        </div>
51
-      </section
52
-
53
-      <footer>
54
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
55
-      </footer>
56
-
57
-    </div> <!-- /container -->
58
-
59
-  </body>
60
-</html>
61 1
new file mode 100644
... ...
@@ -0,0 +1,20 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+localrc User settings
9
+---------------------
10
+
11
+``localrc`` is the old file used to configure DevStack. It is deprecated
12
+and has been replaced by ```local.conf`` <local.conf.html>`__. DevStack
13
+will continue to use ``localrc`` if it is present and ignore the
14
+``localrc`` section in ``local.conf.``. Remove ``localrc`` to switch to
15
+using the new file.
16
+
17
+© Openstack Foundation 2011-2014 — An
18
+`OpenStack <https://www.openstack.org/>`__
19
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 20
deleted file mode 100644
... ...
@@ -1,115 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - openrc</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section class="span12">
47
-        <div class="page-header">
48
-          <h2>openrc <small>User authentication settings</small></h2>
49
-          <p><code>openrc</code> configures login credentials suitable for use
50
-          with the OpenStack command-line tools.  <code>openrc</code> sources
51
-          <code>stackrc</code> at the beginning (which in turn sources
52
-          the <code>localrc</code> setion of <code>local.conf</code>) in
53
-          order to pick up <code>HOST_IP</code>
54
-          and/or <code>SERVICE_HOST</code> to use in the endpoints.
55
-          The values shown below are the default values.</p>
56
-        </div>
57
-        <dl>
58
-
59
-          <dt>OS_TENANT_NAME</dt>
60
-          <dd>The introduction of Keystone to the OpenStack ecosystem has standardized the
61
-            term <em>tenant</em> as the entity that owns resources.  In some places references
62
-            still exist to the original Nova term <em>project</em> for this use.  Also,
63
-            <em>tenant_name</em> is preferred to <em>tenant_id</em>.
64
-            <pre>OS_TENANT_NAME=demo</pre></dd>
65
-
66
-          <dt>OS_USERNAME</dt>
67
-          <dd>In addition to the owning entity (tenant), Nova stores the entity performing
68
-            the action as the <em>user</em>.
69
-            <pre>OS_USERNAME=demo</pre></dd>
70
-
71
-          <dt>OS_PASSWORD</dt>
72
-          <dd>With Keystone you pass the keystone password instead of an api key.
73
-            Recent versions of novaclient use OS_PASSWORD instead of NOVA_API_KEYs
74
-            or NOVA_PASSWORD.
75
-            <pre>OS_PASSWORD=secrete</pre></dd>
76
-
77
-          <dt>HOST_IP, SERVICE_HOST</dt>
78
-          <dd>Set API endpoint host using <code>HOST_IP</code>.  <code>SERVICE_HOST</code>
79
-            may also be used to specify the endpoint, which is convenient for
80
-            some <code>localrc</code> configurations.  Typically, <code>HOST_IP</code>
81
-            is set in the <code>localrc</code> section.
82
-            <pre>HOST_IP=127.0.0.1
83
-SERVICE_HOST=$HOST_IP</pre></dd>
84
-
85
-          <dt>OS_AUTH_URL</dt>
86
-          <dd>Authenticating against an OpenStack cloud using Keystone returns a <em>Token</em>
87
-            and <em>Service Catalog</em>.  The catalog contains the endpoints for all services
88
-            the user/tenant has access to - including Nova, Glance, Keystone and Swift.
89
-            <pre>OS_AUTH_URL=http://$SERVICE_HOST:5000/v2.0</pre></dd>
90
-
91
-          <dt>GLANCE_HOST</dt>
92
-          <dd>Some exercises call Glance directly.  On a single-node installation, Glance
93
-            should be listening on <code>HOST_IP</code>.  If its running elsewhere
94
-            it can be set here.
95
-            <pre>GLANCE_HOST=$HOST_IP</pre></dd>
96
-
97
-          <dt>KEYSTONECLIENT_DEBUG, NOVACLIENT_DEBUG</dt>
98
-          <dd>Set command-line client log level to <code>DEBUG</code>.  These are
99
-            commented out by default.
100
-            <pre># export KEYSTONECLIENT_DEBUG=1
101
-# export NOVACLIENT_DEBUG=1</pre></dd>
102
-
103
-        </dl>
104
-      </section
105
-
106
-      <footer>
107
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; An
108
-        <a href="https://wiki.openstack.org/wiki/Programs">OpenStack program</a>
109
-        created by <a href="http://www.rackspace.com/cloud/private_edition/">Rackspace Cloud Builders</a></p>
110
-      </footer>
111
-
112
-    </div> <!-- /container -->
113
-
114
-  </body>
115
-</html>
116 1
new file mode 100644
... ...
@@ -0,0 +1,88 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+openrc User authentication settings
9
+-----------------------------------
10
+
11
+``openrc`` configures login credentials suitable for use with the
12
+OpenStack command-line tools. ``openrc`` sources ``stackrc`` at the
13
+beginning (which in turn sources the ``localrc`` setion of
14
+``local.conf``) in order to pick up ``HOST_IP`` and/or ``SERVICE_HOST``
15
+to use in the endpoints. The values shown below are the default values.
16
+
17
+OS\_TENANT\_NAME
18
+    The introduction of Keystone to the OpenStack ecosystem has
19
+    standardized the term *tenant* as the entity that owns resources. In
20
+    some places references still exist to the original Nova term
21
+    *project* for this use. Also, *tenant\_name* is preferred to
22
+    *tenant\_id*.
23
+
24
+    ::
25
+
26
+        OS_TENANT_NAME=demo
27
+
28
+OS\_USERNAME
29
+    In addition to the owning entity (tenant), Nova stores the entity
30
+    performing the action as the *user*.
31
+
32
+    ::
33
+
34
+        OS_USERNAME=demo
35
+
36
+OS\_PASSWORD
37
+    With Keystone you pass the keystone password instead of an api key.
38
+    Recent versions of novaclient use OS\_PASSWORD instead of
39
+    NOVA\_API\_KEYs or NOVA\_PASSWORD.
40
+
41
+    ::
42
+
43
+        OS_PASSWORD=secrete
44
+
45
+HOST\_IP, SERVICE\_HOST
46
+    Set API endpoint host using ``HOST_IP``. ``SERVICE_HOST`` may also
47
+    be used to specify the endpoint, which is convenient for some
48
+    ``localrc`` configurations. Typically, ``HOST_IP`` is set in the
49
+    ``localrc`` section.
50
+
51
+    ::
52
+
53
+        HOST_IP=127.0.0.1
54
+        SERVICE_HOST=$HOST_IP
55
+
56
+OS\_AUTH\_URL
57
+    Authenticating against an OpenStack cloud using Keystone returns a
58
+    *Token* and *Service Catalog*. The catalog contains the endpoints
59
+    for all services the user/tenant has access to - including Nova,
60
+    Glance, Keystone and Swift.
61
+
62
+    ::
63
+
64
+        OS_AUTH_URL=http://$SERVICE_HOST:5000/v2.0
65
+
66
+GLANCE\_HOST
67
+    Some exercises call Glance directly. On a single-node installation,
68
+    Glance should be listening on ``HOST_IP``. If its running elsewhere
69
+    it can be set here.
70
+
71
+    ::
72
+
73
+        GLANCE_HOST=$HOST_IP
74
+
75
+KEYSTONECLIENT\_DEBUG, NOVACLIENT\_DEBUG
76
+    Set command-line client log level to ``DEBUG``. These are commented
77
+    out by default.
78
+
79
+    ::
80
+
81
+        # export KEYSTONECLIENT_DEBUG=1
82
+        # export NOVACLIENT_DEBUG=1
83
+
84
+© Openstack Foundation 2011-2013 — An `OpenStack
85
+program <https://wiki.openstack.org/wiki/Programs>`__ created by
86
+`Rackspace Cloud
87
+Builders <http://www.rackspace.com/cloud/private_edition/>`__
0 88
deleted file mode 100644
... ...
@@ -1,118 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Overview</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-      
46
-      <section id="overview" class="span12">
47
-
48
-        <div class='row pull-left'>
49
-          <h2>Overview <small>DevStack from a cloud-height view</small></h2>
50
-          <p>DevStack has evolved to support a large number of configuration options and alternative platforms and support services.  That evolution has grown well beyond what was originally intended and the majority of configuration combinations are rarely, if ever, tested.  DevStack is not a general OpenStack installer and was never meant to be everything to everyone..</p>
51
-          <p>Below is a list of what is specifically is supported (read that as "tested") going forward.</p>
52
-
53
-          <h2>Supported Components</h2>
54
-
55
-          <h3>Base OS</h3>
56
-          <p><em>The OpenStack Technical Committee (TC) has defined the current CI strategy to include the latest Ubuntu release and the latest RHEL release (for Python 2.6 testing).</em></p>
57
-          <ul>
58
-            <li>Ubuntu: current LTS release plus current development release</li>
59
-            <li>Fedora: current release plus previous release</li>
60
-            <li>RHEL: current major release</li>
61
-            <li>Other OS platforms may continue to be included but the maintenance of those platforms shall not be assumed simply due to their presence.  Having a listed point-of-contact for each additional OS will greatly increase its chance of being well-maintained.</li>
62
-            <li>Patches for Ubuntu and/or Fedora will not be held up due to side-effects on other OS platforms.</li>
63
-          </ul>
64
-
65
-          <h3>Databases</h3>
66
-          <p><em>As packaged by the host OS</em></p>
67
-          <ul>
68
-            <li>MySQL</li>
69
-            <li>PostgreSQL</li>
70
-          </ul>
71
-
72
-          <h3>Queues</h3>
73
-          <p><em>As packaged by the host OS</em></p>
74
-          <ul>
75
-            <li>Rabbit</li>
76
-            <li>Qpid</li>
77
-<!--
78
-            <li>ZeroMQ</li>
79
-          </ul>
80
-
81
-          <h3>Web Server</h3>
82
-          <p><em>As packaged by the host OS</em></p>
83
-          <ul>
84
-            <li>Apache</li>
85
-          </ul>
86
-
87
-          <h3>OpenStack Network</h3>
88
-          <p><em>Default to Nova Network, optionally use Neutron</em></p>
89
-          <ul>
90
-            <li>Nova Network: FlatDHCP</li>
91
-            <li>Neutron: A basic configuration approximating the original FlatDHCP mode using linuxbridge or OpenVSwitch.</li>
92
-          </ul>
93
-
94
-          <h3>Services</h3>
95
-          <p>The default services configured by DevStack are Identity (Keystone), Object Storage (Swift), Image Storage (Glance), Block Storage (Cinder), Compute (Nova), Network (Nova), Dashboard (Horizon), Orchestration (Heat)</p>
96
-          <p>Additional services not included directly in DevStack can be tied in to <code>stack.sh</code> using the <a href="plugins.html">plugin mechanism</a> to call scripts that perform the configuration and startup of the service.</p>
97
-
98
-          <h3>Node Configurations</h3>
99
-          <ul>
100
-            <li>single node</li>
101
-            <li>multi-node is not tested regularly by the core team, and even then only minimal configurations are reviewed</li>
102
-          </ul>
103
-
104
-          <h3>Exercises</h3>
105
-          <p>The DevStack exercise scripts are no longer used as integration and gate testing as that job has transitioned to Tempest.  They are still maintained as a demonstrations of using OpenStack from the command line and for quick operational testing.</p>
106
-
107
-        </div>        
108
-
109
-      </section>
110
-
111
-      <footer>
112
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
113
-      </footer>
114
-
115
-    </div> <!-- /container -->
116
-  </body>
117
-</html>
118 1
new file mode 100644
... ...
@@ -0,0 +1,103 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Overview DevStack from a cloud-height view
9
+------------------------------------------
10
+
11
+DevStack has evolved to support a large number of configuration options
12
+and alternative platforms and support services. That evolution has grown
13
+well beyond what was originally intended and the majority of
14
+configuration combinations are rarely, if ever, tested. DevStack is not
15
+a general OpenStack installer and was never meant to be everything to
16
+everyone..
17
+
18
+Below is a list of what is specifically is supported (read that as
19
+"tested") going forward.
20
+
21
+Supported Components
22
+--------------------
23
+
24
+Base OS
25
+~~~~~~~
26
+
27
+*The OpenStack Technical Committee (TC) has defined the current CI
28
+strategy to include the latest Ubuntu release and the latest RHEL
29
+release (for Python 2.6 testing).*
30
+
31
+-  Ubuntu: current LTS release plus current development release
32
+-  Fedora: current release plus previous release
33
+-  RHEL: current major release
34
+-  Other OS platforms may continue to be included but the maintenance of
35
+   those platforms shall not be assumed simply due to their presence.
36
+   Having a listed point-of-contact for each additional OS will greatly
37
+   increase its chance of being well-maintained.
38
+-  Patches for Ubuntu and/or Fedora will not be held up due to
39
+   side-effects on other OS platforms.
40
+
41
+Databases
42
+~~~~~~~~~
43
+
44
+*As packaged by the host OS*
45
+
46
+-  MySQL
47
+-  PostgreSQL
48
+
49
+Queues
50
+~~~~~~
51
+
52
+*As packaged by the host OS*
53
+
54
+-  Rabbit
55
+-  Qpid
56
+
57
+Web Server
58
+~~~~~~~~~~
59
+
60
+*As packaged by the host OS*
61
+
62
+-  Apache
63
+
64
+OpenStack Network
65
+~~~~~~~~~~~~~~~~~
66
+
67
+*Default to Nova Network, optionally use Neutron*
68
+
69
+-  Nova Network: FlatDHCP
70
+-  Neutron: A basic configuration approximating the original FlatDHCP
71
+   mode using linuxbridge or OpenVSwitch.
72
+
73
+Services
74
+~~~~~~~~
75
+
76
+The default services configured by DevStack are Identity (Keystone),
77
+Object Storage (Swift), Image Storage (Glance), Block Storage (Cinder),
78
+Compute (Nova), Network (Nova), Dashboard (Horizon), Orchestration
79
+(Heat)
80
+
81
+Additional services not included directly in DevStack can be tied in to
82
+``stack.sh`` using the `plugin mechanism <plugins.html>`__ to call
83
+scripts that perform the configuration and startup of the service.
84
+
85
+Node Configurations
86
+~~~~~~~~~~~~~~~~~~~
87
+
88
+-  single node
89
+-  multi-node is not tested regularly by the core team, and even then
90
+   only minimal configurations are reviewed
91
+
92
+Exercises
93
+~~~~~~~~~
94
+
95
+The DevStack exercise scripts are no longer used as integration and gate
96
+testing as that job has transitioned to Tempest. They are still
97
+maintained as a demonstrations of using OpenStack from the command line
98
+and for quick operational testing.
99
+
100
+© Openstack Foundation 2011-2014 — An
101
+`OpenStack <https://www.openstack.org/>`__
102
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 103
deleted file mode 100644
... ...
@@ -1,142 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - Plugins</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container" id="home">
45
-      
46
-      <section id="faq" class="span12">
47
-
48
-        <div class='row pull-left'>
49
-          <h2>Plugins <small>Add stuff</small></h2>
50
-          <p>DevStack has a couple of plugin mechanisms to allow easily adding support for additional projects and features.</p>
51
-
52
-          <h3>Extras.d Hooks</h3>
53
-          <p>These relatively new hooks are an extension of the existing calls from <code>stack.sh</code> at the end of its run, plus <code>unstack.sh</code> and <code>clean.sh</code>.  A number of the higher-layer projects are implemented in DevStack using this mechanism.</p>
54
-
55
-          <p>The script in <code>extras.d</code> is expected to be mostly a dispatcher to functions in a <code>lib/*</code> script.  The scripts are named with a zero-padded two digits sequence number prefix to control the order that the scripts are called, and with a suffix of <code>.sh</code>.  DevSack reserves for itself the sequence numbers 00 through 09 and 90 through 99.</p>
56
-
57
-          <p>Below is a template that shows handlers for the possible command-line arguments:</p>
58
-
59
-<pre>
60
-# template.sh - DevStack extras.d dispatch script template
61
-
62
-# check for service enabled
63
-if is_service_enabled template; then
64
-
65
-    if [[ "$1" == "source" ]]; then
66
-        # Initial source of lib script
67
-        source $TOP_DIR/lib/template
68
-    fi
69
-
70
-    if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
71
-        # Set up system services
72
-        echo_summary "Configuring system services Template"
73
-        install_package cowsay
74
-
75
-    elif [[ "$1" == "stack" && "$2" == "install" ]]; then
76
-        # Perform installation of service source
77
-        echo_summary "Installing Template"
78
-        install_template
79
-
80
-    elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
81
-        # Configure after the other layer 1 and 2 services have been configured
82
-        echo_summary "Configuring Template"
83
-        configure_template
84
-
85
-    elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
86
-        # Initialize and start the template service
87
-        echo_summary "Initializing Template"
88
-        ##init_template
89
-    fi
90
-
91
-    if [[ "$1" == "unstack" ]]; then
92
-        # Shut down template services
93
-        # no-op
94
-        :
95
-    fi
96
-
97
-    if [[ "$1" == "clean" ]]; then
98
-        # Remove state and transient data
99
-        # Remember clean.sh first calls unstack.sh
100
-        # no-op
101
-        :
102
-    fi
103
-fi
104
-</pre>
105
-
106
-          <p>The arguments are:
107
-          <ul>
108
-            <li><strong>source</strong> - Called by each script that utilizes <code>extras.d</code> hooks; this replaces directly sourcing the <code>lib/*</code> script.</li>
109
-            <li><strong>stack</strong> - Called by <code>stack.sh</code> three times for different phases of its run:
110
-              <ul>
111
-                <li><strong>pre-install</strong> - Called after system (OS) setup is complete and before project source is installed.</li>
112
-                <li><strong>install</strong> - Called after the layer 1 and 2 projects source and their dependencies have been installed.</li>
113
-                <li><strong>post-config</strong> - Called after the layer 1 and 2 services have been configured.  All configuration files for enabled services should exist at this point.</li>
114
-                <li><strong>extra</strong> - Called near the end after layer 1 and 2 services have been started.  This is the existing hook and has not otherwise changed.</li>
115
-              </ul></li>
116
-            <li><strong>unstack</strong> - Called by <code>unstack.sh</code> before other services are shut down.</li>
117
-            <li><strong>clean</strong> - Called by <code>clean.sh</code> before other services are cleaned, but after <code>unstack.sh</code> has been called.
118
-          </ul></p>
119
-
120
-
121
-          <h3>Hypervisor</h3>
122
-          <p>Hypervisor plugins are fairly new and condense most hypervisor configuration into one place.</p>
123
-
124
-          <p>The initial plugin implemented was for Docker support and is a useful template for the required support.  Plugins are placed in <code>lib/nova_plugins</code> and named <code>hypervisor-&lt;name&gt;</code> where <code>&lt;name&gt;</code> is the value of <code>VIRT_DRIVER</code>.  Plugins must define the following functions:</p>
125
-            <ul>
126
-              <li><code>install_nova_hypervisor</code> - install any external requirements</li>
127
-              <li><code>configure_nova_hypervisor</code> - make configuration changes, including those to other services</li>
128
-              <li><code>start_nova_hypervisor</code> - start any external services</li>
129
-              <li><code>stop_nova_hypervisor</code> - stop any external services</li>
130
-              <li><code>cleanup_nova_hypervisor</code> - remove transient data and cache</li>
131
-            </ul>
132
-        </div>        
133
-
134
-      </section>
135
-
136
-      <footer>
137
-        <p>&copy; Openstack Foundation 2011-2013 &mdash; An <a href="https://wiki.openstack.org/wiki/Programs">OpenStack program</a> created by <a href="http://www.rackspace.com/cloud/private_edition/">Rackspace Cloud Builders</a></p>
138
-      </footer>
139
-
140
-    </div> <!-- /container -->
141
-  </body>
142
-</html>
143 1
new file mode 100644
... ...
@@ -0,0 +1,124 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+Plugins Add stuff
9
+-----------------
10
+
11
+DevStack has a couple of plugin mechanisms to allow easily adding
12
+support for additional projects and features.
13
+
14
+Extras.d Hooks
15
+~~~~~~~~~~~~~~
16
+
17
+These relatively new hooks are an extension of the existing calls from
18
+``stack.sh`` at the end of its run, plus ``unstack.sh`` and
19
+``clean.sh``. A number of the higher-layer projects are implemented in
20
+DevStack using this mechanism.
21
+
22
+The script in ``extras.d`` is expected to be mostly a dispatcher to
23
+functions in a ``lib/*`` script. The scripts are named with a
24
+zero-padded two digits sequence number prefix to control the order that
25
+the scripts are called, and with a suffix of ``.sh``. DevSack reserves
26
+for itself the sequence numbers 00 through 09 and 90 through 99.
27
+
28
+Below is a template that shows handlers for the possible command-line
29
+arguments:
30
+
31
+::
32
+
33
+    # template.sh - DevStack extras.d dispatch script template
34
+
35
+    # check for service enabled
36
+    if is_service_enabled template; then
37
+
38
+        if [[ "$1" == "source" ]]; then
39
+            # Initial source of lib script
40
+            source $TOP_DIR/lib/template
41
+        fi
42
+
43
+        if [[ "$1" == "stack" && "$2" == "pre-install" ]]; then
44
+            # Set up system services
45
+            echo_summary "Configuring system services Template"
46
+            install_package cowsay
47
+
48
+        elif [[ "$1" == "stack" && "$2" == "install" ]]; then
49
+            # Perform installation of service source
50
+            echo_summary "Installing Template"
51
+            install_template
52
+
53
+        elif [[ "$1" == "stack" && "$2" == "post-config" ]]; then
54
+            # Configure after the other layer 1 and 2 services have been configured
55
+            echo_summary "Configuring Template"
56
+            configure_template
57
+
58
+        elif [[ "$1" == "stack" && "$2" == "extra" ]]; then
59
+            # Initialize and start the template service
60
+            echo_summary "Initializing Template"
61
+            ##init_template
62
+        fi
63
+
64
+        if [[ "$1" == "unstack" ]]; then
65
+            # Shut down template services
66
+            # no-op
67
+            :
68
+        fi
69
+
70
+        if [[ "$1" == "clean" ]]; then
71
+            # Remove state and transient data
72
+            # Remember clean.sh first calls unstack.sh
73
+            # no-op
74
+            :
75
+        fi
76
+    fi
77
+
78
+The arguments are:
79
+
80
+-  **source** - Called by each script that utilizes ``extras.d`` hooks;
81
+   this replaces directly sourcing the ``lib/*`` script.
82
+-  **stack** - Called by ``stack.sh`` three times for different phases
83
+   of its run:
84
+
85
+   -  **pre-install** - Called after system (OS) setup is complete and
86
+      before project source is installed.
87
+   -  **install** - Called after the layer 1 and 2 projects source and
88
+      their dependencies have been installed.
89
+   -  **post-config** - Called after the layer 1 and 2 services have
90
+      been configured. All configuration files for enabled services
91
+      should exist at this point.
92
+   -  **extra** - Called near the end after layer 1 and 2 services have
93
+      been started. This is the existing hook and has not otherwise
94
+      changed.
95
+
96
+-  **unstack** - Called by ``unstack.sh`` before other services are shut
97
+   down.
98
+-  **clean** - Called by ``clean.sh`` before other services are cleaned,
99
+   but after ``unstack.sh`` has been called.
100
+
101
+Hypervisor
102
+~~~~~~~~~~
103
+
104
+Hypervisor plugins are fairly new and condense most hypervisor
105
+configuration into one place.
106
+
107
+The initial plugin implemented was for Docker support and is a useful
108
+template for the required support. Plugins are placed in
109
+``lib/nova_plugins`` and named ``hypervisor-<name>`` where ``<name>`` is
110
+the value of ``VIRT_DRIVER``. Plugins must define the following
111
+functions:
112
+
113
+-  ``install_nova_hypervisor`` - install any external requirements
114
+-  ``configure_nova_hypervisor`` - make configuration changes, including
115
+   those to other services
116
+-  ``start_nova_hypervisor`` - start any external services
117
+-  ``stop_nova_hypervisor`` - stop any external services
118
+-  ``cleanup_nova_hypervisor`` - remove transient data and cache
119
+
120
+© Openstack Foundation 2011-2013 — An `OpenStack
121
+program <https://wiki.openstack.org/wiki/Programs>`__ created by
122
+`Rackspace Cloud
123
+Builders <http://www.rackspace.com/cloud/private_edition/>`__
0 124
deleted file mode 100644
... ...
@@ -1,101 +0,0 @@
1
-<!DOCTYPE html>
2
-<html lang="en">
3
-  <head>
4
-    <meta charset="utf-8">
5
-    <title>DevStack - stackrc</title>
6
-    <meta name="description" content="">
7
-    <meta name="author" content="">
8
-
9
-    <!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
10
-    <!--[if lt IE 9]>
11
-      <script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
12
-    <![endif]-->
13
-
14
-    <!-- Le styles -->
15
-    <link href="assets/css/bootstrap.css" rel="stylesheet">
16
-    <link href="assets/css/local.css" rel="stylesheet">
17
-    <style type="text/css">
18
-      body { padding-top: 60px; }
19
-      dd { padding: 10px; }
20
-    </style>
21
-    
22
-    <!-- Le javascripts -->
23
-    <script src="../assets/js/jquery-1.7.1.min.js" type="text/javascript" charset="utf-8"></script>
24
-    <script src="../assets/js/bootstrap.js" type="text/javascript" charset="utf-8"></script>
25
-  </head>
26
-
27
-  <body>
28
-
29
-    <div class="navbar navbar-fixed-top">
30
-      <div class="navbar-inner">
31
-        <div class="container">
32
-          <a class="brand" href="/">DevStack</a>
33
-          <ul class="nav pull-right">
34
-            <li><a href="overview.html">Overview</a></li>
35
-            <li><a href="changes.html">Changes</a></li>
36
-            <li><a href="faq.html">FAQ</a></li>
37
-            <li><a href="https://git.openstack.org/cgit/openstack-dev/devstack">git.openstack.org</a></li>
38
-            <li><a href="https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z">Gerrit</a></li>
39
-          </ul>
40
-        </div>
41
-      </div>
42
-    </div>
43
-
44
-    <div class="container">
45
-
46
-      <section class="span12">
47
-        <div class="page-header">
48
-          <h2>stackrc <small>DevStack settings</small></h2>
49
-          <p><code>stackrc</code> is the primary configuration file for DevStack.
50
-          It contains all of the settings that control the services started
51
-          and the repositories used to download the source for those services.
52
-          <code>stackrc</code> sources the <code>localrc</code> section of
53
-          <code>local.conf</code> to perform the default overrides.</p>
54
-        </div>
55
-        <dl>
56
-
57
-          <dt>DATABASE_TYPE</dt>
58
-          <dd>Select the database backend to use.  The default is <code>mysql</code>,
59
-          <code>postgresql</code> is also available.</dd>
60
-
61
-          <dt>ENABLED_SERVICES</dt>
62
-          <dd>Specify which services to launch.  These generally correspond to
63
-            screen tabs. 
64
-            The default includes: Glance (API and Registry), Keystone, Nova (API,
65
-            Certificate, Object Store, Compute, Network, Scheduler, VNC proxies,
66
-            Certificate Authentication), Cinder (Scheduler, API, Volume), Horizon, MySQL, RabbitMQ, Tempest.
67
-            <pre>ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPE</pre>
68
-            Other services that are not enabled by default can be enabled in
69
-            <code>localrc</code>. For example, to add Swift, use the following service names:
70
-            <pre>enable_service s-proxy s-object s-container s-account</pre>
71
-            A service can similarly be disabled:
72
-            <pre>disable_service horizon</pre></dd>
73
-
74
-          <dt>Service Repos</dt>
75
-          <dd>The Git repositories used to check out the source for each service
76
-            are controlled by a pair of variables set for each service.  
77
-            <code>*_REPO</code> points to the repository and <code>*_BRANCH</code>
78
-            selects which branch to check out.  These may be overridden in
79
-            <code>local.conf</code> to pull source from a different repo for testing,
80
-            such as a Gerrit branch proposal.  <code>GIT_BASE</code> points to the primary repository server.
81
-            <pre>NOVA_REPO=$GIT_BASE/openstack/nova.git
82
-NOVA_BRANCH=master</pre>
83
-            To pull a branch directly from Gerrit, get the repo and branch from the 
84
-            Gerrit review page:
85
-            <pre>git fetch https://review.openstack.org/p/openstack/nova refs/changes/50/5050/1 && git checkout FETCH_HEAD</pre>
86
-            The repo is the stanza following <code>fetch</code> and the branch
87
-            is the stanza following that:
88
-            <pre>NOVA_REPO=https://review.openstack.org/p/openstack/nova
89
-NOVA_BRANCH=refs/changes/50/5050/1</pre></dd>
90
-
91
-        </dl>
92
-      </section
93
-
94
-      <footer>
95
-        <p>&copy; Openstack Foundation 2011-2014 &mdash; An <a href="https://www.openstack.org/">OpenStack</a> <a href="https://wiki.openstack.org/wiki/Programs">program</a></p>
96
-      </footer>
97
-
98
-    </div> <!-- /container -->
99
-
100
-  </body>
101
-</html>
102 1
new file mode 100644
... ...
@@ -0,0 +1,77 @@
0
+`DevStack </>`__
1
+
2
+-  `Overview <overview.html>`__
3
+-  `Changes <changes.html>`__
4
+-  `FAQ <faq.html>`__
5
+-  `git.openstack.org <https://git.openstack.org/cgit/openstack-dev/devstack>`__
6
+-  `Gerrit <https://review.openstack.org/#/q/status:open+project:openstack-dev/devstack,n,z>`__
7
+
8
+stackrc DevStack settings
9
+-------------------------
10
+
11
+``stackrc`` is the primary configuration file for DevStack. It contains
12
+all of the settings that control the services started and the
13
+repositories used to download the source for those services. ``stackrc``
14
+sources the ``localrc`` section of ``local.conf`` to perform the default
15
+overrides.
16
+
17
+DATABASE\_TYPE
18
+    Select the database backend to use. The default is ``mysql``,
19
+    ``postgresql`` is also available.
20
+ENABLED\_SERVICES
21
+    Specify which services to launch. These generally correspond to
22
+    screen tabs. The default includes: Glance (API and Registry),
23
+    Keystone, Nova (API, Certificate, Object Store, Compute, Network,
24
+    Scheduler, VNC proxies, Certificate Authentication), Cinder
25
+    (Scheduler, API, Volume), Horizon, MySQL, RabbitMQ, Tempest.
26
+
27
+    ::
28
+
29
+        ENABLED_SERVICES=g-api,g-reg,key,n-api,n-crt,n-obj,n-cpu,n-net,n-cond,cinder,c-sch,c-api,c-vol,n-sch,n-novnc,n-xvnc,n-cauth,horizon,rabbit,tempest,$DATABASE_TYPE
30
+
31
+    Other services that are not enabled by default can be enabled in
32
+    ``localrc``. For example, to add Swift, use the following service
33
+    names:
34
+
35
+    ::
36
+
37
+        enable_service s-proxy s-object s-container s-account
38
+
39
+    A service can similarly be disabled:
40
+
41
+    ::
42
+
43
+        disable_service horizon
44
+
45
+Service Repos
46
+    The Git repositories used to check out the source for each service
47
+    are controlled by a pair of variables set for each service.
48
+    ``*_REPO`` points to the repository and ``*_BRANCH`` selects which
49
+    branch to check out. These may be overridden in ``local.conf`` to
50
+    pull source from a different repo for testing, such as a Gerrit
51
+    branch proposal. ``GIT_BASE`` points to the primary repository
52
+    server.
53
+
54
+    ::
55
+
56
+        NOVA_REPO=$GIT_BASE/openstack/nova.git
57
+        NOVA_BRANCH=master
58
+
59
+    To pull a branch directly from Gerrit, get the repo and branch from
60
+    the Gerrit review page:
61
+
62
+    ::
63
+
64
+        git fetch https://review.openstack.org/p/openstack/nova refs/changes/50/5050/1 && git checkout FETCH_HEAD
65
+
66
+    The repo is the stanza following ``fetch`` and the branch is the
67
+    stanza following that:
68
+
69
+    ::
70
+
71
+        NOVA_REPO=https://review.openstack.org/p/openstack/nova
72
+        NOVA_BRANCH=refs/changes/50/5050/1
73
+
74
+© Openstack Foundation 2011-2014 — An
75
+`OpenStack <https://www.openstack.org/>`__
76
+`program <https://wiki.openstack.org/wiki/Programs>`__
0 77
new file mode 100644
... ...
@@ -0,0 +1,23 @@
0
+[metadata]
1
+name = DevStack
2
+summary = OpenStack DevStack
3
+description-file =
4
+    README.md
5
+author = OpenStack
6
+author-email = openstack-dev@lists.openstack.org
7
+home-page = http://devstack.org
8
+classifier =
9
+    Intended Audience :: Developers
10
+    License :: OSI Approved :: Apache Software License
11
+    Operating System :: POSIX :: Linux
12
+
13
+[build_sphinx]
14
+all_files = 1
15
+build-dir = doc/build
16
+source-dir = doc/source
17
+
18
+[pbr]
19
+warnerrors = True
20
+
21
+[wheel]
22
+universal = 1
0 23
new file mode 100755
... ...
@@ -0,0 +1,22 @@
0
+#!/usr/bin/env python
1
+# Copyright (c) 2013 Hewlett-Packard Development Company, L.P.
2
+#
3
+# Licensed under the Apache License, Version 2.0 (the "License");
4
+# you may not use this file except in compliance with the License.
5
+# You may obtain a copy of the License at
6
+#
7
+#    http://www.apache.org/licenses/LICENSE-2.0
8
+#
9
+# Unless required by applicable law or agreed to in writing, software
10
+# distributed under the License is distributed on an "AS IS" BASIS,
11
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
12
+# implied.
13
+# See the License for the specific language governing permissions and
14
+# limitations under the License.
15
+
16
+# THIS FILE IS MANAGED BY THE GLOBAL REQUIREMENTS REPO - DO NOT EDIT
17
+import setuptools
18
+
19
+setuptools.setup(
20
+    setup_requires=['pbr'],
21
+    pbr=True)
... ...
@@ -16,8 +16,13 @@ commands = bash -c "find {toxinidir} -not -wholename \*.tox/\* -and \( -name \*.
16 16
 deps =
17 17
    Pygments
18 18
    docutils
19
+   sphinx>=1.1.2,<1.2
20
+   pbr>=0.6,!=0.7,<1.0
21
+   oslosphinx
19 22
 whitelist_externals = bash
20 23
 setenv =
21 24
   TOP_DIR={toxinidir}
22 25
   INSTALL_SHOCCO=true
23
-commands = bash tools/build_docs.sh
26
+commands = 
27
+	bash tools/build_docs.sh
28
+	python setup.py build_sphinx