Bug 748555

Summary: Change remove_old_packages to true
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: James Slagle <jslagle>
Component: RHUAAssignee: James Slagle <jslagle>
Status: CLOSED ERRATA QA Contact: mkovacik
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 2.0.1CC: igulina, kbidarka, sghai, tsanders
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-01 22:07:29 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:
Bug Depends On:    
Bug Blocks: 746803    

Description James Slagle 2011-10-24 19:47:54 UTC
The remove_old_versions config value is defaulted to false, so that means that all old versions are kept.

We already have num_old_pkgs_keep: 2, but nothing will ever get pruned if remove_old_versions is false.

Comment 1 James Slagle 2011-10-24 19:49:03 UTC
This config value is actually called remove_old_packages in the rhui branch.

Comment 2 James Slagle 2011-10-24 19:50:13 UTC
committed to the RHUI branch:
commit ce1dbbeee60fa79bd1a706e7df61fd08702cd822
Author: James Slagle <jslagle>
Date:   Mon Oct 24 15:49:52 2011 -0400

Comment 4 James Slagle 2011-10-25 12:20:40 UTC
Verify remove_old_packages is set to true in /etc/pulp/pulp.conf.

Comment 5 Kedar Bidarkar 2011-10-26 11:41:50 UTC
[root@dhcp201-133 mnt]# cat /etc/pulp/pulp.conf | grep -i remove_old_packages
remove_old_packages: true

[root@dhcp201-133 mnt]# rpm -qav | grep -ie pulp -ie rhui
rh-rhel6optional-rhui12-2.7-1.el6.noarch
pulp-0.0.214-7.el6.noarch
pulp-common-0.0.214-7.el6.noarch
rh-rhui-tools-2.0.44-1.el6.noarch
pulp-client-0.0.214-7.el6.noarch

Comment 6 James Slagle 2011-10-31 19:16:16 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document

Comment 10 errata-xmlrpc 2017-03-01 22:07:29 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/RHBA-2017:0367