Bug 2173159
| Summary: | Error logged in production.log while viewing the job invocation | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Nagoor Shaik <nshaik> |
| Component: | Remote Execution | Assignee: | Evgeni Golov <egolov> |
| Status: | VERIFIED --- | QA Contact: | Peter Ondrejka <pondrejk> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.13.0 | CC: | aruzicka, ben.argyle, egolov, pcreech |
| Target Milestone: | 6.14.0 | Keywords: | Triaged |
| Target Release: | Unused | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | foreman_remote_execution-9.1.0 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | Type: | Bug | |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
Upstream bug assigned to egolov Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36108 has been resolved. Upstream bug assigned to egolov Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/36108 has been resolved. Verified on Sat 6.14 sn 1, the routing error no longer occurrs |
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: