Project

General

Profile

Actions

Bug #31994

open

Smart proxy (Pulp2) fails to validate file size for tgz from the manifest generated by Foreman (Pulp3)

Added by Dana Vatavu about 3 years ago.

Status:
New
Priority:
High
Assignee:
-
Category:
Smart Proxy
Target version:
-
Difficulty:
Triaged:
No
Fixed in Releases:
Found in Releases:

Description

Katello version: 3.15.2
Foreman version: 2.0.1

Steps to reproduce the scenario:

1. Create a content view over a repo which contains tgz files
2. Promote the CV to the LE to which your smart proxy is subscribed
3. Sync the Content over your smart proxy

Expected result:
Smart proxy should be synced with success
Actual result
Smart proxy syncs with warnings saying that the tgz files couldn't be downloaded due to size mismatch.

Error message: *Downloading the Pulp Manifest...

Task Failed

[{'name': u'k8s-db-manager/k8s-db-manager-0.0.0.tgz', 'error': 'Downloading <k8s-db-manager/k8s-db-manager-0.0.0.tgz> failed validation. The manifest specified that the file should be 1646 bytes, but the downloaded file is 5120 bytes.'}]*

To be noticed that the tgz size is 1646 bytes indeed but the content of the tgz file is 5120 bytes.

Notice: Using tar.gz compression works as expected.

No data to display

Actions

Also available in: Atom PDF