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
(cherry picked from commit 9e12acb3b8)
This commit is contained in:
James Page 2016-06-24 08:33:39 +01:00
parent 16c7e1a6a1
commit e6e2fcb97b
1 changed files with 1 additions and 0 deletions

View File

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