Bug 1104157

Summary: No error is raised if fake puppet module is uploaded to a repo
Product: [Retired] Pulp Reporter: Ina Panova <ipanova>
Component: puppet-supportAssignee: pulp-bugs
Status: CLOSED NOTABUG QA Contact: pulp-qe-list
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: mhrivnak
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-05 20:58:53 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ina Panova 2014-06-03 12:00:34 UTC
Description of problem:

# pulp-admin -u admin -p admin puppet repo uploads upload --repo-id puppetrepo --file /root/fake-puppet-01.tar.gz 
+----------------------------------------------------------------------+
                              Unit Upload
+----------------------------------------------------------------------+

Extracting necessary metadata for each request...
[==================================================] 100%
Analyzing: fake-puppet-01.tar.gz
... completed

Creating upload requests on the server...
[==================================================] 100%
Initializing: fake-puppet-01.tar.gz
... completed

Starting upload of selected units. If this process is stopped through ctrl+c,
the uploads will be paused and may be resumed later using the resume command or
cancelled entirely using the cancel command.

Uploading: fake-puppet-01.tar.gz
... completed

Importing into the repository...
This command may be exited via ctrl+c without affecting the request.


[\]
Running...

Task Succeeded


Deleting the upload request...
... completed


Version-Release number of selected component (if applicable):
2.4.0-0.19.beta

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Michael Hrivnak 2014-06-05 20:58:53 UTC
Pulp does not attempt to validate correctness of the content you sync or upload. In the case of upload, pulp's only goal is to ensure that the file you tried to upload is the same file that landed on the server. Whether it is a valid iso, rpm, puppet module, docker image, etc. is not for pulp to determine.