Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1096056

Summary: yum-security doesn't work with pulp installation
Product: [Retired] Pulp Reporter: fuerob
Component: rpm-supportAssignee: Barnaby Court <bcourt>
Status: CLOSED CURRENTRELEASE QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: medium    
Version: 2.3CC: mhrivnak, pthomas
Target Milestone: ---Keywords: Triaged
Target Release: 2.4.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-08-09 06:56:22 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:
Attachments:
Description Flags
Make yum check if updateinfo is gzip compressed before accessing it. none

Description fuerob 2014-05-09 07:38:53 UTC
Created attachment 893870 [details]
Make yum check if updateinfo is gzip compressed before  accessing it.

Description of problem:

yum update --security isn't working on RHEL5 when using a pulp host (with katello 1.4).

Version-Release number of selected component (if applicable):

Red Hat Enterprise Linux Server release 5.8 (Tikanga)

Name       : yum
Arch       : noarch
Version    : 3.2.22
Release    : 40.el5

Name        : pulp-server
Arch        : noarch
Version     : 2.3.1
Release     : 1.el6

The reason is that yum's update_md.py expects updateinfo to be gzipped. My workaround was to make yum detect if the file is gzipped prior to opening it, see attached patch.

Comment 1 Michael Hrivnak 2014-05-13 13:47:58 UTC
The publish operation in pulp 2.4 gzips the updateinfo file.

Comment 2 Michael Hrivnak 2014-07-03 19:26:45 UTC
This can be verified by doing "yum update --security" on rhel5 against a pulp-published repository that contains errata.

Comment 3 Preethi Thomas 2014-07-07 17:42:18 UTC
verified that yum update--security works on rhel5
[root@rhel5-pulp ~]# rpm -qa |grep pulp-consumer
pulp-consumer-client-2.4.0-0.23.beta.el5
[root@rhel5-pulp ~]#

Comment 4 Randy Barlow 2014-08-09 06:56:22 UTC
This has been fixed in Pulp 2.4.0-1.