Bug 2007422 - [RFE] Applied Errata template in the RedHat Satellite, should generate errata report even if the erratas were applied manually by executing yum on the host or using a third-party tool
Summary: [RFE] Applied Errata template in the RedHat Satellite, should generate errat...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Reporting
Version: 6.11.0
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: Unspecified
Assignee: satellite6-bugs
QA Contact: Lukáš Hellebrandt
URL:
Whiteboard:
: 2175530 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-09-23 19:57 UTC by Satyajit Das
Modified: 2023-04-06 13:52 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-02-22 13:18:42 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker SAT-5301 0 None None None 2021-10-01 00:39:21 UTC
Red Hat Knowledge Base (Solution) 5249501 0 None None None 2023-03-07 17:09:04 UTC
Red Hat Knowledge Base (Solution) 7001207 0 None None None 2023-03-07 17:08:40 UTC

Description Satyajit Das 2021-09-23 19:57:06 UTC
1. Proposed title of this feature request

  Applied Errata template in the RedHat Satellite, should generate errata report even if the errata were applied manually by executing yum on the host or using a third-party tool.

2. What is the nature and description of the request?

  Currently, the Applied Errata report populate data, only if the errata were pushed via satellite, as the report is generated by the auditing
  the task(Actions::Katello::Host::Erratum::ApplicableErrataInstall), however when a customer applies errata manually on the hosts, then these tasks are 
  not generated in the satellite server, so the report does not populate any data.
    

3. Why does the customer need this? (List the business requirements here)

   Customers can pull and verify the report for all hosts registered to the satellite server and identify whether a critical errata is applied on the hosts or not.

    
4. How would the customer like to achieve this? (List the functional requirements here)

   In my opinion, by enhancing the combined profile task, so that the tasks should contain all the data for the hosts and
   the report should be generated by auditing the combined profile tasks.   


5. Is there already an existing RFE upstream or in Red Hat Bugzilla?

   Unknown

6. Does the customer have any specific timeline dependencies and which release would they like to target (i.e. satellite 7.0)?

   No

7. Is the sales team involved in this request and do they have any additional input?
   No


8. List any affected packages or components.
   Unknown

Comment 3 Marek Hulan 2022-01-19 12:57:44 UTC
This is simply not possible. We can't get the same information, namely the time of application, if it's not deployed from Satellite, since there's no way to get such data. We could get some information out of the package profile, but not all. That should become an new report though and would only give user a current snapshot of what's already applied on the host.

Comment 10 Tim Mooney 2023-02-01 23:26:40 UTC
Forgive me, but "not possible" doesn't seem accurate to me.

In the past, it's been possible to extend yum via plugins so that its normal client operation can supply additional information to Satellite.  Couldn't the same thing be done here?

Satellite already is (eventually) getting the info that errata that were showing as pending in Content->Content Hosts have been applied, and it's removing them from the pending errata there.  Again, there's a lag on that operation, but it's happening.

Shouldn't it be possible to augment/extend yum to push (probably via POST) the necessary information to some endpoint on Satellite, to let it know "client X just applied <whatever> at <some time>".

Why is that "not possible" with current Satellite + yum or dnf?

Comment 11 Marek Hulan 2023-02-02 09:37:41 UTC
I'm sorry I meant it's not possible to generate such report based on the data we currently have in the database. Of course there is a technical way how to get that data from hosts to the Satellite database, however that's very different and much more complex task, not just modifying the report itself.

Comment 12 Dana Singleterry 2023-02-22 13:18:42 UTC
Closed based on Marek's comment above and noted that a discussion has occurred with the TAM.

https://bugzilla.redhat.com/show_bug.cgi?id=2007422#c11

Comment 13 Waldirio M Pinheiro 2023-03-07 17:08:41 UTC
Hello,

This is a workaround for this request.

https://access.redhat.com/solutions/7001207

Comment 14 Brad Buckingham 2023-04-06 13:52:26 UTC
*** Bug 2175530 has been marked as a duplicate of this bug. ***


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