Issue #1765
closedNeed docs: content exported to the custom directory is not removed after repository deletion
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.
Updated by mhrivnak almost 9 years ago
- Subject changed from All the content exported to the custom directory is not removed after repository deletion to Need docs: content exported to the custom directory is not removed after repository deletion
- Triaged changed from No to Yes
- Tags Documentation added
Updated by bmbouter over 5 years ago
- Status changed from NEW to CLOSED - WONTFIX
Updated by bmbouter over 5 years ago
Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.