Bug 1619680 - unable to publish a content view including RH repo with a filter
Summary: unable to publish a content view including RH repo with a filter
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Management
Version: 6.4
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: 6.4.0
Assignee: Andrew Kofink
QA Contact: Sanket Jagtap
URL:
Whiteboard:
: 1624975 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-08-21 13:07 UTC by Roman Plevka
Modified: 2019-11-05 23:33 UTC (History)
6 users (show)

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:
Clone Of:
Environment:
Last Closed: 2018-10-16 19:26:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 24730 0 High Closed unable to publish a content view including RH repo with a filter 2021-02-09 10:54:19 UTC

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


Note You need to log in before you can comment on or make changes to this bug.