Fix fast-track deployment after discovery/inspection

The inspection ramdisk configuration does not include ipa-api-url,
so deployment/cleaning won't start without a reboot.

Change-Id: I90149a522d6879bd5c2271bf3265ca7897233e1b
This commit is contained in:
Dmitry Tantsur 2020-06-16 16:52:21 +02:00
parent 2dab2f5ad9
commit 835a4873c0
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,6 @@ dhcp || reboot
goto introspect
:introspect
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:5050/v1/continue systemd.journald.forward_to_console=yes BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0 {{ inspector_extra_kernel_options | default('') }} initrd={{ ipa_ramdisk_url | basename }}
kernel {{ ipa_kernel_url }} ipa-inspection-callback-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:5050/v1/continue {% if fast_track | bool %}ipa-api-url=http://{{ hostvars[inventory_hostname]['ansible_' + ans_network_interface ]['ipv4']['address'] }}:6385{% endif %} systemd.journald.forward_to_console=yes BOOTIF=${mac} nofb nomodeset vga=normal console=ttyS0 {{ inspector_extra_kernel_options | default('') }} initrd={{ ipa_ramdisk_url | basename }}
initrd {{ ipa_ramdisk_url }}
boot

View File

@ -0,0 +1,5 @@
---
fixes:
- |
Fixes fast-track deployment after inspection/discovery by providing the
correct ironic API URL to the ramdisk.