Upgrade identity v2 to identity v3 API

As of the Queens release, Keystone solely implements the Identity
API v3. Support for Identity API v2.0 has been removed since Queens
in favor of the Identity API v3.

Change-Id: If65b26935e8bd1e6655d84259499f4013762e4e3
Closes-Bug: #1778846
This commit is contained in:
chenxing 2018-06-27 15:31:36 +08:00 committed by Chason Chan
parent b138820bf4
commit 4968508d7f
2 changed files with 10 additions and 4 deletions

View File

@ -9,11 +9,14 @@ plugin=karbor-server-protection-plugin
bank=karbor-swift-bank-plugin
[swift_client]
swift_auth_url={{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v2.0/
swift_auth_version=2
swift_auth_url={{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
swift_auth_version=3
swift_user=admin
swift_key={{ keystone_admin_password }}
swift_tenant_name=admin
swift_project_domain_id = {{ default_project_domain_id }}
swift_user_domain_id = {{ default_user_domain_id }}
[swift_bank_plugin]
lease_expire_window=120

View File

@ -9,11 +9,14 @@ service_provider = LOADBALANCERV2:Haproxy:neutron_lbaas.drivers.haproxy.plugin_d
{% endif %}
[service_auth]
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v2.0
auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
admin_tenant_name = service
admin_user = neutron
admin_password = {{ neutron_keystone_password }}
auth_version = 2
auth_version = 3
region = {{ openstack_region_name }}
endpoint_type = internal
project_domain_id = {{ default_project_domain_id }}
user_domain_id = {{ default_user_domain_id }}
{% endif %}