Project

Profile

Help

Issue #1765

closed

Need docs: content exported to the custom directory is not removed after repository deletion

Added by ttereshc over 6 years ago. Updated about 3 years ago.

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 #1

Updated by mhrivnak over 6 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
Actions #2

Updated by bmbouter about 3 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #3

Updated by bmbouter about 3 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.

Actions #4

Updated by bmbouter about 3 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF