Add region information to nova section

In multi-region clouds, Neutron needs to understand which Nova
region it should send notification events to, otherwise its not
able to consistently resolve the correct Nova API endpoint to
use to send port creation notifications to.

Add region_name to nova section based on configuration of charm.

Closes-Bug: 1594602

Change-Id: If4d6ba41a064bc93eaa32efcd524fea6f0891275
This commit is contained in:
James Page 2016-06-24 08:33:39 +01:00
parent 417e0e4f38
commit 9e12acb3b8

View File

@ -1,5 +1,6 @@
[nova]
auth_section = keystone_authtoken
region_name = {{ region }}
{% if use_internal_endpoints -%}
endpoint_type = internal
{% endif %}