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.
Bug 1345905 - [upgrade] Multiple occurrences of LoadError (cannot load such file -- action_view/renderer/renderer):
Summary: [upgrade] Multiple occurrences of LoadError (cannot load such file -- action...
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Upgrades
Version: 6.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On:
Blocks: 1335807
TreeView+ depends on / blocked
 
Reported: 2016-06-13 12:18 UTC by Sachin Ghai
Modified: 2019-04-01 20:27 UTC (History)
0 users

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-06-14 13:59:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
foreman-debug logs (1.14 MB, application/x-xz)
2016-06-13 13:51 UTC, Sachin Ghai
no flags Details

Description Sachin Ghai 2016-06-13 12:18:30 UTC
Description of problem:
I got following exceptions errors with "yum update -y" while performing upgrade from sat6.1.9  -> sat6.2 GA snap15.2 on rhel7.

==> /var/log/foreman/production.log <==
2016-06-13 07:49:38 [W] Operation FAILED: cannot load such file -- action_view/renderer/renderer
2016-06-13 07:49:38 [I] Completed 500 Internal Server Error in 2017ms
2016-06-13 07:49:38 [F] 
LoadError (cannot load such file -- action_view/renderer/renderer):
  app/controllers/application_controller.rb:303:in `generic_exception'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

==> /var/log/foreman/production.log <==
2016-06-13 07:49:44 [I] Completed 500 Internal Server Error in 2092ms
2016-06-13 07:49:44 [F] 
LoadError (cannot load such file -- action_view/renderer/renderer):
  app/controllers/api/v2/base_controller.rb:143:in `render_error'
  app/controllers/api/base_controller.rb:24:in `block in <class:BaseController>'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'


2016-06-13 07:49:44 [I] Processing by HostsController#externalNodes as YML
2016-06-13 07:49:44 [I]   Parameters: {"name"=>"qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com"}
2016-06-13 07:49:44 [W] Operation FAILED: cannot load such file -- action_view/renderer/renderer
2016-06-13 07:49:45 [I] Completed 500 Internal Server Error in 587ms
2016-06-13 07:49:45 [F] 
LoadError (cannot load such file -- action_view/renderer/renderer):
  app/controllers/application_controller.rb:303:in `generic_exception'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'


==> /var/log/messages <==
Jun 13 07:49:45 qe-sat6-upgrade-rhel7 puppet-master[8319]: Failed when searching for node qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com: Failed to find qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com via exec: Execution of '/etc/puppet/node.rb qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com' returned 1:
Jun 13 07:49:45 qe-sat6-upgrade-rhel7 puppet-master[8319]: Failed when searching for node qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com: Failed to find qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com via exec: Execution of '/etc/puppet/node.rb qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com' returned 1:
Jun 13 07:49:45 qe-sat6-upgrade-rhel7 puppet-agent[11781]: Could not retrieve catalog from remote server: Error 400 on SERVER: Failed when searching for node qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com: Failed to find qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com via exec: Execution of '/etc/puppet/node.rb qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com' returned 1:
Jun 13 07:49:45 qe-sat6-upgrade-rhel7 puppet-agent[11781]: Using cached catalog
Jun 13 07:49:45 qe-sat6-upgrade-rhel7 systemd: Reloading.


==> /var/log/foreman/production.log <==
2016-06-13 07:49:45 [I] Processing by Api::V2::ReportsController#create as JSON
2016-06-13 07:49:45 [I]   Parameters: {"report"=>"[FILTERED]", "apiv"=>"v2"}
2016-06-13 07:49:45 [I] processing report for qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com
2016-06-13 07:49:45 [I] Imported report for qe-sat6-upgrade-rhel7.satqe.lab.eng.rdu2.redhat.com in 0.16 seconds
2016-06-13 07:49:45 [I] Completed 500 Internal Server Error in 184ms
2016-06-13 07:49:45 [F] 
LoadError (cannot load such file -- action_view/renderer/renderer):
  app/controllers/api/base_controller.rb:105:in `process_success'
  app/controllers/api/base_controller.rb:110:in `process_response'
  app/controllers/api/v2/reports_controller.rb:40:in `create'
  app/controllers/api/v2/base_controller.rb:151:in `disable_json_root'
  app/models/concerns/foreman/thread_session.rb:33:in `clear_thread'
  lib/middleware/catch_json_parse_errors.rb:9:in `call'

Version-Release number of selected component (if applicable):
upgrade from sat6.1.9  -> sat6.2 GA snap15.2 on rhel7.

How reproducible:
always

Steps to Reproduce:
1. set sat6.2 repo
2. yum update -y
3.

Actual results:
Multiple occurrences of following error:
 
[F] LoadError (cannot load such file -- action_view/renderer/renderer):

Expected results:


Additional info:

Comment 1 Sachin Ghai 2016-06-13 13:51:16 UTC
Created attachment 1167498 [details]
foreman-debug logs

Comment 3 Sachin Ghai 2016-06-14 13:59:09 UTC
This issue appears only when we start upgrade without stopping katello services prior to "yum update -y".

Since services should be stopped first before performing yum update so this is not a valid bug.


Note You need to log in before you can comment on or make changes to this bug.