Bug #19597

Rename temporary lease hostname

Added by Lukas Zapletal 7 months ago. Updated 6 months ago.

Status:Closed
Priority:Normal
Assigned To:Lukas Zapletal
Category:DHCP
Target version:-
Difficulty: Bugzilla link:
Found in release: Pull request:https://github.com/theforeman/smart-proxy/pull/527
Story points-
Velocity based estimate-
Release1.15.1Release relationshipAuto

Description

I stumbled upon situation during host renaming with libvirt provider when hostname was not passed and it defaulted to '*lease*' which failed for incorrect characters. Apparently * is not allowed there, therefore I renaming this to something that will always work. Also adding MAC address so it's unique hostname.

To reproduce use libvirt provider, create a host in foreman using libvirt provider, then rename the hostname - it conflicts with entry which is created by libvirt itself. That's anoter story, in this patch I just want to fix the "fallback" name.

Associated revisions

Revision 13d1d5dd
Added by Lukas Zapletal 7 months ago

Fixes #19597 - fallback DHCP hostname pattern

History

#1 Updated by The Foreman Bot 7 months ago

  • Status changed from New to Ready For Testing
  • Assigned To set to Lukas Zapletal
  • Pull request https://github.com/theforeman/smart-proxy/pull/527 added

#2 Updated by Anonymous 7 months ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#3 Updated by Daniel Lobato Garcia 6 months ago

  • Release set to 1.15.1

Also available in: Atom PDF