@@ -22,7 +22,7 @@ simplify this process and meet the following goals:
2222- allow settings in arbitrary configuration files to be changed
2323
2424local.conf
25- ~~~~~~~~~~
25+ ==========
2626
2727The new configuration file is ``local.conf `` and resides in the root
2828DevStack directory like the old ``localrc `` file. It is a modified INI
@@ -96,7 +96,7 @@ fragment amd MUST conform to the shell requirements, specifically no
9696whitespace around ``= `` (equals).
9797
9898Minimal Configuration
99- ~~~~~~~~~~~~~~~~~~~~~
99+ =====================
100100
101101While ``stack.sh `` is happy to run without a ``localrc `` section in
102102``local.conf ``, devlife is better when there are a few minimal variables
@@ -136,9 +136,11 @@ available for ``openrc`` to set ``OS_AUTH_URL``. ``HOST_IP`` is not set
136136by default.
137137
138138Common Configuration Variables
139- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
139+ ==============================
140+
141+ Installation Directory
142+ ----------------------
140143
141- Set DevStack install directory
142144 | *Default: ``DEST=/opt/stack``*
143145 | The DevStack install directory is set by the ``DEST`` variable.
144146 | By setting it early in the ``localrc`` section you can reference it
@@ -150,7 +152,27 @@ Set DevStack install directory
150152
151153 DEST=/opt/stack
152154
153- stack.sh logging
155+ Libraries from Git
156+ ------------------
157+
158+ | *Default: ``LIBS_FROM_GIT=""``*
159+
160+ | By default devstack installs OpenStack server components from
161+ git, however it installs client libraries from released versions
162+ on pypi. This is appropriate if you are working on server
163+ development, but if you want to see how an unreleased version of
164+ the client affects the system you can have devstack install it
165+ from upstream, or from local git trees.
166+ | Multiple libraries can be specified as a comma separated list.
167+ |
168+
169+ ::
170+
171+ LIBS_FROM_GIT=python-keystoneclient,oslo.config
172+
173+ Enable Logging
174+ --------------
175+
154176 | *Defaults: ``LOGFILE="" LOGDAYS=7 LOG_COLOR=True``*
155177 | By default ``stack.sh`` output is only written to the console
156178 where is runs. It can be sent to a file in addition to the console
@@ -178,7 +200,9 @@ stack.sh logging
178200
179201 LOG_COLOR=False
180202
181- Screen logging
203+ Logging the Screen Output
204+ -------------------------
205+
182206 | *Default: ``SCREEN_LOGDIR=""``*
183207 | By default DevStack runs the OpenStack services using ``screen``
184208 which is useful for watching log and debug output. However, in
@@ -196,7 +220,9 @@ Screen logging
196220 *Note the use of ``DEST`` to locate the main install directory; this
197221 is why we suggest setting it in ``local.conf``. *
198222
199- One syslog to bind them all
223+ Enabling Syslog
224+ ---------------
225+
200226 | *Default: ``SYSLOG=False SYSLOG_HOST=$HOST_IP SYSLOG_PORT=516``*
201227 | Logging all services to a single syslog can be convenient. Enable
202228 syslogging by setting ``SYSLOG`` to ``True``. If the destination log
@@ -211,6 +237,8 @@ One syslog to bind them all
211237 SYSLOG_PORT=516
212238
213239A clean install every time
240+ --------------------------
241+
214242 | *Default: ``RECLONE=""``*
215243 | By default ``stack.sh`` only clones the project repos if they do
216244 not exist in ``$DEST``. ``stack.sh`` will freshen each repo on each
@@ -222,10 +250,18 @@ A clean install every time
222250
223251 RECLONE=yes
224252
225- Swift
226- Default: SWIFT_HASH="" SWIFT_REPLICAS=1 SWIFT_DATA_DIR=$DEST/data/swift
227- 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:
228- enable_service s-proxy s-object s-container s-account
253+ Swift
254+ -----
255+
256+ | Default: SWIFT_HASH=""
257+ | SWIFT_REPLICAS=1
258+ | SWIFT_DATA_DIR=$DEST/data/swift
259+
260+ | Swift is now used as the back-end for the S3-like object store.
261+ When enabled Nova's objectstore (n-obj in ENABLED_SERVICES) is
262+ automatically disabled. Enable Swift by adding it services to
263+ ENABLED_SERVICES: enable_service s-proxy s-object s-container
264+ s-account
229265
230266 Setting Swift's hash value is required and you will be prompted for
231267 it if Swift is enabled so just set it to something already:
@@ -259,6 +295,8 @@ A clean install every time
259295 work correctly. *
260296
261297Service Catalog Backend
298+ -----------------------
299+
262300 | *Default: ``KEYSTONE_CATALOG_BACKEND=sql``*
263301 | DevStack uses Keystone's ``sql`` service catalog backend. An
264302 alternate ``template`` backend is also available. However, it does
@@ -274,6 +312,8 @@ Service Catalog Backend
274312 ``files/keystone_data.sh ``
275313
276314Cinder
315+ ------
316+
277317 | Default:
278318 | VOLUME_GROUP="stack-volumes" VOLUME_NAME_PREFIX="volume-" VOLUME_BACKING_FILE_SIZE=10250M
279319 | The logical volume group used to hold the Cinder-managed volumes
@@ -289,6 +329,8 @@ Cinder
289329 VOLUME_BACKING_FILE_SIZE=10250M
290330
291331Multi-host DevStack
332+ -------------------
333+
292334 | *Default: ``MULTI_HOST=False``*
293335 | Running DevStack with multiple hosts requires a custom
294336 ``local.conf`` section for each host. The master is the same as a
@@ -311,6 +353,8 @@ Multi-host DevStack
311353 ENABLED_SERVICES=n-vol,n-cpu,n-net,n-api
312354
313355API rate limits
356+ ---------------
357+
314358 | Default: ``API_RATE_LIMIT=True``
315359 | Integration tests such as Tempest will likely run afoul of the
316360 default rate limits configured for Nova. Turn off rate limiting
@@ -322,7 +366,7 @@ API rate limits
322366 API_RATE_LIMIT=False
323367
324368Examples
325- ~~~~~~~~
369+ ========
326370
327371- Eliminate a Cinder pass-through (``CINDER_PERIODIC_INTERVAL ``):
328372
0 commit comments