Issue #1238
remove orphaned content does not perform full cleanup
Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.8.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
The remove all orphaned content API leaves behind directories containing listing files and symlinks to nonexistent content.
Steps to rerpoduce:
1. Create repo
2. Sync repo
3. Delete repo
4. Hit the /pulp/api/v2/content/orphans/ endppoint
5. Observe the content of /var/lib/pulp/content
I am attaching a sample of directory structure of /var/lib/pulp after deleting orphaned content
Related issues
Associated revisions
Revision 39c2d6b8
View on GitHub
fix regex to remove content and empty directories on orphan cleanup
closes #1238
History
#2
Updated by mhrivnak over 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
#3
Updated by mhrivnak over 5 years ago
- Status changed from ASSIGNED to NEW
- Assignee deleted (
amacdona@redhat.com) - Triaged changed from No to Yes
#4
Updated by amacdona@redhat.com about 5 years ago
- Status changed from NEW to ASSIGNED
- Assignee set to amacdona@redhat.com
#5
Updated by amacdona@redhat.com about 5 years ago
- Has duplicate Issue #351: orphan remove removes the content but the empty directories not deleted added
#6
Updated by amacdona@redhat.com about 5 years ago
- Status changed from ASSIGNED to POST
#7
Updated by amacdona@redhat.com about 5 years ago
- Status changed from POST to MODIFIED
#8
Updated by dkliban@redhat.com almost 5 years ago
- Status changed from MODIFIED to 5
#9
Updated by dkliban@redhat.com almost 5 years ago
- Status changed from 5 to CLOSED - CURRENTRELEASE
#11
Updated by bmbouter almost 2 years ago
- Tags Pulp 2 added
Please register to edit this issue
fix regex to remove content and empty directories on orphan cleanup
closes #1238