Project

General

Profile

Actions

Bug #9896

closed

TFTP Servername can be set incorrectly

Added by Stephen Benjamin about 9 years ago. Updated about 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Foreman modules
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

/etc/foreman-proxy/settings.d/tftp.yaml has tftp_servername set always, but the logic in the foreman-proxy module looks for ipaddress_eth0, and then if not present, ipaddress.

This totally breaks on el7/newer Fedora, where you're not guaranteed to have eth0 anymore, and if you have something like the "docker0" interface, because then that becomes $::ipaddress. All your hosts next-server is set to the docker0 interface IP.

Why set this parameter tftp_servername at all? Seems to work without it.

Actions #1

Updated by Stephen Benjamin about 9 years ago

  • Bugzilla link set to 1205729
Actions #2

Updated by Dominic Cleal about 9 years ago

Why set this parameter tftp_servername at all? Seems to work without it.

Depends ultimately on the network layout as to whether it's needed. The default could probably be removed though, which would work for simple cases.

Actions #3

Updated by Anonymous about 9 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100
Actions

Also available in: Atom PDF