Bug 691841
Summary: | content upload lets you upload same file multiple times if the checksums are different. | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Preethi Thomas <pthomas> |
Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | unspecified | ||
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: | 2011-08-16 14:02:39 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 641987 |
Description
Preethi Thomas
2011-03-29 15:40:21 UTC
$ sudo pulp-admin content upload --repoid=myupload --dir=files/ -v * Starting Content Upload * Performing Content Uploads to Pulp server Successfully uploaded [testup2.txt] to server * Performing Repo Associations Content association Complete for Repo [myupload]: Packages: None Files: testup2.txt * Content Upload complete. $ echo 3 > files/testup2.txt $ sudo pulp-admin content upload --repoid=myupload --dir=files/ -v * Starting Content Upload * Performing Content Uploads to Pulp server Successfully uploaded [testup2.txt] to server * Performing Repo Associations Content association Complete for Repo [myupload]: Packages: None Files: testup2.txt * Content Upload complete. $ sudo pulp-admin repo content --id=myupload +------------------------------------------+ Contents of myupload +------------------------------------------+ Packages in myupload: none Errata in myupload: none Files in myupload: test4.iso test2.iso testup2.txt testup2.txt $ sudo pulp-admin content upload --repoid=myupload --dir=files/ -v * Starting Content Upload * Performing Content Uploads to Pulp server Content [testup2.txt] already exists on the server with checksum [1121cfccd5913f0a63fec40a6ffd44ea64f9dc135c66634ba001d10bcf4302a2] * Performing Repo Associations Content association Complete for Repo [myupload]: Packages: None Files: testup2.txt * Content Upload complete. $ sudo pulp-admin repo content --id=myupload +------------------------------------------+ Contents of myupload +------------------------------------------+ Packages in myupload: none Errata in myupload: none Files in myupload: test4.iso test2.iso testup2.txt testup2.txt from what I see this is working exactly as intended. When the checksums are different we allow the upload; if a file with same checksum exists we skip the upload with a warning. misunderstanding on my part moving to verified Closing with Community Release 15 pulp-0.0.223-4. |