Bug 1226997 - Installable errata is not listed in Content -> Errata page
Summary: Installable errata is not listed in Content -> Errata page
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: Unspecified
Assignee: Walden Raines
QA Contact: sthirugn@redhat.com
URL: http://projects.theforeman.org/issues...
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-01 15:39 UTC by sthirugn@redhat.com
Modified: 2017-02-23 19:58 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 13:56:55 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10681 0 Normal Closed Installable errata is not listed in Content -> Errata page 2021-02-17 04:53:31 UTC
Red Hat Bugzilla 1232331 0 unspecified CLOSED Applicable errata from Library Synced content is not listed in Content host -> Errata page 2021-02-22 00:41:40 UTC

Internal Links: 1232331

Description sthirugn@redhat.com 2015-06-01 15:39:28 UTC
Description of problem:
Installable errata is not listed in Content -> Errata page

Version-Release number of selected component (if applicable):
Satellite 6.1 GA Snap 6

How reproducible:
Always

Steps to Reproduce:
1. Sync few products, register few content hosts
2. Navigate to Content -> errata page and try to filter the following:
- Installable errata for a repo
- Applicable and Installable errata for a repo

Actual results:
No results are returned for both the mentioned scenarios

Expected results:
I have installable errata for the selected repo which should be displayed.

Additional info:
This failed in CLI too:
failed: 
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=false --errata-restrict-installable=true
---|-----------|------|------
ID | ERRATA ID | TYPE | TITLE
---|-----------|------|------

failed:
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=true --errata-restrict-installable=true
---|-----------|------|------
ID | ERRATA ID | TYPE | TITLE
---|-----------|------|------

passed:
hammer> erratum list --organization-id=3 --repository-id=6 --errata-restrict-applicable=true --errata-restrict-installable=false
** This displayed errata info as expected  **

passed: (without repository id)
hammer> erratum list --organization-id=3  --errata-restrict-applicable=true --errata-restrict-installable=true
** This displayed errata info as expected  **

Comment 4 Walden Raines 2015-06-02 18:26:22 UTC
Created redmine issue http://projects.theforeman.org/issues/10681 from this bug

Comment 5 Walden Raines 2015-06-02 19:22:46 UTC
PR: https://github.com/Katello/katello/pull/5267

Comment 6 Bryan Kearney 2015-06-08 16:05:49 UTC
Moving to POST since upstream bug http://projects.theforeman.org/issues/10681 has been closed
-------------
Walden Raines
Applied in changeset commit:katello|fcd7bcc806015514fc76215597d393d985919da3.

Comment 9 sthirugn@redhat.com 2015-06-16 13:48:13 UTC
Verified in Sat 6.1 GA Snap 8.

Now I see Installable errata listed in Content -> Errata page.  And also the failed CLI scenarios mentioned in the bugs works fine now.


hammer> erratum list --organization-id=3 --repository-id=1 --errata-restrict-applicable=false --errata-restrict-installable=true
-------------------------------------|----------------|-------------|----------------------------------------------------------------
ID                                   | ERRATA ID      | TYPE        | TITLE                                                          
-------------------------------------|----------------|-------------|----------------------------------------------------------------
1aaef134-fdb2-4686-b220-27f86840c287 | RHSA-2015:1090 | security    | Important: wpa_supplicant security and enhancement update      
aae3209a-62eb-4a30-8c8c-e177bbefeef4 | RHSA-2015:1072 | security    | Moderate: openssl security update                              
d6780ffc-49a0-4e64-b494-c79b977ea81c | RHBA-2015:0964 | bugfix      | ca-certificates bug fix and enhancement update                 
...
...

hammer> erratum list --organization-id=3 --repository-id=1 --errata-restrict-applicable=true --errata-restrict-installable=true
-------------------------------------|----------------|-------------|----------------------------------------------------------------
ID                                   | ERRATA ID      | TYPE        | TITLE                                                          
-------------------------------------|----------------|-------------|----------------------------------------------------------------
1aaef134-fdb2-4686-b220-27f86840c287 | RHSA-2015:1090 | security    | Important: wpa_supplicant security and enhancement update      
aae3209a-62eb-4a30-8c8c-e177bbefeef4 | RHSA-2015:1072 | security    | Moderate: openssl security update                              
...
...


But it is worth to note that there is one outstanding bug in this scenario which is noted in https://bugzilla.redhat.com/show_bug.cgi?id=1232331

Comment 10 Bryan Kearney 2015-08-11 13:30:43 UTC
This bug is slated to be released with Satellite 6.1.

Comment 11 Bryan Kearney 2015-08-12 13:56:55 UTC
This bug was fixed in version 6.1.1 of Satellite which was released on 12 August, 2015.


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