Fix ironic-api listen address
Set host_ip to internal address for ironic-api service Change-Id: I001a422a0474e88c1433a7b3ab5e005f2b8c337c Closes-Bug: #1518336
This commit is contained in:
parent
8dd2d97c13
commit
88c7ad1f09
@ -4,6 +4,11 @@ verbose = {{ ironic_logging_verbose }}
|
||||
|
||||
admin_token = {{ keystone_admin_token }}
|
||||
|
||||
{% if service_name == 'ironic-api' %}
|
||||
[api]
|
||||
host_ip = {{ hostvars[inventory_hostname]['ansible_' + api_interface]['ipv4']['address'] }}
|
||||
{% endif %}
|
||||
|
||||
[database]
|
||||
connection = mysql://{{ ironic_database_user }}:{{ ironic_database_password }}@{{ ironic_database_address }}/{{ ironic_database_name }}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user