Update from this commit https://review.openstack.org/#/c/389971/1 in the openstack-manuals project. Change-Id: I862d3b4e310136c7b9bc151fdfa82b07e8c04978
2.3 KiB
- Complete the rest of the configuration in
manila.conf:In the
[DEFAULT]section, configureRabbitMQmessage queue access:[DEFAULT] ... transport_url = rabbit://openstack:RABBIT_PASS@controllerReplace
RABBIT_PASSwith the password you chose for theopenstackaccount inRabbitMQ.In the
[DEFAULT]section, set the following config values:[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.iniImportant
The
default_share_typeoption 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 asdriver_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:[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_PASSReplace
MANILA_PASSwith the password you chose for themanilauser in the Identity service.In the
[DEFAULT]section, configure themy_ipoption to use the management interface IP address of the controller node:[DEFAULT] ... my_ip = 10.0.0.11In the
[oslo_concurrency]section, configure the lock path:[oslo_concurrency] ... lock_path = /var/lock/manila