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.
Description of problem:
Following error is logged while viewing the job invocations page
~~~
==> /var/log/foreman/production.log <==
2023-02-24T16:17:37 [I|app|f320b6f8] Started GET "/job_invocations/1" for 192.168.100.105 at 2023-02-24 16:17:37 +0530
2023-02-24T16:17:37 [I|app|f320b6f8] Processing by JobInvocationsController#show as HTML
2023-02-24T16:17:37 [I|app|f320b6f8] Parameters: {"id"=>"1"}
2023-02-24T16:17:37 [I|app|a3b8e17e] Started GET "/notification_recipients" for 10.74.16.105 at 2023-02-24 16:17:37 +0530
2023-02-24T16:17:37 [I|app|a3b8e17e] Processing by NotificationRecipientsController#index as JSON
2023-02-24T16:17:37 [I|app|f320b6f8] Rendered /usr/share/gems/gems/foreman_remote_execution-8.2.0/app/views/job_invocations/show.html.erb within layouts/application (Duration: 97.2ms | Allocations: 110076)
2023-02-24T16:17:37 [I|app|a3b8e17e] Completed 200 OK in 42ms (Views: 0.1ms | ActiveRecord: 15.2ms | Allocations: 16277)
2023-02-24T16:17:37 [I|app|f320b6f8] Rendered layouts/base.html.erb (Duration: 32.9ms | Allocations: 38552)
2023-02-24T16:17:37 [I|app|f320b6f8] Rendered layout layouts/application.html.erb (Duration: 135.7ms | Allocations: 161181)
2023-02-24T16:17:37 [I|app|f320b6f8] Completed 200 OK in 159ms (Views: 124.8ms | ActiveRecord: 16.7ms | Allocations: 169620)
2023-02-24T16:17:37 [I|app|55203bc0] Started GET "/javascripts/charts.js" for 10.74.16.105 at 2023-02-24 16:17:37 +0530
2023-02-24T16:17:37 [F|app|55203bc0]
55203bc0 | ActionController::RoutingError (No route matches [GET] "/javascripts/charts.js"):
55203bc0 |
55203bc0 | lib/foreman/middleware/logging_context_request.rb:11:in `call'
55203bc0 | katello (4.7.0.9) lib/katello/prevent_json_parsing.rb:12:in `call'
2023-02-24T16:17:37 [I|app|cf392ff4] Started GET "/notification_recipients" for 10.74.16.105 at 2023-02-24 16:17:37 +0530
2023-02-24T16:17:37 [I|app|cf392ff4] Processing by NotificationRecipientsController#index as JSON
~~~
Version-Release number of selected component (if applicable):
Satellite 6.13
How reproducible:
100%
Steps to Reproduce:
1. Trigger a Job through Satellite
2. Navigate to Monitor > Jobs > click on the Job
3. Monitor /var/log/foreman/production.log while clicking on the job
Following errors are observed
~~~
2023-02-24T16:17:37 [I|app|55203bc0] Started GET "/javascripts/charts.js" for 10.74.16.105 at 2023-02-24 16:17:37 +0530
2023-02-24T16:17:37 [F|app|55203bc0]
55203bc0 | ActionController::RoutingError (No route matches [GET] "/javascripts/charts.js"):
55203bc0 |
55203bc0 | lib/foreman/middleware/logging_context_request.rb:11:in `call'
55203bc0 | katello (4.7.0.9) lib/katello/prevent_json_parsing.rb:12:in `call'
~~~
Actual results:
ActionController::RoutingError is seen in the logs
Expected results:
No errors should be observed
Additional info:
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 (Important: Satellite 6.14 security and bug fix update), 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/RHSA-2023:6818
Description of problem: Following error is logged while viewing the job invocations page ~~~ ==> /var/log/foreman/production.log <== 2023-02-24T16:17:37 [I|app|f320b6f8] Started GET "/job_invocations/1" for 192.168.100.105 at 2023-02-24 16:17:37 +0530 2023-02-24T16:17:37 [I|app|f320b6f8] Processing by JobInvocationsController#show as HTML 2023-02-24T16:17:37 [I|app|f320b6f8] Parameters: {"id"=>"1"} 2023-02-24T16:17:37 [I|app|a3b8e17e] Started GET "/notification_recipients" for 10.74.16.105 at 2023-02-24 16:17:37 +0530 2023-02-24T16:17:37 [I|app|a3b8e17e] Processing by NotificationRecipientsController#index as JSON 2023-02-24T16:17:37 [I|app|f320b6f8] Rendered /usr/share/gems/gems/foreman_remote_execution-8.2.0/app/views/job_invocations/show.html.erb within layouts/application (Duration: 97.2ms | Allocations: 110076) 2023-02-24T16:17:37 [I|app|a3b8e17e] Completed 200 OK in 42ms (Views: 0.1ms | ActiveRecord: 15.2ms | Allocations: 16277) 2023-02-24T16:17:37 [I|app|f320b6f8] Rendered layouts/base.html.erb (Duration: 32.9ms | Allocations: 38552) 2023-02-24T16:17:37 [I|app|f320b6f8] Rendered layout layouts/application.html.erb (Duration: 135.7ms | Allocations: 161181) 2023-02-24T16:17:37 [I|app|f320b6f8] Completed 200 OK in 159ms (Views: 124.8ms | ActiveRecord: 16.7ms | Allocations: 169620) 2023-02-24T16:17:37 [I|app|55203bc0] Started GET "/javascripts/charts.js" for 10.74.16.105 at 2023-02-24 16:17:37 +0530 2023-02-24T16:17:37 [F|app|55203bc0] 55203bc0 | ActionController::RoutingError (No route matches [GET] "/javascripts/charts.js"): 55203bc0 | 55203bc0 | lib/foreman/middleware/logging_context_request.rb:11:in `call' 55203bc0 | katello (4.7.0.9) lib/katello/prevent_json_parsing.rb:12:in `call' 2023-02-24T16:17:37 [I|app|cf392ff4] Started GET "/notification_recipients" for 10.74.16.105 at 2023-02-24 16:17:37 +0530 2023-02-24T16:17:37 [I|app|cf392ff4] Processing by NotificationRecipientsController#index as JSON ~~~ Version-Release number of selected component (if applicable): Satellite 6.13 How reproducible: 100% Steps to Reproduce: 1. Trigger a Job through Satellite 2. Navigate to Monitor > Jobs > click on the Job 3. Monitor /var/log/foreman/production.log while clicking on the job Following errors are observed ~~~ 2023-02-24T16:17:37 [I|app|55203bc0] Started GET "/javascripts/charts.js" for 10.74.16.105 at 2023-02-24 16:17:37 +0530 2023-02-24T16:17:37 [F|app|55203bc0] 55203bc0 | ActionController::RoutingError (No route matches [GET] "/javascripts/charts.js"): 55203bc0 | 55203bc0 | lib/foreman/middleware/logging_context_request.rb:11:in `call' 55203bc0 | katello (4.7.0.9) lib/katello/prevent_json_parsing.rb:12:in `call' ~~~ Actual results: ActionController::RoutingError is seen in the logs Expected results: No errors should be observed Additional info: