[Pulp-list] 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte

darn570-linux at yahoo.com darn570-linux at yahoo.com
Fri Feb 26 02:43:53 UTC 2021


Up to date CentOS Linux release 7.9.2009 (Core) system running latest pulp-server-2.21.5-1.el7. Just upgraded from 2.12.1 to get away from a different issue.
 
Since then bumping into this issue, which looks identical to Matthew Madey’s post from Wed, 24 Oct 2018. This occurs during the publish.
 Here is a few example repositories I'm experiencing this on.
centos-7-x86_64-os
rhel-6-x86_64-server-supplementary
centos-7-x86_64-extras
 
Feb 25 13:08:49 triggerfish pulp: pulp.server.async.tasks:INFO: [dda23f00] Task failed : [dda23f00-614d-4b1e-8648-d4139f80ab7a]
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984) Task pulp.server.managers.repo.publish.publish[dda23f00-614d-4b1e-8648-d4139f80ab7a] raised unexpected: UnicodeDecodeError('utf8', 'x\x9c\xad\x96\xc1R\x830\x10\x86\xef}\x8aL\xee%cG\xd1\x03\xedE}\x00/^\x994\xd9\xd2HHb\x12:2\x8e\xef\xee\x16\xb0\xce8\xad-\x94\x0b\x04\xd8\xff\xdbM\xd8\xdd$s\\\x94\xbc\x00\xc2\xbd\xd8.\xe9\xc7C\x9a\xa7\xb7\x94\x18^\xc1\x92\xbe\xc7\xbb\xf9{\x04S(\xa3\xec\\\xc2\x0e4%\xae,\x94\\\xd2\xcf\xcfnD\xbe\xbe\xe8jFH\xb6\x03\x1f\x945\x04\x9c\xdd\x93n(\xf1\xa0\x97t\x91\x80\xbe\xa7\x04\xbf\xe2\xbb$M\x16\x94\xb0\xd6~\xa34\xacX\x1d<SF\xe8Z\x02Cw\xec\xb9s\xc6Z\xd3\xc3\x93\xf3j\xc7#0\xb1\xadM\x89q(\x01\xb9K\xb6\x19k!ci\xfd\xc4\xd6\xb8\x02`\xa4\xb0\xc6\x80\x888\x85)\xd1\x01*+AO\x87\x14Z\x81\x89\xd3\xf1d]U\x8d\x07\xa7\x9b\xe9\x98\x1b^\xc2\xc4H\xbb~\xc3\x9f\xc3%w\xd1\xfa\xe9\xb0\x13G\x19\xa2W\xa6\x18\xc4\xeb\xefC\xed\x9f\xc0a\xce\x86\xa1\xb2\xd7\xaeH/\x96\xf5\xf3\x1a0\x9f\xbf\x99?\\\xdae\xf8X]^ht>\xda\xedo\x17\x18NP\x12\x01*6\xc3\x95#W\xca\xf2:n\x17\xfb\xcb\xde\xb1\xe0\xe3\xc2nk`\xa4,D\xcc\xfe\xe1\xda~\xaf8!\xd4j\x9d\xde2Qa\x17a/\xf1\xeeG\xfb;|\xb4f\xa3\x8a\xa4\xb5\xb8\x86\xd0W\xc3Y\x10^{]\xe2\xbc\xbe\xcc0\x1c/\xe9\xce\x0ewN\xd1F\xc0\x0e\\\xf1\x8f\xf9~\x05\xab28\x10\x81a\xaa\xd4\x1a\x02\xbe\xcb\xf1c\x0e\x
87\xb8\xd4U\x80\xbc\xefdG@$6\x0e\x0f\x03Ryz\xf2\xc7\x8e\x90t\x9dt\xb4\xf0j\xcf\x7f{\xf89\xd0\xf1\x9c\xfaQe\xac?H\xadf\xdf\xa1\xd5:\xa4', 1, 2, 'invalid start byte')
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984) Traceback (most recent call last):
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 367, in trace_task
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     R = retval = fun(*args, **kwargs)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 688, in __call__
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     return super(Task, self).__call__(*args, **kwargs)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 110, in __call__
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     return super(PulpTask, self).__call__(*args, **kwargs)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/celery/app/trace.py", line 622, in __protected_call__
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     return self.run(*args, **kwargs)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1142, in publish
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1251, in check_publish
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp/server/controllers/repository.py", line 1303, in _do_publish
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     publish_report = publish_repo(transfer_repo, conduit, call_config)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp/server/async/tasks.py", line 905, in wrap_f
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     return f(*args, **kwargs)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/http/distributor.py", line 111, in publish_repo
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     publisher.publish(units)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/http/publisher.py", line 51, in publish
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     manifest_path = super(self.__class__, self).publish(units)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp_node/distributors/publisher.py", line 127, in publish
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     writer.add(unit)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib/python2.7/site-packages/pulp_node/manifest.py", line 349, in add
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     json_unit = json.dumps(unit)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib64/python2.7/json/__init__.py", line 243, in dumps
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     return _default_encoder.encode(obj)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib64/python2.7/json/encoder.py", line 207, in encode
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     chunks = self.iterencode(o, _one_shot=True)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)   File "/usr/lib64/python2.7/json/encoder.py", line 270, in iterencode
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984)     return _iterencode(o, 0)
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:ERROR: [dda23f00] (2008-81984) UnicodeDecodeError: 'utf8' codec can't decode byte 0x9c in position 1: invalid start byte
Feb 25 13:08:49 triggerfish pulp: celery.app.trace:INFO: [f3415fb9] Task pulp.server.async.tasks._release_resource[f3415fb9-893c-4dfe-980e-e2792a36b92e] succeeded in 0.00101518098381s: None
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20210226/4b39c7a4/attachment.htm>


More information about the Pulp-list mailing list