Show Table of Contents
13.4. Configure Basic File Share Service Settings
When manually installing the File Share Service packages, the service's configuration file (namely,
/etc/manila/manila.conf) will have no settings configured. You will need to manually uncomment/add and configure each setting as required.
The following code snippet is the basic configuration required for deploying the File Share Service. You can copy its contents to
/etc/manila/manila.conf, replacing the necessary variables when you do:
[DEFAULT] osapi_share_listen=0.0.0.0 sql_connection=mysql://manila:MANILADBPASS@CONTROLLERIP/manila #![]()
api_paste_config=/etc/manila/api-paste.ini state_path=/var/lib/manila sql_idle_timeout=3600 storage_availability_zone=nova rootwrap_config=/etc/manila/rootwrap.conf auth_strategy=keystone nova_catalog_info=compute:nova:publicURL nova_catalog_admin_info=compute:nova:adminURL nova_api_insecure=False nova_admin_username=nova nova_admin_password=NOVAADMINPASS #
nova_admin_tenant_name=services nova_admin_auth_url=http://localhost:5000/v2.0 network_api_class=manila.network.neutron.neutron_network_plugin.NeutronNetworkPlugin debug=False verbose=True log_dir=/var/log/manila use_syslog=False rpc_backend=manila.openstack.common.rpc.impl_kombu control_exchange=openstack amqp_durable_queues=False [oslo_messaging_rabbit] rabbit_ha_queues=False rabbit_userid=guest rabbit_password=guest rabbit_port=5672 rabbit_use_ssl=False rabbit_virtual_host=/ rabbit_host=CONTROLLERIP #
rabbit_hosts=CONTROLLERIP:5672 #
[oslo_concurrency] lock_path=/tmp/manila/manila_locks
Replace the following values:
MANILADBPASS is the database password of the File Share Service, which you used in Section 13.5, “Create the File Share Service Database”.
| |
CONTROLLERIP is the IP address of the Controller node.
| |
NOVAADMINPASS is the admin password of the Compute service. This is identical to the value of nova_admin_password in /etc/neutron/neutron.conf.
Note
If you deployed OpenStack using the Director, you can also find this password in the undercloud's /home/stack/tripleo-overcloud-passwords file.
|
As of this release, some File Share Service settings are still defined in
/etc/manila/api-paste.ini. Update this file with the following code snippet:
[filter:keystonecontext] paste.filter_factory = manila.api.middleware.auth:ManilaKeystoneContext.factory [filter:authtoken] paste.filter_factory = keystoneclient.middleware.auth_token:filter_factory service_protocol = http service_host = localhost service_port = 5000 auth_host = localhost auth_port = 35357 auth_protocol = http admin_tenant_name = services admin_user = manila admin_password = MANILAPASS #signing_dir = /var/lib/manila auth_uri=http://CONTROLLERIP:5000/v2.0 #
identity_uri=http://CONTROLLERIP:35357 #
MANILAPASS is the admin password of the manila service user (which you used in Section 13.3, “Create the File Share Service Identity Records”).
| |
CONTROLLERIP is the IP address of the Controller node.
|






Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.