Project

General

Profile

Actions

Feature #9266

open

Manage DHCP server configured subnets

Added by Nux Ro almost 10 years ago. Updated over 9 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
DHCP
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Hello,

Where we want to use Foreman each server gets its own VLAN and subnet and we do DHCP relay on the switch port to foreman-proxy.
The problem we encounter is that subnets we add (so new hosts can use them) do not appear in the dhcpd.conf. If I create entries for these subnets manually then it all seems to work smoothly.

I know Dominic is trying to work on a fix1, but either I did not apply it correctly, or it doesn't work, in the end dhcpd.conf was still untouched.
It would be fairly simple to create a bash script and dump foreman.subnets into dhcpd.conf, but it would be quite ugly.

Suggestions?

I'm on CentOS 7 and Foreman 1.7.2 installed via foreman-installer.

[1] https://github.com/theforeman/puppet-dhcp/pull/31


Related issues 3 (2 open1 closed)

Related to Installer - Feature #4994: create a subnet in foreman once a dhcp server is configuredNew04/01/2014Actions
Related to Foreman - Feature #23180: Add info box on New Subnet page about config changeNewIdo Kanner04/09/2018Actions
Has duplicate Foreman - Feature #11151: have Foreman web ui edit dhcpd.conf automatically when adding a subnetDuplicate07/19/2015Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Tracker changed from Bug to Feature
  • Subject changed from Subnets do not get an entry in the DHCPD configuration and are hence unusable to Manage DHCP server configured subnets
  • Priority changed from High to Normal
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Related to Feature #4994: create a subnet in foreman once a dhcp server is configured added
Actions #3

Updated by Dominic Cleal over 9 years ago

  • Has duplicate Feature #11151: have Foreman web ui edit dhcpd.conf automatically when adding a subnet added
Actions #4

Updated by Marek Hulán over 9 years ago

I agree that syncing subnets is an interesting addition. IMHO before we start working on that we should refactor existing orchestration so it's more reliable and we should introduce some unified way of having things "managed". The managed flag on host and interface already covers multiple things so having some "sync" kind of flag for all objects that runs orchestration would make sense to me.

Actions #5

Updated by Marek Hulán over 6 years ago

  • Related to Feature #23180: Add info box on New Subnet page about config change added
Actions

Also available in: Atom PDF