Project

Profile

Help

Issue #4059

closed

During rpm upload filename should be preserved in the storage path

Added by ipanova@redhat.com over 5 years ago. Updated almost 4 years ago.

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

Description

As of now if rpm is uploaded the storage path will look like:

    "_storage_path" : "/var/lib/pulp/content/units/rpm/d8/35d09b8cb744866dfd913f1f4fa64700683c1199351350c770e67760ce03a0/73744eb6-01df-4386-a647-2fe64cc95c8e",

Instead of the filename, the upload_id is used during the construction of storage path.

This will lead to the rsync publish distributor to publish files without trailing filename since it uses the _storage_path

https://github.com/pulp/pulp_rpm/blob/2-master/plugins/pulp_rpm/plugins/importers/yum/upload.py#L441
https://github.com/pulp/pulp/blob/2-master/server/pulp/plugins/util/publish_step.py#L1376


Related issues

Related to RPM Support - Issue #4798: Rpm file uploaded/published successfully but not accessibleCLOSED - WONTFIXActions
Related to RPM Support - Issue #5419: Regression - rpm_basefilename tests failuresCLOSED - CURRENTRELEASEggaineyActions

Also available in: Atom PDF