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 - pulp3: Publishing a yum CV with Ignorable Content failed after migration
Summary: pulp3: Publishing a yum CV with Ignorable Content failed after migration
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Satellite
Classification: Red Hat
Component: Repositories
Version: 6.9.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: 6.9.0
Assignee: satellite6-bugs
QA Contact: Stephen Wadeley
URL:
Whiteboard:
: 1930800 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-02-24 11:50 UTC by Stephen Wadeley
Modified: 2021-03-04 13:34 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-03-03 11:34:46 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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


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