372e991bec
As described here: https://github.com/openstack/keystone/blob/master/keystone/resource/core.py#L841 https://github.com/openstack/keystone/blob/master/keystone/conf/identity.py#L21 * default project domain name MUST be named 'Default' * default project domain id MUST be named 'default' * default project user name MUST be named 'Default' * default project user id MUST be named 'default' Change-Id: I610a0416647fdea31bb04889364da5395d8c8d74
87 lines
3.6 KiB
Django/Jinja
87 lines
3.6 KiB
Django/Jinja
[DEFAULT]
|
|
{% if manila_enabled_backends %}
|
|
enabled_share_backends = {{ manila_enabled_backends|map(attribute='name')|join(',') }}
|
|
{% endif %}
|
|
|
|
default_share_type = default_share_type
|
|
|
|
[cinder]
|
|
auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
|
|
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
project_domain_id = {{ default_project_domain_id }}
|
|
user_domain_id = {{ default_user_domain_id }}
|
|
region_name = {{ openstack_region_name }}
|
|
endpoint_type = internalURL
|
|
project_name = service
|
|
username = cinder
|
|
password = {{ cinder_keystone_password }}
|
|
|
|
memcache_security_strategy = ENCRYPT
|
|
memcache_secret_key = {{ memcache_secret_key }}
|
|
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
[nova]
|
|
auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
|
|
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
project_domain_id = {{ default_project_domain_id }}
|
|
user_domain_id = {{ default_user_domain_id }}
|
|
region_name = {{ openstack_region_name }}
|
|
endpoint_type = internalURL
|
|
project_name = service
|
|
username = {{ nova_keystone_user }}
|
|
password = {{ nova_keystone_password }}
|
|
|
|
memcache_security_strategy = ENCRYPT
|
|
memcache_secret_key = {{ memcache_secret_key }}
|
|
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
[neutron]
|
|
url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ neutron_server_port }}
|
|
uth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
|
|
auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }}
|
|
auth_type = password
|
|
project_domain_id = {{ default_project_domain_id }}
|
|
user_domain_id = {{ default_user_domain_id }}
|
|
region_name = {{ openstack_region_name }}
|
|
endpoint_type = internalURL
|
|
project_name = service
|
|
username = {{ neutron_keystone_user }}
|
|
password = {{ neutron_keystone_password }}
|
|
|
|
memcache_security_strategy = ENCRYPT
|
|
memcache_secret_key = {{ memcache_secret_key }}
|
|
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
|
|
|
{% if enable_manila_backend_generic | bool %}
|
|
[generic]
|
|
share_driver = manila.share.drivers.generic.GenericShareDriver
|
|
{% if neutron_plugin_agent == "openvswitch" %}
|
|
interface_driver = manila.network.linux.interface.OVSInterfaceDriver
|
|
{% elif neutron_plugin_agent == "linuxbridge" %}
|
|
interface_driver = manila.network.linux.interface.BridgeInterfaceDriver
|
|
{% endif %}
|
|
|
|
driver_handles_share_servers = True
|
|
|
|
service_instance_password = {{ manila_service_instance_password }}
|
|
service_instance_user = {{ manila_service_instance_user }}
|
|
service_image_name = manila-service-image
|
|
|
|
share_backend_name = GENERIC
|
|
{% endif %}
|
|
|
|
{% if enable_manila_backend_hnas | bool %}
|
|
[hnas1]
|
|
share_backend_name = HNAS1
|
|
share_driver = manila.share.drivers.hitachi.hnas.driver.HitachiHNASDriver
|
|
driver_handles_share_servers = False
|
|
hitachi_hnas_ip = {{ hnas_ip }}
|
|
hitachi_hnas_user = {{ hnas_user }}
|
|
hitachi_hnas_password = {{ hnas_password }}
|
|
hitachi_hnas_evs_id = {{ hnas_evs_id }}
|
|
hitachi_hnas_evs_ip = {{ hnas_evs_ip }}
|
|
hitachi_hnas_file_system_name = {{ hnas_file_system_name }}
|
|
{% endif %}
|