Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 1932259

Summary: pulp3: Publishing a yum CV with Ignorable Content failed after migration
Product: Red Hat Satellite Reporter: Stephen Wadeley <swadeley>
Component: RepositoriesAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED NOTABUG QA Contact: Stephen Wadeley <swadeley>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.9.0CC: jsherril, smallamp
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-03-03 11:34:46 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 Stephen Wadeley 2021-02-24 11:50:23 UTC
Description of problem:

On a system migrated to pulp3
attempting to publish a yum CV, which includes a repo with "Ignorable Content: Source RPM" fails

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


How reproducible:


Steps to Reproduce:
1. Create yum CV containing:
 custom repo of fake errata[1]
 and repo with source RPM and select to exclude the source files "Ignorable Content: Source RPM"
2. sync
3. migrate to Pulp3
4. attempt to publish to Library

Actual results:

State: paused
Error message: the server returns an error
HTTP status code: 400
Response headers: {"Date"=>"Tue, 23 Feb 2021 16:23:37 GMT", "Server"=>"gunicorn/20.0.4", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"POST, OPTIONS", "X-Frame-Options"=>"SAMEORIGIN", "Content-Length"=>"55", "Via"=>"1.1 dhcp-2-116.vms.sat.rdu2.redhat.com", "Connection"=>"close"}
Response body: ["URI not valid: 02f61824-8465-46b3-85a1-cf1c921867bc"]

Action:

Actions::Pulp3::Repository::MultiCopyContent

Exception:

PulpRpmClient::ApiError: Error message: the server returns an error
HTTP status code: 400
Response headers: {"Date"=>"Tue, 23 Feb 2021 16:23:37 GMT", "Server"=>"gunicorn/20.0.4", "Content-Type"=>"application/json", "Vary"=>"Accept,Cookie", "Allow"=>"POST, OPTIONS", "X-Frame-Options"=>"SAMEORIGIN", "Content-Length"=>"55", "Via"=>"1.1 dhcp-2-116.vms.sat.rdu2.redhat.com", "Connection"=>"close"}
Response body: ["URI not valid: 02f61824-8465-46b3-85a1-cf1c921867bc"]

Expected results:

CV is published and promoted to Library


Additional info:
[1] https://stephenw.fedorapeople.org/fakerepos/multiple_errata/
[2] https://partha.fedorapeople.org/test-repos/repo-with-src-rpm/

Comment 1 Justin Sherrill 2021-02-25 16:02:40 UTC
after some digging, it looks like the switchover rake task failed, but its unclear what the cause of it was.  However since the installer to reconfigure to use pulp3 was run, lots of things broke afterwards.  Stephen is gonna retest on the latest snap and make sure to record output.

Comment 2 Justin Sherrill 2021-02-25 16:13:27 UTC
*** Bug 1930800 has been marked as a duplicate of this bug. ***

Comment 3 Justin Sherrill 2021-03-02 00:42:46 UTC
Marking as needinfo on stephen until he re-tests

Comment 4 Stephen Wadeley 2021-03-03 11:34:46 UTC
Hello

Testing with system built on Sat6.9 snap 15:

Successfully published YumCV version 2.0 and promoted to Library

-----------------------

To get a system based on Sat6.9 snap 15 built for testing requires patches or code edits related to these bugs:
Bug 1927930 - pulp3 - Distribution tree parsing fails if is_layered configuration parameter is present
BZ#1913470 – Migration plugin can't query content from mongo in order



but they are blocking migration, rather than the specific problem mentioned in this bug, so I will close as NOTABUG.

Thank you