Bug 1619680

Summary: unable to publish a content view including RH repo with a filter
Product: Red Hat Satellite Reporter: Roman Plevka <rplevka>
Component: Content ManagementAssignee: Andrew Kofink <akofink>
Status: CLOSED ERRATA QA Contact: Sanket Jagtap <sjagtap>
Severity: high Docs Contact:
Priority: high    
Version: 6.4CC: akofink, esammons, jjansky, mverma, pcreech, sjagtap
Target Milestone: 6.4.0Keywords: Regression, Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: katello-installer-base-3.7.0.6-1,tfm-rubygem-katello-3.7.0.31-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-10-16 19:26:45 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Roman Plevka 2018-08-21 13:07:34 UTC
Description of problem:
this is a regression from 6.4.0-17 (possibly caused by new version of pulp)

a publish fails whenever user tries to publish a content view that includes a CDN repo with applied content view filter.

the error:
RPM1008: Checksum type "sha256" is not available for all units in the repository. Make sure those units have been downloaded.


Version-Release number of selected component (if applicable):
6.4.0-18

# rpm -qa pulp*
pulp-ostree-plugins-1.3.0-1.el7sat.noarch
pulp-selinux-2.16.4-1.el7sat.noarch
pulp-puppet-tools-2.16.4-1.el7sat.noarch
pulp-rpm-plugins-2.16.4-1.el7sat.noarch
pulp-client-1.0-1.noarch
pulp-server-2.16.4-1.el7sat.noarch
pulp-katello-1.0.2-5.el7sat.noarch
pulp-docker-plugins-3.1.4-2.el7sat.noarch
pulp-puppet-plugins-2.16.4-1.el7sat.noarch


How reproducible:
always

Steps to Reproduce:
1. sync a cdn repo
2. create a content view (cv) and add the above repo to it
3. create a content-view package filter (inclusive or exclusive) and put a random (existing or non-existing), random operator and random (valid) value
4. publish a new cv version

Actual results:
unable to publish a content view version: RPM1008: Checksum type "sha256" is not available for all units in the repository. Make sure those units have been downloaded.

Expected results:
no problems, cv version published successfully

Additional info:

Comment 2 Andrew Kofink 2018-08-27 19:48:28 UTC
Created redmine issue https://projects.theforeman.org/issues/24730 from this bug

Comment 3 Brad Buckingham 2018-09-06 20:15:08 UTC
*** Bug 1624975 has been marked as a duplicate of this bug. ***

Comment 4 Satellite Program 2018-09-20 16:03:05 UTC
Moving this bug to POST for triage into Satellite 6 since the upstream issue https://projects.theforeman.org/issues/24730 has been resolved.

Comment 5 Patrick Creech 2018-09-21 01:31:18 UTC
Andrew,

This failed cherrypick downstream.  Can you take a look?

Comment 9 Bryan Kearney 2018-10-16 19:26:45 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2018:2927