Project

Profile

Help

Issue #2105

closed

Importing iso content without cleaning up orphan from previous import fails

Added by bmbouter over 7 years ago. Updated over 3 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.11.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

Consider this reproducer. Observe the following upload works.

pulp-admin iso repo delete --repo-id test
pulp-admin orphan remove --all
pulp-admin iso repo create --repo-id test
pulp-admin iso repo uploads upload --file cow-2.2-3.noarch.rpm  --repo-id test

Now delete but don't remove orphans

pulp-admin iso repo delete --repo-id test

Now try to create and upload again and observe the same traceback.

pulp-admin iso repo create --repo-id test
pulp-admin iso repo uploads upload --file cow-2.2-3.noarch.rpm  --repo-id test

The user will see this error specifically:

Task Failed

The importer iso_importer indicated a failed response when uploading iso unit to
repository test.
Actions #1

Updated by amacdona@redhat.com over 7 years ago

  • Triaged changed from No to Yes
Actions #2

Updated by rmcgover over 7 years ago

  • Version set to 2.11.0

This doesn't only affect delete/create repo without cleaning orphans, but also simply trying to upload the same file to more than one repo, e.g.

pulp-admin iso repo uploads upload --file testfile.txt  --repo-id test
pulp-admin iso repo uploads upload --file testfile.txt  --repo-id test2

In that example, the second command will fail with the same message reported here.
It differs from RPM upload behavior, where the existing unit in the DB will be found and associated.

Actions #3

Updated by martin1234 over 5 years ago

  • File 1991372_1.jpg added
Actions #4

Updated by bmbouter over 5 years ago

  • File deleted (1991372_1.jpg)
Actions #5

Updated by bmbouter about 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX

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

Updated by bmbouter about 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF