Red Hat Satellite engineering is moving the tracking of its product development work on Satellite to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "Satellite project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs will be migrated starting at the end of May. If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "Satellite project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/SAT-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1918502 - Copying an advisory also copies over unrelated content
Summary: Copying an advisory also copies over unrelated content
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Pulp
Version: Unspecified
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.9.0
Assignee: satellite6-bugs
QA Contact: Lai
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-01-20 21:32 UTC by Ian Ballou
Modified: 2021-04-21 13:25 UTC (History)
6 users (show)

Fixed In Version: python-pulp-rpm-3.9.0-1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-04-21 13:25:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 8091 0 High CLOSED - CURRENTRELEASE Copying an advisory also copies over modulemds for some reason 2021-03-08 22:07:11 UTC
Red Hat Product Errata RHSA-2021:1313 0 None None None 2021-04-21 13:25:54 UTC

Description Ian Ballou 2021-01-20 21:32:55 UTC
Description of problem:

I noticed that module stream copying has changed behavior since Katello 3.17 (pulp-rpm 3.7.0). After some searching, I noticed that errata are also copying over modulemds and I'm not sure why. There doesn't seem to be a connection between the erratum in question and the copied modulemds. Dep solving is off.

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

pulp-rpm 3.7.0

How reproducible:

Always

Steps to Reproduce:
1. Sync https://fixtures.pulpproject.org/rpm-with-modules
2. Create an empty repo in Pulp 3
3. Copy RHEA-2012:0055 to the empty repo.

Actual results:
The empty repo is populated with content unrelated to the erratum

Expected results:
The empty repo will be populated with only content related to the erratum

Additional info:
The issue is already fixed upstream. I'm putting this here since it will affect Satellite 6.9.

Comment 1 pulp-infra@redhat.com 2021-03-08 22:07:11 UTC
The Pulp upstream bug status is at CLOSED - CURRENTRELEASE. Updating the external tracker on this bug.

Comment 2 pulp-infra@redhat.com 2021-03-08 22:07:12 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.

Comment 4 Lai 2021-03-18 16:06:07 UTC
Steps to retest:

1) Sync https://fixtures.pulpproject.org/rpm-with-modules
2) Create a content view with that repo in it
3) Create an errata filter to include only RHEA-2012:0055
4) Publish a new content view version
5) Check cvv that no module streams are included

Expected result:
There shouldn't be any module streams included

Actual:
No module streams are include.

I do see the following content is in the CVV as expected:
  a) RHEA-2012:0055 
  b) penguin 	0.9.1
  c) shark 	0.1
  d) walrus 	5.21

Verified on 6.9.0_017 with python3-pulp-rpm-3.9.0-1.el7pc.noarch

Comment 7 errata-xmlrpc 2021-04-21 13:25:36 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 (Moderate: Satellite 6.9 Release), 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-2021:1313


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