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
2015-10-06 12:58:38 UTC
Description of problem:
Cloned from https://pulp.plan.io/issues/1264
Syncing some repos (such as F21 and F22 updates repo) results in an error and traceback.
Version-Release number of selected component (if applicable):
How reproducible:
Always according to user
Steps to Reproduce:
1. create a repo pointed to http://dl.fedoraproject.org/pub/fedora/linux/updates/22/x86_64/
2. Sync the repo
Actual results:
Error with traceback below
Expected results:
Should sync successfully.
Additional info:
Traceback (most recent call last):
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 148, in run
self.update_content(metadata_files)
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 324, in update_content
rpms_to_download, drpms_to_download = self._decide_what_to_download(metadata_files)
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 342, in decide_what_to_download
rpms_to_download, rpms_count, rpms_total_size = self._decide_rpms_to_download(metadata_files)
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 374, in _decide_rpms_to_download
wanted = self._identify_wanted_versions(package_info_generator)
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/sync.py", line 687, in _identify_wanted_versions
for model in package_info_generator:
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/repomd/packages.py", line 63, in package_list_generator
package_info = process_func(element)
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/repomd/primary.py", line 180, in process_package_element
model.raw_xml = utils.element_to_raw_xml(package_element, [rpm_namespace], COMMON_SPEC_URL)
File "/usr/lib/python2.6/site-packages/pulp_rpm/plugins/importers/yum/utils.py", line 55, in element_to_raw_xml
tree.write(io)
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 663, in write
self._write(file, self._root, encoding, {})
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 707, in _write
self._write(file, n, encoding, namespaces)
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 705, in _write
file.write(_escape_cdata(node.text, encoding))
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 807, in _escape_cdata
return _encode_entity(text)
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 792, in _encode_entity
return _encode(pattern.sub(escape_entities, text), "ascii")
File "/usr/lib64/python2.6/xml/etree/ElementTree.py", line 751, in _encode
return s.encode(encoding)
UnicodeEncodeError: 'ascii' codec can't encode character u'\U000ff004' in position 145: ordinal not in range(128)
Comment 2pulp-infra@redhat.com
2015-10-06 13:30:21 UTC
The Pulp upstream bug status is at POST. Updating the external tracker on this bug.
Comment 3pulp-infra@redhat.com
2015-10-06 13:30:22 UTC
The Pulp upstream bug priority is at High. Updating the external tracker on this bug.
Comment 4pulp-infra@redhat.com
2015-10-06 14:00:23 UTC
The Pulp upstream bug status is at MODIFIED. Updating the external tracker on this bug.
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, 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-2016:1501