Bug 677662
Summary: | ServicesConnection.upload() should not throw an exception when uploaded package exists | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Daniel Mach <dmach> |
Component: | z_other | Assignee: | Pradeep Kilambi <pkilambi> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | unspecified | CC: | pkilambi, skarmark |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | Sprint 21 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2011-08-16 12:11:26 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: | 563609, 647488 |
Description
Daniel Mach
2011-02-15 14:18:57 UTC
fixed this as part of upload rewrite. Build: 0.141 verified [root@preethi ~]# rpm -q pulp pulp-0.0.144-1.fc14.noarch [root@preethi ~]# pulp-admin content upload -r upload2 /root/upload/gofer-0.20-1.fc14.noarch.rpm -v * Starting Package Upload * Performing Package Uploads to Pulp server Package [/root/upload/gofer-0.20-1.fc14.noarch.rpm] is not signed. Please use --nosig. Skipping No applicable content to associate. [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# [root@preethi ~]# pulp-admin content upload -r upload2 /root/upload/gofer-0.20-1.fc14.noarch.rpm --nosig -v * Starting Package Upload * Performing Package Uploads to Pulp server Successfully uploaded [gofer-0.20-1.fc14.noarch.rpm] to server * Performing Repo Associations Package association Complete for Repo [upload2]: Packages: gofer-0.20-1.fc14.noarch.rpm Files: None * Content Upload complete. [root@preethi ~]# pulp-admin content upload -r upload2 /root/upload/gofer-0.20-1.fc14.noarch.rpm --nosig -v * Starting Package Upload * Performing Package Uploads to Pulp server Package [gofer-0.20-1.fc14.noarch.rpm] already exists on the server with checksum [37f3605eabbb0ef9fb73f504b84422036e9af17f3d6247d594e610ca2a727df2] * Performing Repo Associations Package association Complete for Repo [upload2]: Packages: gofer-0.20-1.fc14.noarch.rpm Files: None * Content Upload complete. Closing with Community Release 15 pulp-0.0.223-4. Closing with Community Release 15 pulp-0.0.223-4. |