Add os_region_name to Trove configuration files

By default Trove is looking for "RegionOne", if the region is
different the os_region_name parameter needs to be defined withing
the Trove configuration files.

To solve this issue, we need to set "os_region_name" option in
trove-api, trove-taskmanager and trove-conductor configuration.

os_region_name = {{ openstack_region_name }}

Change-Id: I1397046d2c88ba50d01a65c48e021d3535fe39d2
Closes-bug: #1743402
This commit is contained in:
goldyfruit 2018-01-15 10:33:49 -05:00
parent 95cd334707
commit 474b15dc5b
3 changed files with 6 additions and 0 deletions

View File

@ -8,6 +8,8 @@ control_exchange = trove
transport_url = {{ rpc_transport_url }}
os_region_name = {{ openstack_region_name }}
[oslo_messaging_notifications]
transport_url = {{ notify_transport_url }}

View File

@ -12,6 +12,8 @@ transport_url = {{ rpc_transport_url }}
trove_auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
os_region_name = {{ openstack_region_name }}
nova_compute_endpoint_type = internalURL
neutron_endpoint_type = internalURL
swift_endpoint_type = internalURL

View File

@ -14,6 +14,8 @@ transport_url = {{ rpc_transport_url }}
trove_auth_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3
os_region_name = {{ openstack_region_name }}
nova_compute_endpoint_type = internalURL
neutron_endpoint_type = internalURL
swift_endpoint_type = internalURL