From d3857c87e654b0d8bceadc07a1bda13bdb768933 Mon Sep 17 00:00:00 2001 From: Sean McGinnis Date: Tue, 5 Feb 2019 15:09:44 -0600 Subject: [PATCH] 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 --- doc/source/admin/blockstorage-nfs-backend.rst | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/doc/source/admin/blockstorage-nfs-backend.rst b/doc/source/admin/blockstorage-nfs-backend.rst index 63c03e4f82d..7b95a5e46e5 100644 --- a/doc/source/admin/blockstorage-nfs-backend.rst +++ b/doc/source/admin/blockstorage-nfs-backend.rst @@ -29,9 +29,9 @@ that hosts the ``cinder`` volume service. #. Log in as ``root`` to the system hosting the ``cinder`` volume 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. Each entry should be a separate line, and should use the following 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: .. 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: .. code-block:: console - # chmod 0640 /etc/cinder/nfsshares + # chmod 0640 /etc/cinder/nfs_shares #. 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 ``nfs_shares_config`` configuration key - to ``/etc/cinder/nfsshares``. + to ``/etc/cinder/nfs_shares``. On distributions that include ``openstack-config``, you can configure this by running the following command instead: @@ -75,7 +75,7 @@ that hosts the ``cinder`` volume service. .. code-block:: console # 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: