From b153fa1c4e2ecb9f10580efdd11b2005be31d13b Mon Sep 17 00:00:00 2001 From: Mark Goddard Date: Thu, 7 Sep 2017 16:58:51 +0000 Subject: [PATCH] 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. --- ansible/roles/kolla-openstack/templates/ironic.conf.j2 | 5 ----- 1 file changed, 5 deletions(-) diff --git a/ansible/roles/kolla-openstack/templates/ironic.conf.j2 b/ansible/roles/kolla-openstack/templates/ironic.conf.j2 index 0f9d9531c..0994215dd 100644 --- a/ansible/roles/kolla-openstack/templates/ironic.conf.j2 +++ b/ansible/roles/kolla-openstack/templates/ironic.conf.j2 @@ -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 }}