- Proposed title of this feature request
[RFE] Reporting template should show outstanding errata for errata filter.
- What is the nature and description of the request?
Generating a report of hosts based on the outstanding erratas, does not seem to be currently available.
Customer wants to generate the report using "Registered Hosts Template". However, by adding "errata filter" he would like to report only critical patches and packages that have not been updated for 1 month.
When doing this he want to get the "Registered Hosts Template" pattern. When generating the report, errata filter doesn't work properly.
Customer can able to filter using errata filter while generating Registered Hosts Template.
For example, when we write issued <"10 days ago", we just wants it to bring him the relevant system.
Monitor -> Report Template -> Select the Cloned Template -> Select the `Inputs` tab. Now create a new filter by clicking on '+Add Input'. In the new form add Name as 'Errata filter' and Input Type as 'User Input'. Save this and generate the report using errata filter parameter: issued <"10 days ago".
when we add above parameters to errata filter section, we able to generate the template. But my report shows all hosts.
- Do you have specific timeline dependencies?
- Can you please explain us the what are the functional requirements? If test cases can be provided this would be even more ideal.
Reporting template should show outstanding errata for errata filter.
- Would you be able to assist in testing this functionality if implemented?
It seems you didn't update the content of the template after you added a filter input. Just adding input will not have any effect. The registered hosts does not allow searching by erratas and it's not easy to allow it. You should probably use "Applicable errata" report. That already allows filtering based on errata attributes. If you wanted to base the customization on Registered hosts due to additional host attributes, just add those attributes to clone of Applicable errata report. E.g. just add lines like
Note that you may need to also add include/preload definitions to keep the report performing well. E.g. the owner would need to be preloaded like in Registered hosts report.
I'd start with checking with the customer, whether the Applicable errata fits the need and gathering potential customizations requests.
Upstream bug assigned to firstname.lastname@example.org
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/28780 has been resolved.
Customer has closed the case, also the upstream PR is closed hence I will close this bugzilla.