Bug 1804977

Summary: drpms not getting copied over cv publish
Product: Red Hat Satellite Reporter: Partha Aji <paji>
Component: Content ViewsAssignee: Partha Aji <paji>
Status: CLOSED ERRATA QA Contact: Lai <ltran>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 6.6.0CC: egolov, mmccune, roarora, wclark
Target Milestone: 6.7.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: tfm-rubygem-runcible-2.13,tfm-rubygem-katello-3.14.0.15-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1814427 (view as bug list) Environment:
Last Closed: 2020-04-14 13:28:54 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 Partha Aji 2020-02-20 01:56:24 UTC
Description of problem:
Drpms are synced ok but not copied over during content view publish

Version-Release number of selected component (if applicable): 6.6 maybe 6.7


How reproducible: always


Steps to Reproduce:
1. Create a repo with feed pointing to http://mirrors.oit.uci.edu/centos/7.6.1810/extras/x86_64/
2. Sync
3. Get the backend identifier fomr the repo details
4. ls /var/lib/pulp/published/yum/master/yum_distributor/<identifier>/...
you should see something like
drpms/    Packages/ repodata/ 
5. Now add this repo to a content view and publish
6. 
ls /var/lib/pulp/published/yum/master/yum_distributor/<org>-<cv>-Library-<backend identifier>/...



Actual results:

Packages/ repodata/ 

Note none of the drpms got to the environment.

Expected results:
drpms/    Packages/ repodata/ 


Additional info:

Comment 3 Partha Aji 2020-02-20 21:56:36 UTC
Connecting redmine issue https://projects.theforeman.org/issues/29104 from this bug

Comment 4 Bryan Kearney 2020-02-20 23:01:28 UTC
Upstream bug assigned to paji

Comment 5 Bryan Kearney 2020-02-20 23:01:30 UTC
Upstream bug assigned to paji

Comment 6 Partha Aji 2020-02-21 18:18:45 UTC
*** Bug 1714264 has been marked as a duplicate of this bug. ***

Comment 11 Lai 2020-03-09 15:55:18 UTC
Steps to test:

1. Create a repo with feed pointing to http://mirrors.oit.uci.edu/centos/7.6.1810/extras/x86_64/
2. Sync
3. Get the backend identifier fomr the repo details
4. ls /var/lib/pulp/published/yum/master/yum_distributor/<identifier>/...
you should see something like
drpms/    Packages/ repodata/ 
5. Now add this repo to a content view and publish
6. ls /var/lib/pulp/published/yum/master/yum_distributor/<org>-<cv>-Library-<backend identifier>/...



Actual results:

drpms/ Packages/ repodata/

Note none of the drpms got to the environment.

Expected results:
drpms/ Packages/ repodata/ 

Additional note: I also drilled into the drpms to verified that contents are populated in that dir and it does indeed.

Verified on 6.7.0_15

Comment 14 errata-xmlrpc 2020-04-14 13:28:54 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-2020:1454