Reboot/kexec is ussed against new (reserved) IP address
With the #16143 change discovery now performs unused_ip call during provisioning. This changes IP address and creates DHCP reservation, however the discovered node still have the old lease. The fix is to use old lease IP to perform reboot or kexec API commands. There could be a race condition when a node already acquired new IP and reconfigured network, for this reason if the first request fails, there is additional second query against the reserved IP just to make sure.
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_discovery|d1c5199c36b5c2573b76ece8e79df2d7ff55e9b6.