Hide Forgot
Description of problem: When pulp-purge-packages script is ran on cds, orphaned packages are not removed. Version-Release number of selected component (if applicable): rh-rhui-tools-2.1.27-1.el6_4.noarch How reproducible: always Steps to Reproduce: 1. Add rh repo 2. Associate repo with cds 3. Sync repo 4. Sync cds 5. Delete repo 6. Sync cds 7. Stop httpd on cds 8. Run pulp-purge-packages script Actual results: No orphaned packages deleted Expected results: Orphaned packages should be deleted. Additional info: [root@cds1 ~]# pulp-purge-packages 2013-10-30 11:57:31,070 - Starting run of /usr/bin/pulp-purge-packages WARNING: httpd must be stopped before this script can be run. WARNING: This script will delete all packages not associated with any repositories. Including packages that were uploaded with the 'pulp-admin content upload' command. Continue? Y/N: y 2013-10-30 11:57:33,532 - Detecting packages and repository directories. 2013-10-30 11:57:33,533 - Could not detect packages and repository directories. 2013-10-30 11:57:33,534 - Exiting.
pulp commit: https://github.com/splice/pulp/commit/079bff82d0ab4db6e278b92ac322ce8dbfdbddee
Fix in pulp-0.0.263-40
Tested in pulp-0.0.263-40 Move to Verified.
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/RHBA-2013-1854.html