Bug 740934

Summary: Weird problem with RHSM CDN updateinfo data for at least qt
Product: Red Hat Enterprise Linux 6 Reporter: James Antill <james.antill>
Component: relengAssignee: Dennis Gregorovic <dgregor>
Status: CLOSED ERRATA QA Contact: Release Test Team <release-test-team-automation>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: atodorov, dmach, mkhusid, pholica, rwilliam
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-12-06 18:52:47 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:

Description James Antill 2011-09-23 20:08:33 UTC
Description of problem:

 Currently qt has two updateinfo notices against it, which you can see with (assuming you have qt installed):

yum updateinfo list cves all qt\*

...however on the CDN version of RHEL-6 workstation, the updateinfo is "f96eaac5013dcb025fea5d15cdc216bd485391c0969c0d34b7751301168b9a71-updateinfo.xml.gz" ... which only contains the older of the two notices.

 Specifically this one is _not_ present:

https://rhn.redhat.com/errata/RHSA-2011-1323.html

...it is there on my RHEL-6 server connected to RHN though.

Comment 2 Mike Khusid 2011-09-23 20:25:58 UTC
reproducer:

# rpm -q qt
qt-4.6.2-17.el6.x86_64

What happens:

# yum --advisory RHSA-2011:1323 info updates
<snip>
Limiting package lists to security relevant ones
Advisory "RHSA-2011:1323" not found applicable for this system
No packages needed for security; 6 packages available


What should happen:

yum should install qt version 4.6.2-17.el6_1.1

Comment 3 Dennis Gregorovic 2011-09-23 21:05:39 UTC
Looking at the timestamps, the advisory finished pushing at 1:55pm, the rhnsync
cron job ran at 2pm, and the updatinfo.xml file has a timestamp of 2:11pm.  So,
it appears what happened is that rhnsync ran during the window between packages
being available in the channel and the channel's yum repodata getting updated.

For now, I'll force a re-generation of the cdn repodata which will pull in the
newer updateinfo from RHN.

Longer-term solution may need to wait for new pub/pulp process as this isn't a
case we can easily fix through the cron job.  I'll think about it more over the
weekend.

Comment 4 Mike Khusid 2011-09-23 21:19:29 UTC
(In reply to comment #3)
> Looking at the timestamps, the advisory finished pushing at 1:55pm, the rhnsync
> cron job ran at 2pm, and the updatinfo.xml file has a timestamp of 2:11pm.  So,
> it appears what happened is that rhnsync ran during the window between packages
> being available in the channel and the channel's yum repodata getting updated.
> 
> For now, I'll force a re-generation of the cdn repodata which will pull in the
> newer updateinfo from RHN.
> 
> Longer-term solution may need to wait for new pub/pulp process as this isn't a
> case we can easily fix through the cron job.  I'll think about it more over the
> weekend.

Dennis, I am not convinced this will fix a problem. Here is a run at 5:18pm

$ sudo yum updateinfo
Loaded plugins: auto-update-debuginfo, product-id, refresh-packagekit, security,
              : subscription-manager
Updating Red Hat repositories.
rhel-6-workstation-optional-rpms                         | 2.2 kB     00:00     
rhel-6-workstation-rpms                                  | 2.4 kB     00:00     
rhel-6-workstation-supplementary                         | 2.4 kB     00:00     
rhel-6-workstation-supplementary-debuginfo               | 1.1 kB     00:00     
updateinfo summary done

$ sudo yum --advisory RHSA-2011:1323 info updates
Loaded plugins: auto-update-debuginfo, product-id, refresh-packagekit, security,
              : subscription-manager
Updating Red Hat repositories.
rhel-6-workstation-optional-rpms                         | 2.2 kB     00:00     
rhel-6-workstation-rpms                                  | 2.4 kB     00:00     
rhel-6-workstation-supplementary                         | 2.4 kB     00:00     
rhel-6-workstation-supplementary-debuginfo               | 1.1 kB     00:00     
Limiting package lists to security relevant ones
Advisory "RHSA-2011:1323" not found applicable for this system
No packages needed for security; 6 packages available

$ rpm -q qt
qt-4.6.2-17.el6.x86_64

Comment 14 errata-xmlrpc 2011-12-06 18:52:47 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.

http://rhn.redhat.com/errata/RHEA-2011-1743.html