Merge "doc: clarify usage of use_multipath_for_image_xfer parameter"

This commit is contained in:
Zuul 2019-12-19 22:57:24 +00:00 committed by Gerrit Code Review
commit 1fc235c806
7 changed files with 26 additions and 12 deletions

View File

@ -312,12 +312,18 @@ image_opts = [
cfg.BoolOpt('use_multipath_for_image_xfer',
default=False,
help='Do we attach/detach volumes in cinder using multipath '
'for volume to image and image to volume transfers?'),
'for volume to image and image to volume transfers? '
'This parameter needs to be configured for each backend '
'section or in [backend_defaults] section as a common '
'configuration for all backends.'),
cfg.BoolOpt('enforce_multipath_for_image_xfer',
default=False,
help='If this is set to True, attachment of volumes for '
'image transfer will be aborted when multipathd is not '
'running. Otherwise, it will fallback to single path.'),
'running. Otherwise, it will fallback to single path. '
'This parameter needs to be configured for each backend '
'section or in [backend_defaults] section as a common '
'configuration for all backends.'),
]

View File

@ -23,11 +23,13 @@ To use the MacroSAN drivers, the following are required:
- HTTPS or HTTP must be enabled on the array
When creating a volume from image, install the ``multipath`` tool and add the
following configuration keys in the ``[DEFAULT]`` configuration group of
the ``/etc/cinder/cinder.conf`` file:
following configuration keys for each backend section or in
``[backend_defaults]`` section as a common configuration for all backends in
``/etc/cinder/cinder.conf`` file:
.. code-block:: ini
[cinder-iscsi-a]
use_multipath_for_image_xfer = True
When creating a instance from image, install the ``multipath`` tool and add the

View File

@ -1091,9 +1091,9 @@ On Compute (Nova) node, add the following flag in the ``[libvirt]`` section of
volume_use_multipath = True
On Cinder controller node, iSCSI MPIO can be set globally in the
[DEFAULT] section or set individually in the PowerMax backend stanza in
:file:`/etc/cinder/cinder.conf`:
On Cinder controller node, multipath for image transfer can be enabled in
``/etc/cinder/cinder.conf`` for each backend section or
in ``[backend_defaults]`` section as a common configuration for all backends.
.. code-block:: ini

View File

@ -145,7 +145,9 @@ Driver configuration
# service multipath-tools restart
#. Enable multipath for image transfer in ``/etc/cinder/cinder.conf``.
#. Enable multipath for image transfer in ``/etc/cinder/cinder.conf`` for each
backend or in ``[backend_defaults]`` section as a common configuration
for all backends.
.. code-block:: ini

View File

@ -160,7 +160,8 @@ modified as follows:
- Multipathing
The ``use_multipath_for_image_xfer`` parameter in the ``cinder.conf`` file
should be set to ``True`` as follows:
should be set to ``True`` for each backend or in ``[backend_defaults]``
section as a common configuration for all backends.
.. code-block:: ini

View File

@ -123,8 +123,9 @@ iSCSI storage or Fibre Channel storage.
**Pre-requisites**
When creating a volume from image, install the ``multipath`` tool and add the
following configuration keys in the ``[DEFAULT]`` configuration group of
the ``/etc/cinder/cinder.conf`` file:
following configuration keys for each backend section or in
``[backend_defaults]`` section as a common configuration for all backends in
``/etc/cinder/cinder.conf`` file:
.. code-block:: ini

View File

@ -103,7 +103,9 @@ Fibre Channel configuration example
Multipath configuration
-----------------------
* Enable multipath for image transfer in ``/etc/cinder/cinder.conf``.
* Enable multipath for image transfer in ``/etc/cinder/cinder.conf`` for each
back end or in ``[backend_defaults]`` section as a common configuration
for all backends.
.. code-block:: ini