Project

General

Profile

Actions

Bug #32312

closed

Report Templates Host - Applied Errata report is empty.

Added by Waldirio Pinheiro about 3 years ago. Updated almost 2 years ago.

Status:
Closed
Priority:
Normal
Category:
Hosts
Target version:
Fixed in Releases:
Found in Releases:

Description

Description of problem:

Report Templates Host - Applied Errata report showing no data.

While generating Report Templates "Host - Applied Errata report" file is empty.

~~~~~~~
Login to Satellite WEB UI > Monitor > Report Templates > Host - Applied Errata
~~~~~~

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

How reproducible:
100%

Steps to Reproduce:
1. // Generate Report:

~~~~~~~
Login to Satellite WEB UI > Monitor > Report Templates > Generate report for "Host - Applied Errata"

2. Generated report is empty.

3. Checked task "Actions::Katello::Host::Erratum::Install" for generated for applied errata on Satellite server but this task is also empty.

~~~~~~~
[root@satellite ]# hammer task list --search="label = Actions::Katello::Host::Erratum::Install"
---|--------|-------|--------|------------|----------|-------|------------
ID | ACTION | STATE | RESULT | STARTED AT | ENDED AT | OWNER | TASK ERRORS
---|--------|-------|--------|------------|----------|-------|------------
~~~~~~~~

4. Noticed task "Actions::Katello::Host::Erratum::ApplicableErrataInstall" is generated for applied errata.

~~~~~~~
[root@satellite ~]# hammer task list --search="label = Actions::Katello::Host::Erratum::ApplicableErrataInstall"
-------------------------------------|-----------------------------------------------------------|---------|---------|---------------------|---------------------|---------|---------------------------------------------------------------------------------
ID | ACTION | STATE | RESULT | STARTED AT | ENDED AT | OWNER | TASK ERRORS
-------------------------------------|-----------------------------------------------------------|---------|---------|---------------------|---------------------|---------|---------------------------------------------------------------------------------
1111xaxa-8e70-xaxa-8bd9-23f091xxxxxx | Install Applicable Errata on Host1-example.com | stopped | success | 2021/03/20 10:47:15 | 2021/03/20 10:51:15 | admin |

3333xaxa-9945-2d5a-xaxa-1c8693xxxxxx | Install Applicable Errata on Host2-example.com | stopped | success | 2021/03/20 07:51:20 | 2021/03/20 07:56:20 | admin |

5555xbxb-dxxb-5e9a-xbxb-dz50b7xxxxxx | Install Applicable Errata on Host3-example.com | stopped | success | 2021/03/20 07:51:06 | 2021/03/20 07:50:06 | admin |
-------------------------------------|-----------------------------------------------------------|---------|---------|---------------------|---------------------|---------|---------------------------------------------------------------------------------
[root@satellite ]#
~~~~~~~~

5. Report is only consider task label "Actions::Katello::Host::Erratum::Install" where as report do not consider the task label "Actions::Katello::Host::Erratum::ApplicableErrataInstall"

~~~~~~
https://github.com/Katello/katello/blob/53e9d86ba155a175fb2efeec00e84c20702b6ca4/app/lib/katello/concerns/base_template_scope_extensions.rb#L110
~~~~~~

Actual results:

It does not contain any errata information in the Applied Errata report.

Expected results:
Host - Applied Errata report should contain the errata information.

Actions #1

Updated by Waldirio Pinheiro about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9282 added
Actions #2

Updated by The Foreman Bot about 3 years ago

  • Status changed from New to Ready For Testing
Actions #3

Updated by The Foreman Bot about 3 years ago

  • Fixed in Releases Katello 4.2.0 added
Actions #4

Updated by Waldirio Pinheiro about 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #5

Updated by Chris Roberts about 3 years ago

  • Category set to Hosts
  • Assignee set to Waldirio Pinheiro
  • Target version set to Katello 4.1.0
Actions #6

Updated by Chris Roberts about 3 years ago

  • Triaged changed from No to Yes
Actions #7

Updated by The Foreman Bot about 3 years ago

  • Pull request https://github.com/Katello/katello/pull/9309 added
Actions #8

Updated by Marek Hulán about 3 years ago

  • Status changed from Closed to Ready For Testing

reopening since a second PR was opened

Actions #9

Updated by Hao Yu almost 3 years ago

  • Status changed from Ready For Testing to Closed
Actions #10

Updated by The Foreman Bot almost 2 years ago

  • Pull request https://github.com/Katello/katello/pull/10108 added
Actions

Also available in: Atom PDF