Allow region setting for ironic-neutron-agent

The "os_region" param is missing in the ironic_neutron_agent.ini.j2
file. Without specifying the region, the neutron service will randomly
pick a region for the ironic-neutron-agent. Therefore, a list of
incorrect agents might be created in the neutron database "agents"
table for nodes from other regions. To list all neutron agents, use
'openstack network agent list'.

Change-Id: Idec265230d0ab63b7559d94690c059608dc2617e
Closes-bug: #1853464
This commit is contained in:
Zhuo Zhen 2019-11-19 15:52:26 -06:00
parent e0f4613622
commit 7f457cd928

View File

@ -7,3 +7,4 @@ project_name = service
username = {{ neutron_keystone_user }}
password = {{ neutron_keystone_password }}
os_endpoint_type = internalURL
os_region = {{ openstack_region_name }}