Bug 1214355

Summary: Syncing multiple repositories with the same errata reuses the same errata unit without updating package list
Product: Red Hat Satellite Reporter: Mike McCune <mmccune>
Component: Content ManagementAssignee: Justin Sherrill <jsherril>
Status: CLOSED CURRENTRELEASE QA Contact: sthirugn <sthirugn>
Severity: high Docs Contact:
Priority: high    
Version: 6.1.0CC: asanders, bbuckingham, bkearney, cduryee, chrobert, cwelton, dzhukous, jmontleo, jsherril, kallisti5, katello-qa-list, milan.zelenka, mmccune, nshaik, pulp-bugs, pulp-qe-list, sauchter, sthirugn, stijn.geselle, tkolhar, xdmoon
Target Milestone: UnspecifiedKeywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1171283 Environment:
Last Closed: 2015-08-12 13:55:37 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1171278, 1171283    
Bug Blocks:    

Comment 2 Tazim Kolhar 2015-05-05 11:05:23 UTC
hi 

please provide verification steps

thanks

Comment 4 Justin Sherrill 2015-05-11 21:50:21 UTC
Full QA steps:


1. Sync the RHEL 6 & 7 Server Rpms x86_64 repos
2. Go to the Errata page, untick the 'applicable' box and search for "RHSA-2014-1652", click on it
3. check the packages list and verify that it contains both el6 and el7 packages
4.  Register a rhel 6 client with a version of openssl LESS than openssl-1.0.1e-30.el6_6.2.x86_64.rpm  installed
5.  Register a rhel 7 client with a version of openssl LESS than openssl-1.0.1e-34.el7_0.6.x86_64.rpm
6.  Ensure that RHSA-2014-165 shows up as applicable for both systems

Both these clients need katello-agent installed for errata applicability as well.

Comment 5 sthirugn@redhat.com 2015-05-12 14:54:56 UTC
Verified.

Version Tested:
GA Snap 3 Compose 2

Steps: (changing the errata number to a newer one since I couldnt find content hosts with old openssl packages as mentioned in Comment 4)
1. Sync the RHEL 6 & 7 Server Rpms x86_64 repos

2. Go to the Errata page, untick the 'applicable' box and search for "RHEA-2015:0855", click on it

3. check the packages list and verify that it contains both el6 and el7 packages
* tzdata-2015c-1.el7.noarch
* tzdata-2015c-2.el6.noarch
* tzdata-java-2015c-1.el7.noarch
* tzdata-java-2015c-2.el6.noarch 

4.  Register a rhel 6 client with a version of tzdata LESS than tzdata-2015c-2.el6.noarch installed
# rpm -qa | grep tzdata
tzdata-java-2014g-1.el6.noarch
tzdata-2014g-1.el6.noarch

5.  Register a rhel 7 client with a version of tzdata  LESS than tzdata-2015c-1.el7.noarch
# rpm -qa | grep tzdata
tzdata-2015a-1.el7.noarch

6.  Ensure that RHEA-2015:0855 shows up as applicable for both systems - PASS

7. Apply the errata on both the rhel6 and rhel7 boxes - PASS
After installation:
in rhel6 content host:
# rpm -qa | grep tzdata
tzdata-java-2015c-2.el6.noarch
tzdata-2015c-2.el6.noarch

in rhel7 content host:
# rpm -qa | grep tzdata
tzdata-2015c-1.el7.noarch

8. Test repeated with RHSA-2015:0700 - PASS

* unzip-6.0-15.el7.x86_64
* unzip-6.0-2.el6_6.x86_64 

rhel 6 before install:
# rpm -qa | grep unzip
unzip-6.0-13.el7.x86_64

rhel 6 after install:
# rpm -qa | grep unzip
unzip-6.0-15.el7.x86_64

rhel7 before install:
# rpm -qa | grep unzip
unzip-6.0-1.el6.x86_64

rhel7 after install:
# rpm -qa | grep unzip
unzip-6.0-2.el6_6.x86_64

Comment 8 Bryan Kearney 2015-08-11 13:19:00 UTC
This bug is slated to be released with Satellite 6.1.

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