Fix doc8's "duplicated target names" (D000) error
This patch is enabling the D000 error (duplicated target names) in doc8 and fixing the occurrences of this error in the docs. Change-Id: Iac048d213e0571b99696ec708f5c07d6e1bebb19
This commit is contained in:
parent
7e734252e9
commit
d85b9970ce
@ -1859,12 +1859,12 @@ in swift. HTTPS is required to encrypt all communication between swift and Ironi
|
|||||||
conductor and swift and bare metal (via virtual media). It can be enabled in one
|
conductor and swift and bare metal (via virtual media). It can be enabled in one
|
||||||
of the following ways:
|
of the following ways:
|
||||||
|
|
||||||
* Using an SSL termination proxy. For more information, `see here
|
* `Using an SSL termination proxy
|
||||||
<http://docs.openstack.org/security-guide/secure-communication/tls-proxies-and-http-services.html>`_
|
<http://docs.openstack.org/security-guide/secure-communication/tls-proxies-and-http-services.html>`_
|
||||||
|
|
||||||
* Using native SSL support in swift (recommended only for testing
|
* `Using native SSL support in swift
|
||||||
purpose by swift). For more information,
|
<http://docs.openstack.org/developer/swift/deployment_guide.html>`_
|
||||||
`see here <http://docs.openstack.org/developer/swift/deployment_guide.html>`_
|
(recommended only for testing purpose by swift).
|
||||||
|
|
||||||
Using Bare Metal service as a standalone service
|
Using Bare Metal service as a standalone service
|
||||||
================================================
|
================================================
|
||||||
@ -2114,19 +2114,18 @@ the configuration drive and mount it, for example::
|
|||||||
Cloud-init integration
|
Cloud-init integration
|
||||||
----------------------
|
----------------------
|
||||||
|
|
||||||
The configuration drive can be especially
|
The configuration drive can be
|
||||||
useful when used with ``cloud-init`` [`link
|
especially useful when used with `cloud-init
|
||||||
<http://cloudinit.readthedocs.org/en/latest/topics/datasources.html#config-drive>`_],
|
<http://cloudinit.readthedocs.org/en/latest/topics/datasources.html#config-drive>`_,
|
||||||
but in order to use it we should follow some rules:
|
but in order to use it we should follow some rules:
|
||||||
|
|
||||||
* ``Cloud-init`` expects a specific format to the data. For
|
* ``Cloud-init`` `expects a specific format to the data
|
||||||
more information about the expected file layout see [`link
|
<http://docs.openstack.org/user-guide/cli_config_drive.html#configuration-drive-contents>`_.
|
||||||
<http://docs.openstack.org/user-guide/cli_config_drive.html#configuration-drive-contents>`_].
|
|
||||||
|
|
||||||
|
|
||||||
* Since the Bare Metal service uses a disk partition as the configuration drive,
|
* Since the Bare Metal service uses a disk partition as the configuration drive,
|
||||||
it will only work with ``cloud-init`` version **>= 0.7.5** [`link
|
it will only work with
|
||||||
<http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/ChangeLog>`_].
|
`cloud-init version >= 0.7.5 <http://bazaar.launchpad.net/~cloud-init-dev/cloud-init/trunk/view/head:/ChangeLog>`_.
|
||||||
|
|
||||||
|
|
||||||
* ``Cloud-init`` has a collection of data source modules, so when
|
* ``Cloud-init`` has a collection of data source modules, so when
|
||||||
@ -2136,9 +2135,8 @@ but in order to use it we should follow some rules:
|
|||||||
|
|
||||||
DIB_CLOUD_INIT_DATASOURCES="ConfigDrive, OpenStack" disk-image-create -o fedora-cloud-image fedora baremetal
|
DIB_CLOUD_INIT_DATASOURCES="ConfigDrive, OpenStack" disk-image-create -o fedora-cloud-image fedora baremetal
|
||||||
|
|
||||||
See [`link
|
For more information see `how to configure cloud-init data sources
|
||||||
<http://docs.openstack.org/developer/diskimage-builder/elements/cloud-init-datasources/README.html>`_]
|
<http://docs.openstack.org/developer/diskimage-builder/elements/cloud-init-datasources/README.html>`_.
|
||||||
for more information.
|
|
||||||
|
|
||||||
.. _BuildingDeployRamdisk:
|
.. _BuildingDeployRamdisk:
|
||||||
|
|
||||||
|
@ -56,9 +56,8 @@ Different Configuration for ilo drivers
|
|||||||
Glance Configuration
|
Glance Configuration
|
||||||
^^^^^^^^^^^^^^^^^^^^
|
^^^^^^^^^^^^^^^^^^^^
|
||||||
|
|
||||||
1. Configure Glance image service with its storage backend as Swift. See
|
1. `Configure Glance image service with its storage backend as Swift
|
||||||
`here <http://docs.openstack.org/developer/glance/configuring.html#configuring-the-swift-storage-backend>`_
|
<http://docs.openstack.org/developer/glance/configuring.html#configuring-the-swift-storage-backend>`_.
|
||||||
for configuration instructions.
|
|
||||||
|
|
||||||
2. Set a temp-url key for Glance user in Swift. For example, if you have
|
2. Set a temp-url key for Glance user in Swift. For example, if you have
|
||||||
configured Glance with user ``glance-swift`` and tenant as ``service``,
|
configured Glance with user ``glance-swift`` and tenant as ``service``,
|
||||||
@ -640,7 +639,8 @@ To enable ``secure_boot`` on a node add it to ``capabilities`` as below::
|
|||||||
|
|
||||||
ironic node-update <node-uuid> add properties/capabilities='secure_boot:true'
|
ironic node-update <node-uuid> add properties/capabilities='secure_boot:true'
|
||||||
|
|
||||||
Alternatively use `Hardware Inspection`_ to populate the secure boot capability.
|
Alternatively see `Hardware Inspection Support`_ to know how to
|
||||||
|
automatically populate the secure boot capability.
|
||||||
|
|
||||||
Nodes having ``secure_boot`` set to ``true`` may be requested by adding an
|
Nodes having ``secure_boot`` set to ``true`` may be requested by adding an
|
||||||
``extra_spec`` to the nova flavor::
|
``extra_spec`` to the nova flavor::
|
||||||
|
2
tox.ini
2
tox.ini
@ -32,7 +32,7 @@ commands =
|
|||||||
# Check that .po and .pot files are valid:
|
# Check that .po and .pot files are valid:
|
||||||
bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
bash -c "find ironic -type f -regex '.*\.pot?' -print0|xargs -0 -n 1 msgfmt --check-format -o /dev/null"
|
||||||
# Check the *.rst files
|
# Check the *.rst files
|
||||||
doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001 --ignore D000
|
doc8 README.rst CONTRIBUTING.rst doc/source --ignore D001
|
||||||
|
|
||||||
[testenv:cover]
|
[testenv:cover]
|
||||||
setenv = VIRTUAL_ENV={envdir}
|
setenv = VIRTUAL_ENV={envdir}
|
||||||
|
Loading…
Reference in New Issue
Block a user