Project

General

Profile

Feature #11676

Proxy cannot be configured with remote DHCP server

Added by Lukas Zapletal almost 4 years ago. Updated about 1 year ago.

Status:
Closed
Priority:
Normal
Category:
DHCP
Target version:
Difficulty:
trivial
Triaged:
Bugzilla link:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

Easy help. I will add an option.


Related issues

Related to Installer - Feature #11781: Add smart-proxy 1.10 configuration optionsClosed2015-09-11

Associated revisions

Revision 77e0262c (diff)
Added by Lukas Zapletal almost 4 years ago

Fixes #11676 - added dhcp_server option

History

#1 Updated by The Foreman Bot almost 4 years ago

  • Status changed from New to Ready For Testing
  • Pull request https://github.com/theforeman/smart-proxy/pull/316 added
  • Pull request deleted ()

#2 Updated by Lukas Zapletal almost 4 years ago

  • Bugzilla link set to 1259698

#3 Updated by Dmitri Dolguikh almost 4 years ago

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

#4 Updated by Dominic Cleal almost 4 years ago

  • Legacy Backlogs Release (now unused) set to 63

#5 Updated by Dominic Cleal almost 4 years ago

  • Tracker changed from Bug to Feature

#6 Updated by Dominic Cleal almost 4 years ago

  • Related to Feature #11781: Add smart-proxy 1.10 configuration options added

#7 Updated by Lukas Zapletal almost 4 years ago

WORKAROUND: Edit /usr/share/foreman-proxy/modules/dhcp/dhcp_api.rb and replace the IP address on the line 17 to match your DHCP external service:

@server = Proxy::DHCP::ISC.new(:name => "127.0.0.1",

Then restart foreman-proxy service.

#8 Updated by Konstantin Orekhov almost 4 years ago

While this is certainly a useful thing to have, how does one go about the fact that *.conf files from ISC DHCP are expected to be locally available to Foreman smart-proxy (to read all subnets info since it is not available over OMAPI)?

NFS or rsync are proposed to be used for that? Something else?

#9 Updated by Dominic Cleal almost 4 years ago

Yes, NFS I think. Lukas wrote up some documentation on the foreman-dev list, but it hasn't been submitted as part of our manual. I put NFS as the recommendation in the manual for the :dhcp_server setting: http://theforeman.org/manuals/1.10/index.html#4.3.4DHCP

#10 Updated by Konstantin Orekhov over 3 years ago

One little thing, guys. It appears that this new option did not make it into foreman-installer documentation at http://theforeman.org/manuals/1.10/index.html#3.2.2InstallerOptions

--foreman-proxy-dhcp-server

It is there in "foreman-installer --help" output though.

Thanks!

Also available in: Atom PDF