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 1939538 - Applying errata via Host Collection does not include in Applied Errata Report
Summary: Applying errata via Host Collection does not include in Applied Errata Report
Keywords:
Status: CLOSED DUPLICATE of bug 1941096
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Errata Management
Version: 6.8.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: 6.10.0
Assignee: satellite6-bugs
QA Contact: Akhil Jha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-03-16 15:18 UTC by Ashfaqur Rahaman
Modified: 2024-10-01 17:41 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-10 17:48:58 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ashfaqur Rahaman 2021-03-16 15:18:41 UTC
Description of problem:

Applying errata in Host collection via katello-agent does not included in "Applied Errata Report". 


Version-Release number of selected component (if applicable):
6.7
6.8


How reproducible:
100%

Steps to Reproduce:

//Apply Errata:

1. Host collection >  Errata Installation >
2. Select Errata > Install Selected (Default it will select katello-agent)
3. Confirm Installation and wait for the errata task to complete 

// Generate Report: 

4. Monitor > Report Template > 
5. Generate report for "Host - Applied Errata"  

Actual results:

It does not contain any errata information applied through host collection (katello-agent) 

Expected results:

It should contain the errata which were applied via host collection 

Additional info:

- If we applied via bulk action , content host > Select host > Action > Manage errata > Select errata > Apply ,it results same. Does not included in report. 

- For bulk action or via host collection, errata application generate two tasks : 

~~~~
Label: Actions::Katello::Host::Erratum::ApplicableErrataInstall 
Label: Actions::BulkAction 
~~~~

- If we apply errata from individual host , it includes in report. the task generates is : 
~~~~
Label: Actions::Katello::Host::Erratum::Install 
~~~~

- If we apply the errata via "Remote Execution" instead of "katello-agent" , that also includes in Applied errata report. (It works for bulk or individual both) 

~~~~~
 Label: Actions::RemoteExecution::RunHostJob 
~~~~~

So it looks like the "Applied Errata" report only consider the below two actions : 

~~~~~
Label: Actions::Katello::Host::Erratum::Install 
Label: Actions::RemoteExecution::RunHostJob 
~~~~~

Comment 3 Justin Sherrill 2021-06-10 17:48:58 UTC

*** This bug has been marked as a duplicate of bug 1941096 ***


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