Project

Profile

Help

Issue #4059

Updated by ipanova@redhat.com over 5 years ago

As of now if rpm is uploaded the storage path will look like: 
 <pre> 
	 "_storage_path" : "/var/lib/pulp/content/units/rpm/d8/35d09b8cb744866dfd913f1f4fa64700683c1199351350c770e67760ce03a0/73744eb6-01df-4386-a647-2fe64cc95c8e", 

 </pre> 

 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

Back