Based on the change in Keystone Install Guide [1], this patch replace port 35357 with 5000 for "auth_url" in docs. For more details, please check similar changes which have been done on other projects: Nova [2], Neutron [3], Cinder [4], Glance [5]. [1] https://review.openstack.org/#/c/541857 [2] https://review.openstack.org/#/c/562812 [3] https://review.openstack.org/#/c/566491 [4] https://review.openstack.org/#/c/565464 [5] https://review.openstack.org/#/c/558932 Change-Id: Ied73662270c56bbeb3a09ae2ad7965de58f6ef8d
2.9 KiB
Configure components
- Edit the
/etc/manila/manila.conffile and complete the following actions:In the
[DEFAULT]section, enable the generic driver and the NFS protocol:[DEFAULT] ... enabled_share_backends = generic enabled_share_protocols = NFSNote
Back end names are arbitrary. As an example, this guide uses the name of the driver.
In the
[neutron],[nova], and[cinder]sections, enable authentication for those services:[neutron] ... url = http://controller:9696 www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default region_name = RegionOne project_name = service username = neutron password = NEUTRON_PASS [nova] ... www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default region_name = RegionOne project_name = service username = nova password = NOVA_PASS [cinder] ... www_authenticate_uri = http://controller:5000 auth_url = http://controller:5000 memcached_servers = controller:11211 auth_type = password project_domain_name = Default user_domain_name = Default region_name = RegionOne project_name = service username = cinder password = CINDER_PASSIn the
[generic]section, configure the generic driver:[generic] share_backend_name = GENERIC share_driver = manila.share.drivers.generic.GenericShareDriver driver_handles_share_servers = True service_instance_flavor_id = 100 service_image_name = manila-service-image service_instance_user = manila service_instance_password = manila interface_driver = manila.network.linux.interface.BridgeInterfaceDriverNote
You can also use SSH keys instead of password authentication for service instance credentials.
Important
The
service_image_name,service_instance_flavor_id,service_instance_userandservice_instance_passwordare with reference to the service image that is used by the driver to create share servers. A sample service image for use with thegenericdriver is available in themanila-image-elementsproject. Its creation is explained in the post installation steps (See:post-install).