Project

General

Profile

Actions

Bug #5701

closed

Creating a host without OS set gives undefined method `boot_filename' exception

Added by Justin Bovee about 10 years ago. Updated almost 6 years ago.

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

Description

Attached foreman-debug
Bug Trace: http://pastebin.com/YfR58LXG

CentOS release 6.5 (Final)

Versions
foreman-1.5.0-1.el6.noarch
ruby193-rubygem-foreman_discovery-1.3.0-0.1.rc2.el6.noarch
ruby193-rubygem-staypuft-0.0.12-1.el6.noarch

host was added through discovery process.
I attempted to use Staypuft to assign it as an OpenStack controller. It responded with "unassigned <hostname>"
Host no longer was listed under the discovery page but under the host page. Host was not managed.

Attempted to edit values on host or delete and received the error message.
Remove DHCP Settings for 14feb5200686 task failed with the following error: undefined method `boot_filename' for nil:NilClass/usr/share/foreman/app/models/concerns/orchestration/dhcp.rb:60:in `dhcp_attrs'

Any assistance would be appreciated. Thank you!


Files

foreman-debug-oASL8.tar.xz foreman-debug-oASL8.tar.xz 475 KB Foreman-debug Justin Bovee, 05/13/2014 07:15 PM

Related issues 3 (0 open3 closed)

Related to Discovery - Tracker #8332: [Discovery 2.0] Usability alignment and autoprovisioningResolved11/10/2014

Actions
Related to Foreman - Bug #9634: Creating a host via API without OS set gives undefined method `boot_filename' exceptionClosedOri Rabin03/04/2015Actions
Is duplicate of Discovery - Bug #7724: foreman discovery bugDuplicate09/29/2014Actions
Actions

Also available in: Atom PDF