Bug #10020
closedSmart Proxy DHCP does not set option 66 and 67 (nextServer, filename) on new DHCP Record creation
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