Bug 1104157 - No error is raised if fake puppet module is uploaded to a repo
Summary: No error is raised if fake puppet module is uploaded to a repo
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Pulp
Classification: Retired
Component: puppet-support
Version: unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-03 12:00 UTC by Ina Panova
Modified: 2014-06-05 20:58 UTC (History)
1 user (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2014-06-05 20:58:53 UTC
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.