Actions
Issue #1765
closedNeed docs: content exported to the custom directory is not removed after repository deletion
Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Pulp 2
Sprint:
Quarter:
Description
If you export your repository with --export-dir option and then delete the repo, the specified directory won't be removed.
Create a repo.
$ pulp-admin rpm repo create --repo-id repo1
Export it to the custom directory (which should be writable by apache user).
$ pulp-admin rpm repo export run --export-dir /tmp/x --repo-id repo1
repo1 is exported to the /tmp/x directory.
$ ls -l /tmp/x/repo1/
total 0
drwxr-xr-x. 2 apache apache 160 Mar 10 11:36 repodata
Delete your repo.
$ pulp-admin rpm repo delete --repo-id repo1
All the exported content is still in the directory we specified.
$ ls -l /tmp/x/repo1/
total 0
drwxr-xr-x. 2 apache apache 160 Mar 10 11:36 repodata
It affects at least 2.7 and 2.8.
Actions