Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1582484

Summary: [RFE] As an API user, I should be able to compare the Errata of a Content View Version to the installable Errata in Library.
Product: Red Hat Satellite Reporter: Satellite Program <pm-sat>
Component: Content ManagementAssignee: Lai <ltran>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.3.0CC: pcreech
Target Milestone: 6.5.0Keywords: FutureFeature, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-05-14 12:37:23 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Errata comparison none

Description Satellite Program 2018-05-25 11:51:46 UTC
The Errata of a Content View Version can currently be compared to the Errata in Library using /katello/api/content_view_versions/:id/available_errata.

However, this API endpoint only supports filtering by applicable Errata.  It does not currently support filtering by installable Errata.

Comment 1 Satellite Program 2018-05-25 11:51:50 UTC
Created from redmine issue http://projects.theforeman.org/issues/23318

Comment 2 Satellite Program 2018-05-25 11:51:53 UTC
Upstream bug assigned to None

Comment 4 Satellite Program 2018-05-25 12:03:07 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue http://projects.theforeman.org/issues/23318 has been resolved.

Comment 7 Lai 2018-12-14 17:24:12 UTC
Created attachment 1514428 [details]
Errata comparison

Steps to verify:

1. Set up a content view
2. Add repo and sync repo
3. publish new version
4. Filter dates to something in the past
5. publish new version
6. GET /katello/api/v2/errata/compare/?content_view_version_ids[]=15&content_view_version_ids[]=14

Verify the comparisons between different versions.  Attached is a snippet of an errata that is in 14, 15, and both 14 and 15.

Verified on 6.5.0 snap 7.0

Comment 10 errata-xmlrpc 2019-05-14 12:37:23 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2019:1222