Bug 1171283 - Syncing multiple repositories with the same errata reuses the same errata unit without updating package list
Summary: Syncing multiple repositories with the same errata reuses the same errata uni...
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.0.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: Unspecified
Assignee: Jason Montleon
QA Contact: Katello QA List
URL:
Whiteboard:
Depends On: 1171278
Blocks: 1214355
TreeView+ depends on / blocked
 
Reported: 2014-12-05 19:43 UTC by Justin Sherrill
Modified: 2019-08-15 04:07 UTC (History)
17 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1171278
: 1214355 (view as bug list)
Environment:
Last Closed: 2015-06-30 16:44:08 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Justin Sherrill 2014-12-05 19:43:01 UTC
+++ This bug was initially created as a clone of Bug #1171278 +++

Description of problem:

Errata as released by Red Hat rcm releases the same errata for multiple repositories (RHEL 5, RHEL 6, etc..).

Within the repository, only the packages actually contained within the repository actually are listed for the errata.  For example:

https://rhn.redhat.com/errata/RHSA-2014-1652.html

contains packages for both el6 and el7, but the updateinfo for el6 only contains:

<?xml version="1.0" encoding="UTF-8"?>
<pkglist>
   <collection short="rhel-x86_64-server-6">
      <name>Red Hat Enterprise Linux Server (v. 6 for 64-bit x86_64)</name>
      <package name="openssl" version="1.0.1e" release="30.el6_6.2" epoch="0" arch="i686" src="openssl-1.0.1e-30.el6_6.2.src.rpm">
         <filename>openssl-1.0.1e-30.el6_6.2.i686.rpm</filename>
         <sum type="sha256">e85e84237f069e64333603fbed965b4d0b034c2933c9160eaf4b605d8c3ccd16</sum>
      </package>
      <package name="openssl-devel" version="1.0.1e" release="30.el6_6.2" epoch="0" arch="x86_64" src="openssl-1.0.1e-30.el6_6.2.src.rpm">
         <filename>openssl-devel-1.0.1e-30.el6_6.2.x86_64.rpm</filename>
         <sum type="sha256">dcbbbd1b21733e3e3168897120bfc1674c051c4efe7a621d5c5dece211169207</sum>
      </package>
      <package name="openssl-devel" version="1.0.1e" release="30.el6_6.2" epoch="0" arch="i686" src="openssl-1.0.1e-30.el6_6.2.src.rpm">
         <filename>openssl-devel-1.0.1e-30.el6_6.2.i686.rpm</filename>
         <sum type="sha256">32f1611b3c8934fc10ac3ed87e57847bdaa4f4aebb21ed25d3b6c005722d1bda</sum>
      </package>
      <package name="openssl" version="1.0.1e" release="30.el6_6.2" epoch="0" arch="x86_64" src="openssl-1.0.1e-30.el6_6.2.src.rpm">
         <filename>openssl-1.0.1e-30.el6_6.2.x86_64.rpm</filename>
         <sum type="sha256">904b7d8367de9f94c1878720e634a226ea3c1f67067af6a939dd05f68e7ab1ac</sum>
      </package>
   </collection>
</pkglist>


The result is that after pulp syncs an errata once, it will never update the existing errata, but will associate the existing errata with the new repositories.


How reproducible:
Always

Steps to Reproduce:
1.  Sync RHEL 6 Server and wait for it to finish then,
2.  Sync RHEL 7 Server
3.  Check the RHSA-2014-1652 errata in pulp and list its packages

Actual results:
Will only contain the rhel 6 packages, will not contain the rhel 7 packages


Expected results:
The RHSA-2014-1652 errata on rhel 7 contains rhel 7 packages, for rhel 6 contains the rhel 6 packages

Additional info:

Comment 1 RHEL Program Management 2014-12-05 19:46:17 UTC
Since this issue was entered in Red Hat Bugzilla, the release flag has been
set to ? to ensure that it is properly evaluated for this release.

Comment 6 Alexander von Gluck IV 2015-03-20 15:34:06 UTC
We're seeing this issue in our production environment. It greatly limits the Satellite servers' functionality to mass apply errata (as any one failing errata means the application will fail). Please resolve!

Comment 7 Alexander von Gluck IV 2015-03-20 15:34:55 UTC
#1201432 could be related. Seeing this issue on 6.0.8 so the target milestone is incorrect.

Comment 12 Dmitry Zhukovski 2015-03-31 09:52:57 UTC
KCS https://access.redhat.com/solutions/1397413

br,
dmitry

Comment 19 Bryan Kearney 2015-06-30 16:44:08 UTC
This bug is resolved in the Satellite 6.1 code base in bug https://bugzilla.redhat.com/show_bug.cgi?id=1214355. We are not planning to backport this to 6.0, and are therefore closing out this bug. Please feel free to contact bkearney and dcaplan with any issues.


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