Update install docs to match default NFS config

nfs_shares_config default is "nfs_shares" but install doc instructed to
use "nfsshares". Following the documented instructions would work, but
we should use the default config value.

Closes-bug: #1716987

Change-Id: Ia5fb7a43cd47ed8fdd3e561affd9c3af95e6b40b
Signed-off-by: Sean McGinnis <sean.mcginnis@gmail.com>
This commit is contained in:
Sean McGinnis 2019-02-05 15:09:44 -06:00
parent 07ccb1d6b0
commit d3857c87e6
No known key found for this signature in database
GPG Key ID: CE7EE4BFAF8D70C8

View File

@ -29,9 +29,9 @@ that hosts the ``cinder`` volume service.
#. Log in as ``root`` to the system hosting the ``cinder`` volume #. Log in as ``root`` to the system hosting the ``cinder`` volume
service. service.
#. Create a text file named ``nfsshares`` in the ``/etc/cinder/`` directory. #. Create a text file named ``nfs_shares`` in the ``/etc/cinder/`` directory.
#. Add an entry to ``/etc/cinder/nfsshares`` for each NFS share #. Add an entry to ``/etc/cinder/nfs_shares`` for each NFS share
that the ``cinder`` volume service should use for back end storage. that the ``cinder`` volume service should use for back end storage.
Each entry should be a separate line, and should use the following Each entry should be a separate line, and should use the following
format: format:
@ -49,25 +49,25 @@ that hosts the ``cinder`` volume service.
| |
#. Set ``/etc/cinder/nfsshares`` to be owned by the ``root`` user and #. Set ``/etc/cinder/nfs_shares`` to be owned by the ``root`` user and
the ``cinder`` group: the ``cinder`` group:
.. code-block:: console .. code-block:: console
# chown root:cinder /etc/cinder/nfsshares # chown root:cinder /etc/cinder/nfs_shares
#. Set ``/etc/cinder/nfsshares`` to be readable by members of the #. Set ``/etc/cinder/nfs_shares`` to be readable by members of the
cinder group: cinder group:
.. code-block:: console .. code-block:: console
# chmod 0640 /etc/cinder/nfsshares # chmod 0640 /etc/cinder/nfs_shares
#. Configure the ``cinder`` volume service to use the #. Configure the ``cinder`` volume service to use the
``/etc/cinder/nfsshares`` file created earlier. To do so, open ``/etc/cinder/nfs_shares`` file created earlier. To do so, open
the ``/etc/cinder/cinder.conf`` configuration file and set the ``/etc/cinder/cinder.conf`` configuration file and set
the ``nfs_shares_config`` configuration key the ``nfs_shares_config`` configuration key
to ``/etc/cinder/nfsshares``. to ``/etc/cinder/nfs_shares``.
On distributions that include ``openstack-config``, you can configure On distributions that include ``openstack-config``, you can configure
this by running the following command instead: this by running the following command instead:
@ -75,7 +75,7 @@ that hosts the ``cinder`` volume service.
.. code-block:: console .. code-block:: console
# openstack-config --set /etc/cinder/cinder.conf \ # openstack-config --set /etc/cinder/cinder.conf \
DEFAULT nfs_shares_config /etc/cinder/nfsshares DEFAULT nfs_shares_config /etc/cinder/nfs_shares
The following distributions include openstack-config: The following distributions include openstack-config: