Project

General

Profile

Actions

Support #5152

closed

Unable to provision new host

Added by Benjamin Miller about 10 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web Interface
Target version:
-
Triaged:
Fixed in Releases:
Found in Releases:

Description

I work with AMS and recently was granted access to provision new hosts. However, whenever I click the New Host button, I receive the following error (full trace follows):

NoMethodError
undefined method `id' for nil:NilClass
app/views/hosts/_form.html.erb:33:in `block (2 levels) in app_views_hosts_form_html_erb__2217089358098257081_70270736818460'
app/helpers/layout_helper.rb:205:in `form_for'
app/views/hosts/_form.html.erb:7:in `block in app_views_hosts_form_html_erb__2217089358098257081_70270736818460'
app/models/taxonomy.rb:55:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:143:in `as_location'
app/models/taxonomy.rb:54:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:108:in `as_org'
app/models/taxonomy.rb:53:in `as_taxonomy'
app/views/hosts/_form.html.erb:5:in `_app_views_hosts__form_html_erb__2217089358098257081_70270736818460'
app/views/hosts/new.html.erb:3:in `_app_views_hosts_new_html_erb___2770569196711027135_70270734889580'
app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'

Is there something else that I should do before I am able to provision hosts? Please let me know if you have any questions!

Thanks,
Ben

Actions

Also available in: Atom PDF