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.

Also available in: Atom PDF