Project

General

Profile

Actions

Bug #10020

closed

Smart Proxy DHCP does not set option 66 and 67 (nextServer, filename) on new DHCP Record creation

Added by Benjamin Papillon about 9 years ago. Updated almost 6 years ago.

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

Description

Here is the setup :
On CentOS 6 host named foreman, installed with foreman-installer
- Foreman 1.8-RC2 installed
- Smart proxy providing TFTP,DNS,Puppet,PuppetCA.

On Windowns 2008-R2 (AD server)
- Smart proxy 1.8-RC2 from git
- Ruby 1.9.3 has been installed as dependency

Windows Smart Proxy was registered successfully into foreman infrastructure, and DHCP functionality worked well for importing networks.

Networks are configured to use Smart Proxy on foreman host for DNS and TFTP
Networks are configured to use Smart Proxy on Windows host for DHCP

Issue :
- When provisioning a new host, DHCP records are not created with option 66 nor option 67. Option 60 is set as it should.

Setting up the 2 missing DHCP options manually results in a working provisioned installation.

From the smart proxy code source (1.8-stable branch), you can see line 44 of modules/dhcp/providers/server/native_ms.rb, a for/loop that is iterating all options passed to addRecord function.
When I add some logger.debug here, I can see that only option 60 is present in the structure.

Any help welcome :)

Regards,

Benjamin


Related issues 1 (0 open1 closed)

Related to Foreman - Bug #12245: Nic::Bootable should be removedClosedDaniel Lobato Garcia10/21/2015Actions
Actions

Also available in: Atom PDF