> Hello all,
> I am looking for some help with getting Foreman's DHCP linkage
> functioning. I've got a fresh Ubuntu precise box with foreman installed
> using the release candidate. I used the deb package method with 'precise
> rc', and then ran through the foreman install in quick and simple 'yes'
> I have the foreman-proxy set up for dhcp and ISC DHCP installed and
> running. I have a basic subnet declaration to allow dhcpd to actually
> start. Its my understanding that foreman will use omshell/omapi to
> interact with DHCPd to add Subnets that are defined within foreman to
> DHCP. Whenever making any changes modifications to a host's subnet
> setting, I'm getting log entries with failures. I've got a dhcp helper
> set up on different subnet pointing through to this box. I see the DHCP
> request hit the box but there is no scope for it to issue PXE boot.
Not quite, Foreman will only use omapi to add reservations for
individual hosts - it requires that the subnet is already defined in
your dhcpd.conf for this to work.
> Log File (production.log):
> Failed to fetch a free IP from our proxy: 404 Resource Not Found: Subnet
> 126.96.36.199 not found
> D, [2013-06-11T23:56:04.025315 #2368] DEBUG – : Reading config file
> D, [2013-06-11T23:56:04.025649 #2368] DEBUG – : Loading subnets for
> D, [2013-06-11T23:56:04.025903 #2368] DEBUG – : Added
> 10.250.50.0/255.255.255.0 to 127.0.0.1
> E, [2013-06-11T23:56:04.026293 #2368] ERROR – : Subnet 188.8.131.52 not
I think you need to add 184.108.40.206 to your dhcpd.conf if you want to
serve this network, Foreman won't do it.
···On 12/06/13 05:08, firstname.lastname@example.org wrote:
Red Hat Engineering