Actions
Feature #17533
closedUsing a bonded interface as provision interface should provision DHCP for all child macs as well
Description
The intention is to be able to set a bond as a provision interface and provision a host. A dhcp record should be set for all mac addresses so that whatever physical interface the host tried to pxe boot from, the host installs correctly.
Updated by Timo Goebel almost 8 years ago
- Related to Bug #9487: Unable to bond primary interface on provisioning added
Updated by The Foreman Bot over 7 years ago
- Status changed from New to Ready For Testing
- Pull request https://github.com/theforeman/foreman/pull/4129 added
Updated by Timo Goebel over 7 years ago
- Related to Feature #17856: SmartProxy should support multiple dhcp reservations for the same ip address added
Updated by Timo Goebel over 7 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset f6c313fb9c2c90d36d610ac2a2d67c98c51658bd.
Updated by Dominic Cleal over 7 years ago
- Translation missing: en.field_release set to 209
Updated by Dominic Cleal over 7 years ago
- Related to Feature #19279: Using a bonded bridge as provision interface should provision DHCP for all child macs as well added
Updated by Lukas Zapletal about 6 years ago
- Triaged set to No
Just for the record, this change appears to break older smart-proxy versions with MS DHCP provider. For googlers, symptoms are::
I, [2018-08-09T18:48:22.772187 #13384] INFO -- : Added DHCP reservation for myserver1.example.com (10.90.56.166 / 00:0a:f7:dd:11:42) D, [2018-08-09T18:48:22.772187 #13384] DEBUG -- : key: :hostname D, [2018-08-09T18:48:22.772187 #13384] DEBUG -- : executing: c:\windows\sysnative\cmd.exe /c c:\Windows\System32\netsh.exe -c dhcp server 127.0.0.1 scope 10.90.56.0 set reservedoptionvalue 10.90.56.166 12 String "myserver1.example.com" D, [2018-08-09T18:48:22.850310 #13384] DEBUG -- : key: "nextServer" D, [2018-08-09T18:48:22.850310 #13384] DEBUG -- : executing: c:\windows\sysnative\cmd.exe /c c:\Windows\System32\netsh.exe -c dhcp server 127.0.0.1 scope 10.90.56.0 set reservedoptionvalue 10.90.56.166 66 String "10.90.4.100" D, [2018-08-09T18:48:22.912817 #13384] DEBUG -- : key: "related_macs" E, [2018-08-09T18:48:22.912817 #13384] ERROR -- : undefined method `[]' for nil:NilClass D, [2018-08-09T18:48:22.912817 #13384] DEBUG -- : C:/SmartProxy/modules/dhcp/providers/server/native_ms.rb:57:in `addRecord' C:/SmartProxy/modules/dhcp/providers/server/native_ms.rb:44:in `each' C:/SmartProxy/modules/dhcp/providers/server/native_ms.rb:44:in `addRecord' C:/SmartProxy/modules/dhcp/dhcp_api.rb:96:in `POST /:network'
https://community.theforeman.org/t/unable-to-add-host-via-dhcp/10717/2
Actions