Bug 748555 - Change remove_old_packages to true
Summary: Change remove_old_packages to true
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 2.0.1
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: James Slagle
QA Contact: mkovacik
URL:
Whiteboard:
Depends On:
Blocks: tracker-rhui-2.0.1
TreeView+ depends on / blocked
 
Reported: 2011-10-24 19:47 UTC by James Slagle
Modified: 2017-03-01 22:07 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Do not document
Clone Of:
Environment:
Last Closed: 2017-03-01 22:07:29 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0367 0 normal SHIPPED_LIVE Red Hat Update Infrastructure 3.0 Release 2017-03-02 03:05:22 UTC

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


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