e01af35b88
Update from this commit https://review.openstack.org/#/c/389971/1 in the openstack-manuals project. Change-Id: I862d3b4e310136c7b9bc151fdfa82b07e8c04978
82 lines
2.4 KiB
ReStructuredText
82 lines
2.4 KiB
ReStructuredText
4. Complete the rest of the configuration in ``manila.conf``.
|
|
|
|
* In the ``[DEFAULT]`` section, configure ``RabbitMQ``
|
|
message queue access:
|
|
|
|
.. code-block:: ini
|
|
|
|
[DEFAULT]
|
|
...
|
|
transport_url = rabbit://openstack:RABBIT_PASS@controller
|
|
|
|
Replace ``RABBIT_PASS`` with the password you chose for the
|
|
``openstack`` account in ``RabbitMQ``.
|
|
|
|
* In the ``[DEFAULT]`` section, set the following config values:
|
|
|
|
.. code-block:: ini
|
|
|
|
[DEFAULT]
|
|
...
|
|
default_share_type = default_share_type
|
|
rootwrap_config = /etc/manila/rootwrap.conf
|
|
|
|
.. important::
|
|
|
|
The ``default_share_type`` option specifies the default share type to
|
|
be used when shares are created without specifying the share type in
|
|
the request. The default share type that is specified in the
|
|
configuration file has to be created with the necessary required
|
|
extra-specs (such as ``driver_handles_share_servers``) set
|
|
appropriately with reference to the driver mode used. This is
|
|
explained in further steps.
|
|
|
|
* In the ``[DEFAULT]`` and ``[keystone_authtoken]`` sections, configure
|
|
Identity service access:
|
|
|
|
.. code-block:: ini
|
|
|
|
[DEFAULT]
|
|
...
|
|
auth_strategy = keystone
|
|
|
|
[keystone_authtoken]
|
|
...
|
|
memcached_servers = controller:11211
|
|
auth_uri = http://controller:5000
|
|
auth_url = http://controller:35357
|
|
auth_type = password
|
|
project_domain_id = default
|
|
user_domain_id = default
|
|
project_name = service
|
|
username = manila
|
|
password = MANILA_PASS
|
|
|
|
Replace ``MANILA_PASS`` with the password you chose for the ``manila``
|
|
user in the Identity service.
|
|
|
|
* In the ``[DEFAULT]`` section, configure the ``my_ip`` option:
|
|
|
|
.. code-block:: ini
|
|
|
|
[DEFAULT]
|
|
...
|
|
my_ip = MANAGEMENT_INTERFACE_IP_ADDRESS
|
|
|
|
Replace ``MANAGEMENT_INTERFACE_IP_ADDRESS`` with the IP address of the
|
|
management network interface on your share node, typically 10.0.0.41 for
|
|
the first node in the example architecture shown below:
|
|
|
|
.. figure:: figures/hwreqs.png
|
|
:alt: Hardware requirements
|
|
|
|
**Hardware requirements**
|
|
|
|
* In the ``[oslo_concurrency]`` section, configure the lock path:
|
|
|
|
.. code-block:: ini
|
|
|
|
[oslo_concurrency]
|
|
...
|
|
lock_path = /var/lib/manila/tmp
|