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.
This config value is actually called remove_old_packages in the rhui branch.
committed to the RHUI branch: commit ce1dbbeee60fa79bd1a706e7df61fd08702cd822 Author: James Slagle <jslagle> Date: Mon Oct 24 15:49:52 2011 -0400
Verify remove_old_packages is set to true in /etc/pulp/pulp.conf.
[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
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
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