Project

General

Profile

Bug #1001

Foreman insists on being able to detect a PXE boot server

Added by Anonymous about 8 years ago. Updated about 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
DHCP
Target version:
Difficulty:
Triaged:
No
Bugzilla link:
Pull request:
Team Backlog:
Fixed in Releases:
Found in Releases:

Description

When configuring foreman explicitly without PXE, adding a host is not possible because the bootserver method in app/models/orchestration/dhcp.rb fails to detect a default bootserver. The error in the Web UI is:

"# failed to detect boot server: undefined method `bootServer' for nil:NilClass"

Changing the bootserver method to:

def bootserver
return "127.0.0.1"

made the error go away. Thanks to Ohad for the debugging.

Associated revisions

Revision b79bd65c (diff)
Added by Ohad Levy about 8 years ago

fixes #1001, foreman should not use dhcp next server when tftp is not used

History

#1 Updated by Ohad Levy about 8 years ago

  • Category set to DHCP
  • Assignee set to Ohad Levy
  • Target version set to 0.4

#2 Updated by Ohad Levy about 8 years ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF