Bug 966676 - orphan remove removes the content but the empty directories not deleted
Summary: orphan remove removes the content but the empty directories not deleted
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: Master
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: Preethi Thomas
URL:
Whiteboard:
: 1018949 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-05-23 16:30 UTC by Preethi Thomas
Modified: 2015-02-28 21:55 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-02-28 21:55:12 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 351 0 None None None Never

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


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