2017-08-13 15:47:16 -04:00
|
|
|
3. 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
|
|
|
|
share_name_template = share-%s
|
|
|
|
rootwrap_config = /etc/manila/rootwrap.conf
|
|
|
|
api_paste_config = /etc/manila/api-paste.ini
|
|
|
|
|
|
|
|
.. 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 further
|
|
|
|
explained in the section discussing the setup and configuration of the
|
|
|
|
share node.
|
|
|
|
|
|
|
|
* In the ``[DEFAULT]`` and ``[keystone_authtoken]`` sections, configure
|
|
|
|
Identity service access:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[DEFAULT]
|
|
|
|
...
|
|
|
|
auth_strategy = keystone
|
|
|
|
|
|
|
|
[keystone_authtoken]
|
|
|
|
...
|
|
|
|
memcached_servers = controller:11211
|
2018-04-19 20:02:22 +08:00
|
|
|
www_authenticate_uri = http://controller:5000
|
2018-05-01 00:32:37 +08:00
|
|
|
auth_url = http://controller:5000
|
2017-08-13 15:47:16 -04:00
|
|
|
auth_type = password
|
2017-11-22 23:32:08 +08:00
|
|
|
project_domain_name = Default
|
|
|
|
user_domain_name = Default
|
2017-08-13 15:47:16 -04:00
|
|
|
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 to use the
|
|
|
|
management interface IP address of the controller node:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[DEFAULT]
|
|
|
|
...
|
|
|
|
my_ip = 10.0.0.11
|
|
|
|
|
|
|
|
* In the ``[oslo_concurrency]`` section, configure the lock path:
|
|
|
|
|
|
|
|
.. code-block:: ini
|
|
|
|
|
|
|
|
[oslo_concurrency]
|
|
|
|
...
|
|
|
|
lock_path = /var/lock/manila
|