Bug 1927930

Summary: pulp3 - Distribution tree parsing fails if is_layered configuration parameter is present
Product: Red Hat Satellite Reporter: Vladimír Sedmík <vsedmik>
Component: PulpAssignee: satellite6-bugs <satellite6-bugs>
Status: CLOSED ERRATA QA Contact: Vladimír Sedmík <vsedmik>
Severity: high Docs Contact:
Priority: unspecified    
Version: 6.8.0CC: egolov, jsherril, pcreech, rchan, smallamp
Target Milestone: 6.9.0Keywords: Triaged
Target Release: Unused   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: python-pulp-rpm-3.9.0-1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-04-21 13:10:34 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 Vladimír Sedmík 2021-02-11 20:55:43 UTC
Description of problem:
Content migration fails for content where 'is_layered' configuration parameter is present.


Version-Release number of selected component (if applicable):
6.9.0 snap 12
python3-pulp-2to3-migration-0.6.0-1.el7pc.noarch
tfm-rubygem-pulp_2to3_migration_client-0.5.0-1.el7sat.noarch


How reproducible:
always


Steps to Reproduce:
1. on a blank SAT run satellite-installer --foreman-proxy-plugin-pulp-pulpcore-enabled true
2. add and sync a repo where is_layered parameter is present
3. run satellite-maintain prep-6.10-upgrade
4. run satellite-maintain content prepare


Actual results:
content migration fails


Expected results:
migration should succeed


Additional info:
patch available on https://patch-diff.githubusercontent.com/raw/pulp/pulp_rpm/pull/1936.patch

Comment 2 Justin Sherrill 2021-02-15 19:03:40 UTC
This likely has the same resolution as https://bugzilla.redhat.com/show_bug.cgi?id=1925799

Will leave it open as reproduction steps are different.

Comment 3 Robin Chan 2021-03-09 16:28:48 UTC
Pulp Redmine issue is MODIFIED. Moving state to post manually until our automation is fixed.

Comment 4 Vladimír Sedmík 2021-03-29 14:47:15 UTC
Verified on snap 19.1 with python3-pulp-rpm-3.9.0-1.el7pc.noarch

The migration and switchover succeeded.

Comment 7 errata-xmlrpc 2021-04-21 13:10:34 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