Bug #28330
Reboot/kexec is ussed against new (reserved) IP address
Status:
Closed
Priority:
Normal
Assignee:
Category:
Discovery plugin
Target version:
Fixed in Releases:
Found in Releases:
Description
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.
Related issues
Associated revisions
History
#1
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman_discovery/pull/492 added
#2
Updated by Lukas Zapletal over 2 years ago
- Related to Bug #16143: Discovered host IP address is not changed to fall within the subnet range added
#3
Updated by The Foreman Bot over 2 years ago
- Fixed in Releases Discovery Plugin 16.0 added
#4
Updated by Anonymous over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman_discovery|d1c5199c36b5c2573b76ece8e79df2d7ff55e9b6.
#5
Updated by Lukas Zapletal almost 2 years ago
- Related to Bug #30478: Kexec does not handle NEW/OLD discovered IP added
Fixes #28330 - reboot/kexec use old IP address