Project

General

Profile

Actions

Bug #6379

open

500 ISE on creating a new host: Operation FAILED: can't convert nil into String

Added by Dominic Cleal almost 10 years ago. Updated almost 8 years ago.

Status:
New
Priority:
Normal
Assignee:
-
Category:
Host creation
Target version:
-
Difficulty:
Triaged:
Fixed in Releases:
Found in Releases:

Description

Cloned from https://bugzilla.redhat.com/show_bug.cgi?id=1113014
Description of problem:
I was trying to create a new host via UI and filled the form with all necessary info. But when I submit the form the firebug raised following error:

"NetworkError: 500 Internal Server Error - https://dhcp207-190.lab.eng.pnq.redhat.com/hosts/shost.katellolabs.org/vm"
vm
ReferenceError: _ is not defined

snippet from production.log ============================
Processing by HostsController#vm as HTML
Parameters: {"id"=>"shost.katellolabs.org"}
Operation FAILED: can't convert nil into String
Rendered common/500.html.erb (10.2ms)
Completed 500 Internal Server Error in 46ms (Views: 15.4ms | ActiveRecord: 3.8ms)

Version-Release number of selected component (if applicable):
sat6 beta snap10 compose3

How reproducible:
tried once

Steps to Reproduce:
1. created new hostgroup and selected activation-key
2. filled up "New Host" form first with hostgroup and then unselect it
3. Filled all other details and submit the form

Actual results:
Processing by HostsController#vm as HTML
Parameters: {"id"=>"shost.katellolabs.org"}
Operation FAILED: can't convert nil into String
Rendered common/500.html.erb (10.2ms)
Completed 500 Internal Server Error in 46ms (Views: 15.4ms | ActiveRecord: 3.8ms)

Expected results:
host should be created successfully

Additional info:


Related issues 2 (2 open0 closed)

Blocked by Foreman - Bug #6380: VM not created when resubmitting new host form after orchestration failureAssigned06/25/2014Actions
Blocked by Foreman - Bug #6381: TFTP orchestration checks applicability of medium to OS lateNew06/25/2014Actions
Actions #1

Updated by Dominic Cleal almost 10 years ago

  • Blocked by Bug #6380: VM not created when resubmitting new host form after orchestration failure added
Actions #2

Updated by Dominic Cleal almost 10 years ago

  • Blocked by Bug #6381: TFTP orchestration checks applicability of medium to OS late added
Actions #3

Updated by Dominic Cleal almost 10 years ago

  • Tracker changed from Bug to Tracker
  • Category set to Host creation
Actions #4

Updated by Anonymous almost 10 years ago

  • Status changed from New to Assigned
  • Assignee set to Anonymous
Actions #5

Updated by Justin Sherrill almost 10 years ago

  • Bugzilla link deleted (https://bugzilla.redhat.com/show_bug.cgi?id=1113014)

Moved the downstream bz to another issue related to the actual error (and not handling of the error)

Actions #6

Updated by Dominic Cleal almost 8 years ago

  • Tracker changed from Tracker to Bug
Actions #7

Updated by Anonymous almost 8 years ago

  • Status changed from Assigned to New
Actions

Also available in: Atom PDF