Bug 1932259
| Summary: | pulp3: Publishing a yum CV with Ignorable Content failed after migration | ||
|---|---|---|---|
| Product: | Red Hat Satellite | Reporter: | Stephen Wadeley <swadeley> |
| Component: | Repositories | Assignee: | satellite6-bugs <satellite6-bugs> |
| Status: | CLOSED NOTABUG | QA Contact: | Stephen Wadeley <swadeley> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 6.9.0 | CC: | jsherril, smallamp |
| Target Milestone: | 6.9.0 | Keywords: | 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: | |||
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. *** Bug 1930800 has been marked as a duplicate of this bug. *** Marking as needinfo on stephen until he re-tests 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 |
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/