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 2151333 - Mirror complete sync policy no longer allowed with ignored content types in the repo.
Summary: Mirror complete sync policy no longer allowed with ignored content types in t...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.10.0
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: 6.13.0
Assignee: Samir Jha
QA Contact: Ian Ballou
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-12-06 18:34 UTC by Samir Jha
Modified: 2024-04-01 15:29 UTC (History)
7 users (show)

Fixed In Version: rubygem-katello-4.7.0.1
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-05-03 13:23:27 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Foreman Issue Tracker 35829 0 High Closed Mirror complete sync policy no longer allowed with ignored content types in the repo. 2023-06-12 13:54:32 UTC
Red Hat Issue Tracker SAT-14240 0 None None None 2022-12-08 15:49:26 UTC
Red Hat Knowledge Base (Solution) 7006888 0 None None None 2023-04-10 10:43:19 UTC
Red Hat Product Errata RHSA-2023:2097 0 None None None 2023-05-03 13:23:34 UTC

Description Samir Jha 2022-12-06 18:34:50 UTC
https://community.theforeman.org/t/smart-proxy-sync-issue/31479

<pre>
HTTP status code: 400
Response headers: {"date"=>"Tue, 06 Dec 2022 08:46:13 GMT", "server"=>"gunicorn", "content-type"=>"application/json", "vary"=>"Accept,Cookie", "allow"=>"POST, OPTIONS", "x-frame-options"=>"DENY", "content-length"=>"80", "x-content-type-options"=>"nosniff", "referrer-policy"=>"same-origin", "correlation-id"=>"db6665cc-ac06-4170-bb9d-307854ced663", "access-control-expose-headers"=>"Correlation-ID", "via"=>"1.1 ukwdr-foremanp-01.iongroup.net", "connection"=>"close"}
Response body: ["Cannot use 'skip_types' in combination with a 'mirror_complete' sync policy."]
</pre>

Comment 1 Samir Jha 2022-12-06 18:34:53 UTC
Created from redmine issue https://projects.theforeman.org/issues/35829

Comment 2 Samir Jha 2022-12-06 18:34:55 UTC
Upstream bug assigned to None

Comment 3 Samir Jha 2022-12-06 18:38:06 UTC
Proposing this for 6.13 as this impacts all yum repo capsule syncs where Ignore SRPMs is set to true.

Testing steps:

1. Create a repo with Ignore SRPMs checked and Mirroring Policy: Complete mirroring
2. Sync > You should hit the error.
3. If you have a capsule in the environment, try syncing the capsule and you'll see the error for any repos with Ignore SRPMs checked regardless of mirroring policy on the repo.

Comment 4 Bryan Kearney 2022-12-08 00:03:31 UTC
Moving this bug to POST for triage into Satellite since the upstream issue https://projects.theforeman.org/issues/35829 has been resolved.

Comment 5 Ian Ballou 2023-01-09 22:13:58 UTC
Verified!

I am no longer able to set the skip types on repositories that have complete mirroring set. I also tried the migration manually to verify that it works.

Comment 8 errata-xmlrpc 2023-05-03 13:23:27 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 (Important: Satellite 6.13 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-2023:2097


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