Project

General

Profile

Bug #28330

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

Added by Lukas Zapletal 8 months ago. Updated 8 months ago.

Status:
Closed
Priority:
Normal
Category:
Discovery plugin
Target version:
Difficulty:
Triaged:
Yes
Bugzilla link:

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

Related to Discovery - Bug #16143: Discovered host IP address is not changed to fall within the subnet rangeClosed

Associated revisions

Revision d1c5199c (diff)
Added by Lukas Zapletal 8 months ago

Fixes #28330 - reboot/kexec use old IP address

History

#1 Updated by The Foreman Bot 8 months 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 8 months 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 8 months ago

  • Fixed in Releases Discovery Plugin 16.0 added

#4 Updated by Anonymous 8 months ago

  • Status changed from Ready For Testing to Closed

Also available in: Atom PDF