Bug 1804977 - drpms not getting copied over cv publish
Summary: drpms not getting copied over cv publish
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Content Views
Version: 6.6.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.7.0
Assignee: Partha Aji
QA Contact: Lai
URL:
Whiteboard:
: 1714264 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-02-20 01:56 UTC by Partha Aji
Modified: 2020-04-14 13:29 UTC (History)
4 users (show)

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:
Clone Of:
: 1814427 (view as bug list)
Environment:
Last Closed: 2020-04-14 13:28:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 29104 0 Normal Closed drpms not getting copied over cv publish 2020-09-30 19:52:46 UTC
Github Katello katello pull 8575 0 None closed Fixes #29104 - Copies drpms correctly 2020-09-30 19:52:40 UTC
Github Katello runcible pull 218 0 None closed Refs #29104 - Adding a drpm unit type 2020-09-30 19:52:40 UTC
Red Hat Product Errata RHSA-2020:1454 0 None None None 2020-04-14 13:29:03 UTC

Internal Links: 1720369

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


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