Advertise internal ironic API to nodes during provisioning
Previously a URL based on the provisioning network IP was being advertised to nodes during provisioning. The issue here is that the API server might not be listening on the provisioning network. Instead we advertise the internal network endpoint and assume that if any routes are required to enable this then they have been created elsewhere.
This commit is contained in:
parent
c60c07b191
commit
b153fa1c4e
@ -22,11 +22,6 @@ enabled_hardware_types: {{ kolla_ironic_enabled_hardware_types | join(',') }}
|
||||
[agent]
|
||||
deploy_logs_local_path = /var/log/kolla/ironic/deploy
|
||||
|
||||
[conductor]
|
||||
{% raw %}
|
||||
api_url = {{ internal_protocol }}://{{ hostvars[inventory_hostname]['ansible_' + provision_interface | replace('-', '_')]['ipv4']['address'] }}:{{ ironic_api_port }}
|
||||
{% endraw %}
|
||||
|
||||
[deploy]
|
||||
{% if kolla_ironic_default_boot_option %}
|
||||
default_boot_option = {{ kolla_ironic_default_boot_option }}
|
||||
|
Loading…
Reference in New Issue
Block a user