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.
DescriptionJustin Sherrill
2021-04-28 20:59:11 UTC
Description of problem:
Traceback seen:
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 294, in run
self.update_content(metadata_files, url)
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 627, in update_content
purge.purge_unwanted_units(metadata_files, self.conduit, self.config, catalog)
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/purge.py", line 45, in purge_unwanted_units
remove_missing_errata(metadata_files, conduit)
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/purge.py", line 148, in remove_missing_errata
updateinfo.process_package_element)
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/purge.py", line 277, in get_remote_units
for unit in package_info_generator:
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/packages.py", line 64, in package_list_generator
package_info = process_func(element)
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 33, in process_package_element
pkglists = map(_parse_pkglist, element.findall('pkglist') or [])
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 102, in _parse_pkglist
return map(_parse_collection, element.findall('collection') or [])
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 116, in _parse_collection
ret['module'] = _parse_module(module_elements[0])
File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 171, in _parse_module
'name': element.attrib['name'],
KeyError: 'name'
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. Sync to a satellite http://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os
or https://cdn.redhat.com/content/dist/rhel8/8.3/x86_64/appstream/kickstart/
2. Perform pulp 2to3 migration and switchover
3. Sync these two repos to a pulp2 capsule
Its unclear if the content has to be migrated or if the problem can be reproduced if the upstream repos are synced to pulp3 directly
Actual results:
error
Expected results:
no error
Additional info:
Comment 3pulp-infra@redhat.com
2021-06-07 19:38:52 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 4pulp-infra@redhat.com
2021-06-07 19:38:53 UTC
The Pulp upstream bug priority is at Normal. Updating the external tracker on this bug.
Comment 5pulp-infra@redhat.com
2021-06-10 16:19:30 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 6pulp-infra@redhat.com
2021-06-18 22:07:40 UTC
The Pulp upstream bug status is at NEW. Updating the external tracker on this bug.
Comment 7pulp-infra@redhat.com
2021-07-15 14:07:18 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 8pulp-infra@redhat.com
2021-07-27 20:07:05 UTC
The Pulp upstream bug status is at ASSIGNED. Updating the external tracker on this bug.
Comment 11Tanya Tereshchenko
2021-07-28 20:37: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 (Satellite 6.9.6 Async Bug Fix Update), 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/RHBA-2021:3628
Description of problem: Traceback seen: Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 294, in run self.update_content(metadata_files, url) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 627, in update_content purge.purge_unwanted_units(metadata_files, self.conduit, self.config, catalog) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/purge.py", line 45, in purge_unwanted_units remove_missing_errata(metadata_files, conduit) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/purge.py", line 148, in remove_missing_errata updateinfo.process_package_element) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/purge.py", line 277, in get_remote_units for unit in package_info_generator: File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/packages.py", line 64, in package_list_generator package_info = process_func(element) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 33, in process_package_element pkglists = map(_parse_pkglist, element.findall('pkglist') or []) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 102, in _parse_pkglist return map(_parse_collection, element.findall('collection') or []) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 116, in _parse_collection ret['module'] = _parse_module(module_elements[0]) File "/usr/lib/python2.7/site-packages/pulp_rpm/plugins/importers/yum/repomd/updateinfo.py", line 171, in _parse_module 'name': element.attrib['name'], KeyError: 'name' Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. Sync to a satellite http://cdn.redhat.com/content/dist/rhel8/8/x86_64/appstream/os or https://cdn.redhat.com/content/dist/rhel8/8.3/x86_64/appstream/kickstart/ 2. Perform pulp 2to3 migration and switchover 3. Sync these two repos to a pulp2 capsule Its unclear if the content has to be migrated or if the problem can be reproduced if the upstream repos are synced to pulp3 directly Actual results: error Expected results: no error Additional info: