Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
I also ran into this error, but was able to resolve it as follows
In oVirt I had a template called 1337cd65-24a5-473b-82aa-30015c96874a as well as one called Default. I removed 1337cd65-24a5-473b-82aa-30015c96874a and everything started to work properly again
Creation of a new compute profile associated to RHEV was successful.
This was tried with both kind of templates, base version and sub version and it was successful and no errors seen in /var/log/foreman/production.log
VERIFIED with sat62-snap10.1
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.
https://access.redhat.com/errata/RHBA-2016:1501
Foreman version 1.8.2 Attempting to create a new resource profile on a new ovirt compute resource errors out: Warning! undefined method `text' for nil:NilClass If you feel this is an error with Foreman itself, please open a new issue with Foreman ticketing system, You would probably need to attach the Full trace and relevant log entries. NoMethodError undefined method `text' for nil:NilClass app/helpers/layout_helper.rb:112:in `block in select_f' app/helpers/layout_helper.rb:169:in `block (3 levels) in field' app/helpers/layout_helper.rb:168:in `block (2 levels) in field' app/helpers/layout_helper.rb:158:in `block in field' app/helpers/layout_helper.rb:157:in `field' app/helpers/layout_helper.rb:110:in `select_f' app/views/compute_resources_vms/form/ovirt/_base.html.erb:10:in `_app_views_compute_resources_vms_form_ovirt__base_html_erb__4409097850897090305_73637740' app/views/compute_attributes/_compute_form.html.erb:3:in `_app_views_compute_attributes__compute_form_html_erb__1756491331636043450_83732500' app/views/compute_attributes/_form.html.erb:10:in `block (2 levels) in _app_views_compute_attributes__form_html_erb__2970560782621538195_81668060' app/views/compute_attributes/_form.html.erb:8:in `block in _app_views_compute_attributes__form_html_erb__2970560782621538195_81668060' app/helpers/layout_helper.rb:273:in `form_for' app/views/compute_attributes/_form.html.erb:2:in `_app_views_compute_attributes__form_html_erb__2970560782621538195_81668060' app/views/compute_attributes/new.html.erb:3:in `_app_views_compute_attributes_new_html_erb__3418808687226322706_81462020' 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' /var/log/foreman/production.log: Started GET "/foreman/compute_profiles/7-ovirt_guest_compute/compute_resources/2-ovirt-pcic-uvic-ca/compute_attributes/new" for 142.104.194.17 at 2015-07-09 18:17:45 -0700 2015-07-09 18:17:45 [I] Processing by ComputeAttributesController#new as */* 2015-07-09 18:17:45 [I] Parameters: {"compute_profile_id"=>"7-ovirt_guest_compute", "compute_resource_id"=>"2-ovirt-pcic-uvic-ca"} 2015-07-09 18:17:45 [I] Successfully decrypted field for Foreman::Model::Ovirt ovirt.pcic.uvic.ca 2015-07-09 18:17:45 [I] Successfully decrypted field for Foreman::Model::Ovirt ovirt.pcic.uvic.ca 2015-07-09 18:17:45 [I] Rendered compute_resources_vms/form/ovirt/_base.html.erb (132.8ms) 2015-07-09 18:17:45 [I] Rendered compute_attributes/_compute_form.html.erb (133.8ms) 2015-07-09 18:17:45 [I] Rendered compute_attributes/_form.html.erb (222.7ms) 2015-07-09 18:17:45 [I] Rendered compute_attributes/new.html.erb (226.3ms) 2015-07-09 18:17:45 [W] Operation FAILED: undefined method `text' for nil:NilClass 2015-07-09 18:17:45 [I] Rendered common/500.html.erb (5.0ms) 2015-07-09 18:17:45 [I] Completed 500 Internal Server Error in 241ms (Views: 5.6ms | ActiveRecord: 1.3ms) 2015-07-09 18:17:45 [I] Started GET "/foreman/compute_profiles/7-ovirt_guest_compute/compute_resources/2-ovirt-pcic-uvic-ca/compute_attributes/new" for 142.104.194.17 at 2015-07-09 18:17:45 -0700 2015-07-09 18:17:45 [I] Processing by ComputeAttributesController#new as */* 2015-07-09 18:17:45 [I] Parameters: {"compute_profile_id"=>"7-ovirt_guest_compute", "compute_resource_id"=>"2-ovirt-pcic-uvic-ca"} 2015-07-09 18:17:45 [I] Successfully decrypted field for Foreman::Model::Ovirt ovirt.pcic.uvic.ca 2015-07-09 18:17:45 [I] Successfully decrypted field for Foreman::Model::Ovirt ovirt.pcic.uvic.ca 2015-07-09 18:17:45 [I] Rendered compute_resources_vms/form/ovirt/_base.html.erb (115.9ms) 2015-07-09 18:17:45 [I] Rendered compute_attributes/_compute_form.html.erb (116.4ms) 2015-07-09 18:17:45 [I] Rendered compute_attributes/_form.html.erb (305.0ms) 2015-07-09 18:17:45 [I] Rendered compute_attributes/new.html.erb (306.5ms) 2015-07-09 18:17:45 [W] Operation FAILED: undefined method `text' for nil:NilClass 2015-07-09 18:17:45 [I] Rendered common/500.html.erb (5.0ms) 2015-07-09 18:17:45 [I] Completed 500 Internal Server Error in 317ms (Views: 5.5ms | ActiveRecord: 1.2ms) 2015-07-09 18:21:52 [I]