Actions
Bug #5258
closedCan't edit a host, suspect its due to an IPMC/BMC interface
Description
Have a working host with 3 NIC's. Two are normal interface, one is a BMC interface (IPMI). When I go to edit the host definition I get a NoMethodError.
This is with Foreman 1.5.0 rc1
NoMethodError undefined method `title' for #<Subnet:0x00000009ea04f8> app/helpers/layout_helper.rb:110:in `block in select_f' app/helpers/layout_helper.rb:157:in `block (3 levels) in field' app/helpers/layout_helper.rb:156:in `block (2 levels) in field' app/helpers/layout_helper.rb:149:in `block in field' app/helpers/layout_helper.rb:148:in `field' app/helpers/layout_helper.rb:108:in `select_f' app/views/hosts/_interfaces.html.erb:13:in `block in _app_views_hosts__interfaces_html_erb___2329083320204774303_78228160' app/views/hosts/_interfaces.html.erb:3:in `_app_views_hosts__interfaces_html_erb___2329083320204774303_78228160' app/views/hosts/_unattended.html.erb:31:in `block (2 levels) in _app_views_hosts__unattended_html_erb__3358788842323718793_70200440300620' app/views/hosts/_unattended.html.erb:30:in `block in _app_views_hosts__unattended_html_erb__3358788842323718793_70200440300620' app/views/hosts/_unattended.html.erb:15:in `_app_views_hosts__unattended_html_erb__3358788842323718793_70200440300620' app/views/hosts/_form.html.erb:92:in `block (2 levels) in _app_views_hosts__form_html_erb__3635596562362264948_83193480' app/helpers/layout_helper.rb:248:in `form_for' app/views/hosts/_form.html.erb:8:in `block in _app_views_hosts__form_html_erb__3635596562362264948_83193480' app/models/taxonomy.rb:48:in `block (2 levels) in as_taxonomy' app/models/concerns/foreman/thread_session.rb:143:in `as_location' app/models/taxonomy.rb:47:in `block in as_taxonomy' app/models/concerns/foreman/thread_session.rb:108:in `as_org' app/models/taxonomy.rb:46:in `as_taxonomy' app/views/hosts/_form.html.erb:6:in `_app_views_hosts__form_html_erb__3635596562362264948_83193480' app/views/hosts/edit.html.erb:9:in `_app_views_hosts_edit_html_erb___3896782749151053234_83134680' app/models/concerns/foreman/thread_session.rb:33:in `clear_thread' lib/middleware/catch_json_parse_errors.rb:9:in `call'
Updated by Lee Thompson over 10 years ago
Here is the reference to title
https://github.com/theforeman/foreman/blob/develop/app/views/hosts/_interfaces.html.erb#L13
Updated by Lee Thompson over 10 years ago
I'm getting this on any multi-homed host. Work around is to reprovision the host with only one NIC defined in Foreman
Updated by Dominic Cleal over 10 years ago
- Translation missing: en.field_release set to 4
Lee Thompson wrote:
Here is the reference to title
https://github.com/theforeman/foreman/blob/develop/app/views/hosts/_interfaces.html.erb#L13
Hm yes, app/views/common/_domain.html.erb uses to_label.
Updated by Joseph Magen over 10 years ago
- Status changed from New to Assigned
- Assignee set to Joseph Magen
I got this error now. I'll fix it.
Updated by Joseph Magen over 10 years ago
- Status changed from Assigned to Ready For Testing
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.4 to 1.8.3
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.3 to 1.8.4
Updated by Anonymous over 10 years ago
- Target version changed from 1.8.4 to 1.8.3
Updated by Joseph Magen over 10 years ago
- Status changed from Ready For Testing to Closed
- % Done changed from 0 to 100
Applied in changeset e029bc8cd326ba759698f4684006107b626aaeb8.
Actions