Add [nova] section to ironic.conf

In the Train cycle, ironic added a [nova] section to its configuration.
This is used to configure access to Nova API, for sending power state
callbacks.

This change adds the [nova] section to ironic.conf.

Change-Id: Ib891af1db2a2c838c887e858ea0721f5e6a4fab0
Closes-Bug: #1843070
This commit is contained in:
Mark Goddard 2019-09-06 17:00:21 +01:00
parent 3da0531906
commit 8489a753ba

View File

@ -109,6 +109,19 @@ valid_interfaces = internal
cleaning_network = {{ ironic_cleaning_network }}
{% endif %}
{% if enable_nova | bool %}
[nova]
auth_url = {{ keystone_admin_url }}
auth_type = password
project_domain_id = default
user_domain_id = default
project_name = service
username = {{ ironic_keystone_user }}
password = {{ ironic_keystone_password }}
region_name = {{ openstack_region_name }}
valid_interfaces = internal
{% endif %}
[inspector]
{% if enable_keystone | bool %}
auth_url = {{ keystone_admin_url }}