Bug 966676

Summary: orphan remove removes the content but the empty directories not deleted
Product: [Retired] Pulp Reporter: Preethi Thomas <pthomas>
Component: user-experienceAssignee: pulp-bugs
Status: CLOSED UPSTREAM QA Contact: Preethi Thomas <pthomas>
Severity: unspecified Docs Contact:
Priority: low    
Version: MasterCC: cduryee, jsherril, mhrivnak, skarmark
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-02-28 21:55:12 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:

Description Preethi Thomas 2013-05-23 16:30:38 UTC
Description of problem:
After the contents are removed by orphan remove, the empty directories needs to be cleaned up as well

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

[root@qeblade3 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.13.alpha.fc18.noarch

How reproducible:


Steps to Reproduce:
1. create and sync a repo
2.Delete the repo
3. Orphan remove the content
4. see that  /var/lib/pulp/content/rpm/../.. are still exisiting


Actual results:


Expected results:


Additional info:

Comment 1 Preethi Thomas 2013-05-23 16:31:11 UTC
[root@qeblade3 ~]# ls -l /var/lib/pulp/content/rpm/zip/3.0/5.fc18/x86_64/b0f6819fa2d78ab38a8656cc6b41b784892f5829a9cc8f2cbc503703e92fa19f/Packages/z/
total 0
[root@qeblade3 ~]# rpm -q pulp-server
pulp-server-2.2.0-0.13.alpha.fc18.noarch
[root@qeblade3 ~]#

Comment 2 Chris Duryee 2014-11-07 22:54:13 UTC
This bug is still outstanding as of 2.5.0.

Comment 3 Chris Duryee 2014-11-07 22:58:14 UTC
*** Bug 1018949 has been marked as a duplicate of this bug. ***

Comment 4 Brian Bouterse 2015-02-28 21:55:12 UTC
Moved to https://pulp.plan.io/issues/351