Actions
Issue #2512
closedPuppet Importer swallows exception when one is raised during upload
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
2.13.0
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 18
Quarter:
Description
The upload_unit method in the Puppet Importer[0] catches an exception experienced during upload and then returns a generic progress report. As a result the actual exception is never propagated to the user.
This problem can be reproduced with the following steps:
pulp-admin puppet repo create --repo-id blah
touch blah-blah-1.2.1.tar.gz
pulp-admin puppet repo uploads upload -f blah-blah-1.2.1.tar.gz --repo-id blah
Related issues
Actions
Allow puppet upload errors to propagate
Changing upload errors to PulpCodedExceptions so they can propagate the error message to the user.
closes #2512 https://pulp.plan.io/issues/2512