
There is little material on manila in the centralized Install Guide to migrate as outlined in the migration spec [1], so copy from our local install guide. After we complete this migration, we can remove the job that builds the local install guide and remove it from the manila tree. [1] https://specs.openstack.org/openstack/docs-specs/specs/pike/os-manuals-migration.html Change-Id: Ibe3588c3f4560c037cf109058fc357234e70a846 Partial-Bug: #1706181 Needed-By: I04237021943bb7501acb9cfb7252be2cbf07ac4b Depends-On: I7924d94b82e7c8d9716bad7a219fc38c57970773 Depends-On: Ia750cb049c0f53a234ea70ce1f2bbbb7a2aa9454
2.3 KiB
- Complete the rest of the configuration in
manila.conf
:In the
[DEFAULT]
section, configureRabbitMQ
message queue access:[DEFAULT] ... transport_url = rabbit://openstack:RABBIT_PASS@controller
Replace
RABBIT_PASS
with the password you chose for theopenstack
account 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.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 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_PASS
Replace
MANILA_PASS
with the password you chose for themanila
user in the Identity service.In the
[DEFAULT]
section, configure themy_ip
option to use the management interface IP address of the controller node:[DEFAULT] ... my_ip = 10.0.0.11
In the
[oslo_concurrency]
section, configure the lock path:[oslo_concurrency] ... lock_path = /var/lock/manila