Project

General

Profile

Actions

Bug #28330

closed

Reboot/kexec is ussed against new (reserved) IP address

Added by Lukas Zapletal over 4 years ago. Updated over 4 years ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Yes
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 2 (0 open2 closed)

Related to Discovery - Bug #16143: Discovered host IP address is not changed to fall within the subnet rangeClosedLukas ZapletalActions
Related to Discovery - Bug #30478: Kexec does not handle NEW/OLD discovered IPResolvedLukas ZapletalActions
Actions

Also available in: Atom PDF