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.
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 (Moderate: Satellite 6.9 Release), 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-2021:1313
Description of problem: "Last Checkin" report generation fails when "Include unknown" is set to false Error Message: ERF45-5139 [Foreman::Renderer::Errors::UnknownReportColumn]: Rendering failed, one or more unknown columns specified for ordering - "Last Checkin" Error trace: 2021-01-27T11:17:20 [I|app|9311ed11] Started POST "/templates/report_templates/132-Host%20-%20Last%20Checkin/schedule_report" for 127.0.0.1 at 2021-01-27 11:17:20 +0530 2021-01-27T11:17:20 [I|app|9311ed11] Processing by ReportTemplatesController#schedule_report as HTML 2021-01-27T11:17:20 [I|app|9311ed11] Parameters: {"utf8"=>"✓", "authenticity_token"=>"PB2yA9gbdJjcX/prpOFSApE7Y3ZWSk2mihsYu0C5lco39ONlxwi4nZ4nPj1N/8EN3+r7b4nFRJa4JNL7K62paA==", "report_template_report"=>"[FILTERED]", "commit"=>"Submit", "id"=>"132-Host - Last Checkin"} 2021-01-27T11:17:20 [I|app|9311ed11] Enqueued TemplateRenderJob (Job ID: ea4adf28-1882-4c98-b3ab-bcaa9ad3b6ef) to Dynflow(default) with arguments: {"template_id"=>"132-Host - Last Checkin", "gzip"=>false, "send_mail"=>false, "mail_to"=>"root.redhat.com", "format"=>"csv", "input_values"=>{"23"=>{"value"=>"9 hours"}, "24"=>{"value"=>"os ~ RedHat "}, "25"=>{"value"=>"false"}}}, {:user_id=>4} 2021-01-27T11:17:20 [I|app|9311ed11] Redirected to https://dhcp131-11.gsslab.pnq2.redhat.com/templates/report_templates/132-Host%20-%20Last%20Checkin/report_data?job_id=ea4adf28-1882-4c98-b3ab-bcaa9ad3b6ef 2021-01-27T11:17:20 [I|app|9311ed11] Completed 302 Found in 209ms (ActiveRecord: 36.1ms | Allocations: 23908) 2021-01-27T11:17:20 [I|app|3aa760a0] Started GET "/templates/report_templates/132-Host%20-%20Last%20Checkin/report_data?job_id=ea4adf28-1882-4c98-b3ab-bcaa9ad3b6ef" for 127.0.0.1 at 2021-01-27 11:17:20 +0530 2021-01-27T11:17:20 [I|app|3aa760a0] Processing by ReportTemplatesController#report_data as HTML 2021-01-27T11:17:20 [I|app|3aa760a0] Parameters: {"job_id"=>"ea4adf28-1882-4c98-b3ab-bcaa9ad3b6ef", "id"=>"132-Host - Last Checkin"} 2021-01-27T11:17:20 [I|app|3aa760a0] Rendering report_templates/report_data.html.erb within layouts/application 2021-01-27T11:17:20 [I|app|3aa760a0] Rendered report_templates/report_data.html.erb within layouts/application (Duration: 56.2ms | Allocations: 7403) 2021-01-27T11:17:20 [I|app|3aa760a0] Rendered layouts/_application_content.html.erb (Duration: 4.0ms | Allocations: 7450) 2021-01-27T11:17:20 [I|app|3aa760a0] Rendering layouts/base.html.erb 2021-01-27T11:17:20 [I|app|9311ed11] Performing TemplateRenderJob (Job ID: ea4adf28-1882-4c98-b3ab-bcaa9ad3b6ef) from Dynflow(default) enqueued at 2021-01-27T05:47:20Z with arguments: {"template_id"=>"132-Host - Last Checkin", "gzip"=>false, "send_mail"=>false, "mail_to"=>"root.redhat.com", "format"=>"csv", "input_values"=>{"23"=>{"value"=>"9 hours"}, "24"=>{"value"=>"os ~ RedHat "}, "25"=>{"value"=>"false"}}}, {:user_id=>4} 2021-01-27T11:17:20 [I|app|3aa760a0] Rendered /opt/theforeman/tfm/root/usr/share/gems/gems/foreman_theme_satellite-7.0.1.4/app/views/foreman_theme_satellite/_theme_client_side_branding.js.erb (Duration: 3.1ms | Allocations: 6890) 2021-01-27T11:17:20 [I|app|3aa760a0] Rendered layouts/base.html.erb (Duration: 33.3ms | Allocations: 38660) 2021-01-27T11:17:20 [I|app|3aa760a0] Completed 200 OK in 116ms (Views: 100.6ms | ActiveRecord: 3.5ms | Allocations: 65727) 2021-01-27T11:17:20 [W|app|9311ed11] Scoped order is ignored, it's forced to be batch order. 2021-01-27T11:17:21 [E|app|9311ed11] Error performing TemplateRenderJob (Job ID: ea4adf28-1882-4c98-b3ab-bcaa9ad3b6ef) from Dynflow(default) in 82.39ms: Foreman::Renderer::Errors::UnknownReportColumn (ERF45-5139 [Foreman::Renderer::Errors::UnknownReportColumn]: Rendering failed, one or more unknown columns specified for ordering - "Last Checkin"): 9311ed11 | /usr/share/foreman/lib/foreman/renderer/scope/report.rb:74:in `apply_order!' 9311ed11 | /usr/share/foreman/lib/foreman/renderer/scope/report.rb:27:in `report_render' 9311ed11 | /opt/theforeman/tfm/root/usr/share/gems/gems/safemode-1.3.6/lib/safemode/scope.rb:37:in `method_missing' 9311ed11 | Host - Last Checkin:66:in `bind' Version-Release number of selected component (if applicable): Satellite 6.9 How reproducible: Always Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: