Project

General

Profile

Actions

Feature #17533

closed

Using a bonded interface as provision interface should provision DHCP for all child macs as well

Added by Timo Goebel over 7 years ago. Updated over 5 years ago.

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

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.


Related issues 3 (1 open2 closed)

Related to Foreman - Bug #9487: Unable to bond primary interface on provisioningResolved02/20/2015Actions
Related to Smart Proxy - Feature #17856: SmartProxy should support multiple dhcp reservations for the same ip addressClosedTimo Goebel12/27/2016Actions
Related to Foreman - Feature #19279: Using a bonded bridge as provision interface should provision DHCP for all child macs as wellNew04/16/2017Actions
Actions #1

Updated by Timo Goebel over 7 years ago

  • Related to Bug #9487: Unable to bond primary interface on provisioning added
Actions #2

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
Actions #3

Updated by Timo Goebel over 7 years ago

  • Related to Feature #17856: SmartProxy should support multiple dhcp reservations for the same ip address added
Actions #4

Updated by Timo Goebel about 7 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #5

Updated by Dominic Cleal about 7 years ago

  • translation missing: en.field_release set to 209
Actions #6

Updated by Dominic Cleal about 7 years ago

  • Related to Feature #19279: Using a bonded bridge as provision interface should provision DHCP for all child macs as well added
Actions #7

Updated by Lukas Zapletal over 5 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

Also available in: Atom PDF