Project

Profile

Help

Issue #2512

closed

Puppet Importer swallows exception when one is raised during upload

Added by dkliban@redhat.com almost 8 years ago. Updated over 5 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Normal
Assignee:
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

[0] https://github.com/pulp/pulp_puppet/blob/2.11-dev/pulp_puppet_plugins/pulp_puppet/plugins/importers/importer.py#L83


Related issues

Related to Puppet Support - Issue #2500: ValueError exception is raised when uploading module with invalid nameCLOSED - CURRENTRELEASEdaviddavisActions
Related to RPM Support - Issue #2543: RPM Importer swallows exception when one is raised during uploadCLOSED - CURRENTRELEASEfdobrovoActions

Also available in: Atom PDF