Project

Profile

Help

Issue #1402

RPM and SRPM uploaded units have client specified checksum and checksumtype field in unit_metadata when docs specify it should be unit_key

Added by bmbouter almost 6 years ago. Updated over 2 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:

Description

The platform docs[0] specify that when uploading you can specify unit_key and unit_metadata. These section correspond with importers across the docs including the importer that handles ingestion of RPM and SRPM content. Both the RPM[1] and SRPM[2] docs identify these fields as part of the unit_key which means when uploading they are expected to be in the unit_key field of the upload call.

Currently the platform code will not work if you put checksum and checksumtype in unit_key, and will only work if you put them in unit_metadata. Given what the docs say, the current behavior is wrong. This is a bug for the API, the related bug is to update pulp-admin to have pulp-admin send the data correctly.

[0]: http://pulp.readthedocs.org/en/2.7-release/dev-guide/integration/rest-api/content/upload.html#import-into-a-repository
[1]: http://pulp-rpm.readthedocs.org/en/2.7-release/tech-reference/yum-plugins.html#unit-key
[2]: http://pulp-rpm.readthedocs.org/en/2.7-release/tech-reference/yum-plugins.html#id1


Related issues

Blocks RPM Support - Issue #1403: Update pulp-admin upload for RPM to have client specified checksum and checksumtype fields sent with unit_keyCLOSED - WONTFIX<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

History

#1 Updated by bmbouter almost 6 years ago

  • Blocks Issue #1403: Update pulp-admin upload for RPM to have client specified checksum and checksumtype fields sent with unit_key added

#2 Updated by mhrivnak almost 6 years ago

  • Triaged changed from No to Yes

#3 Updated by ttereshc almost 6 years ago

  • Status changed from NEW to ASSIGNED
  • Assignee set to ttereshc

#4 Updated by ttereshc almost 6 years ago

  • Status changed from ASSIGNED to NEW
  • Assignee deleted (ttereshc)

#5 Updated by bmbouter over 2 years ago

  • Status changed from NEW to CLOSED - WONTFIX

#6 Updated by bmbouter over 2 years ago

  • Tags Pulp 2 added

Please register to edit this issue

Also available in: Atom PDF