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 1228316 - Content host -> errata tab: Not all applicable errata shown from my Library
Summary: Content host -> errata tab: Not all applicable errata shown from my Library
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:
: 1232331 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-04 15:09 UTC by sthirugn@redhat.com
Modified: 2017-02-23 19:57 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-12 16:04:53 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
content host errata page showing 1 errata only (94.11 KB, image/png)
2015-06-04 15:09 UTC, sthirugn@redhat.com
no flags Details
verification screenshot (226.98 KB, application/zip)
2015-07-07 16:54 UTC, sthirugn@redhat.com
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 10774 0 None None None 2016-04-22 16:31:07 UTC
Red Hat Bugzilla 1223926 0 unspecified CLOSED content-host errata list failed 2021-02-22 00:41:40 UTC

Internal Links: 1223926

Description sthirugn@redhat.com 2015-06-04 15:09:40 UTC
Created attachment 1034779 [details]
content host errata page showing 1 errata only

Description of problem:
Content host -> errata tab: Not all applicable errata shown from my Library

Version-Release number of selected component (if applicable):
Sat 6.1 GA Snap 7

How reproducible:
Always

Steps to Reproduce:
1. Go to Content host -> Errata tab
2. Make sure that the content host is linked to a content view which has some filters to filter out errata
3. Select 'Library Synced Content' from Show From: dropdown

Actual results:
Not all errata from Library is shown

Expected results:
All applicable errata from Library should be shown.

Additional info:

Comment 3 sthirugn@redhat.com 2015-06-04 15:50:52 UTC
hammer cli is also failing:

Scenario:
1. Create content view rhel7partialcv with 7Server repo but filter out all errata after Jan 1, 2015

2. Register/Subscribe a content host to rhel7partialcv/QE environment

hammer> content-host errata list --content-host-id=4bab4d39-d574-4903-a789-67b7e9ff11d2 --organization-id=4 --content-view='rhel7partialcv'  --lifecycle-environment='QE'
-------------------------------------|----------------|--------|----------------------|------------
ID                                   | ERRATUM ID     | TYPE   | TITLE                | INSTALLABLE
-------------------------------------|----------------|--------|----------------------|------------
000f740b-ce6c-429d-a052-7ab3ee641329 | RHBA-2014:0946 | bugfix | unzip bug fix update |            
-------------------------------------|----------------|--------|----------------------|------------

3. Now querying the Default Org view, I should also see the filtered out applicable erratas:

hammer> content-host errata list --content-host-id=4bab4d39-d574-4903-a789-67b7e9ff11d2 --organization-id=4 --content-view='Default Organization View'  --lifecycle-environment=Library

-------------------------------------|----------------|--------|----------------------|------------
ID                                   | ERRATUM ID     | TYPE   | TITLE                | INSTALLABLE
-------------------------------------|----------------|--------|----------------------|------------
000f740b-ce6c-429d-a052-7ab3ee641329 | RHBA-2014:0946 | bugfix | unzip bug fix update |            
-------------------------------------|----------------|--------|----------------------|------------


Actual Result:
Step 3 only shows the same errata as Step 2 and does not include the applicable errata from default org view

Comment 4 Walden Raines 2015-06-04 16:02:39 UTC
I cannot reproduce this following the steps given, is there anything else that needs to be done in order to reproduce this?

Comment 5 Walden Raines 2015-06-10 17:28:31 UTC
I was able to reproduce this, moving back to assigned.

Comment 6 Walden Raines 2015-06-10 20:04:57 UTC
Created redmine issue http://projects.theforeman.org/issues/10774 from this bug

Comment 7 Walden Raines 2015-06-10 20:14:33 UTC
PR: https://github.com/Katello/katello/pull/5288

Comment 8 Walden Raines 2015-06-11 13:26:07 UTC
This was fixed with acf174784db0d3a37a0ff4518d603a823553f540, not sure why the script didn't move this bug to POST.

Comment 9 sthirugn@redhat.com 2015-06-17 04:24:29 UTC
*** Bug 1232331 has been marked as a duplicate of this bug. ***

Comment 11 Bryan Kearney 2015-06-26 14:32:46 UTC
Delivered in Snap10

Comment 12 sthirugn@redhat.com 2015-07-07 16:54:03 UTC
Verified in GA Snap 11.

UI verification: Screenshot attached
CLI verification as per Comment 3 - this still fails - I will do more research on this and file a new issue if needed.

Comment 13 sthirugn@redhat.com 2015-07-07 16:54:23 UTC
Created attachment 1049478 [details]
verification screenshot

Comment 14 Bryan Kearney 2015-08-12 16:04:53 UTC
This bug was fixed in Satellite 6.1.1 which was delivered on 12 August, 2015.


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