Add region support via relation to cloud-controller
This commit is contained in:
parent
2541fac51d
commit
44a31d9023
@ -135,7 +135,9 @@ def get_keystone_conf():
|
||||
"quantum_host": utils.relation_get('quantum_host',
|
||||
unit, relid),
|
||||
"quantum_port": utils.relation_get('quantum_port',
|
||||
unit, relid)
|
||||
unit, relid),
|
||||
"region": utils.relation_get('region',
|
||||
unit, relid)
|
||||
}
|
||||
if None not in conf.itervalues():
|
||||
return conf
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
interface_driver = quantum.agent.linux.interface.OVSInterfaceDriver
|
||||
auth_url = http://{{ keystone_host }}:{{ service_port }}/v2.0
|
||||
auth_region = RegionOne
|
||||
auth_region = {{ region }}
|
||||
admin_tenant_name = {{ service_tenant }}
|
||||
admin_user = {{ service_username }}
|
||||
admin_password = {{ service_password }}
|
||||
|
@ -1,7 +1,7 @@
|
||||
[DEFAULT]
|
||||
debug = True
|
||||
auth_url = http://{{ keystone_host }}:{{ service_port }}/v2.0
|
||||
auth_region = RegionOne
|
||||
auth_region = {{ region }}
|
||||
admin_tenant_name = {{ service_tenant }}
|
||||
admin_user = {{ service_username }}
|
||||
admin_password = {{ service_password }}
|
||||
@ -14,4 +14,4 @@ nova_metadata_port = 8775
|
||||
# shared secret to prevent spoofing. You may select any string for a secret,
|
||||
# but it must match here and in the configuration used by the Nova Metadata
|
||||
# Server. NOTE: Nova uses a different key: quantum_metadata_proxy_shared_secret
|
||||
metadata_proxy_shared_secret = {{ shared_secret }}
|
||||
metadata_proxy_shared_secret = {{ shared_secret }}
|
||||
|
Loading…
Reference in New Issue
Block a user