Project

General

Profile

Actions

Bug #10307

closed

Editing a host with "unattended: false" set in settings.yaml results in error.

Added by Jon Mackley about 9 years ago. Updated almost 6 years ago.

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

Description

Error is: undefined local variable or method `fqdn' for #<Host::Managed:>

Full Trace:
NameError
undefined local variable or method `fqdn' for #<Host::Managed:>
app/models/host/managed.rb:782:in `lookup_value_match'
app/models/concerns/host_common.rb:33:in `block (2 levels) in '
app/views/common_parameters/_puppetclasses_parameters.html.erb:2:in `_app_views_common_parameters__puppetclasses_parameters_html_erb__2900079543544965198_75854480'
app/views/hosts/_form.html.erb:98:in `block (2 levels) in app_views_hosts_form_html_erb__4535273548698332454_70156930040660'
app/helpers/layout_helper.rb:273:in `form_for'
app/views/hosts/_form.html.erb:8:in `block in app_views_hosts_form_html_erb__4535273548698332454_70156930040660'
app/models/taxonomy.rb:61:in `block (2 levels) in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:147:in `as_location'
app/models/taxonomy.rb:60:in `block in as_taxonomy'
app/models/concerns/foreman/thread_session.rb:112:in `as_org'
app/models/taxonomy.rb:59:in `as_taxonomy'
app/views/hosts/_form.html.erb:6:in `_app_views_hosts__form_html_erb__4535273548698332454_70156930040660'
app/views/hosts/edit.html.erb:9:in `_app_views_hosts_edit_html_erb___363706692113989275_70156930032900'
app/controllers/concerns/application_shared.rb:13:in `set_timezone'
app/models/concerns/foreman/thread_session.rb:32:in `clear_thread'
lib/middleware/catch_json_parse_errors.rb:9:in `call'


Related issues 4 (0 open4 closed)

Related to Foreman - Bug #10379: Facts import error: no superclass method `setup_clone' for #<Host::Managed...>ClosedMarek Hulán05/05/2015Actions
Related to Foreman - Refactor #10413: Reimplement !unattended mode support as mainline featureClosedTomer BriskerActions
Related to Foreman - Bug #10420: Using Run Puppet button fails on Foreman 1.8.0ClosedDominic Cleal05/07/2015Actions
Related to Foreman - Bug #10491: cant create host on 1.8 (unattended: false)Duplicate05/13/2015Actions
Actions

Also available in: Atom PDF