<div dir="ltr"><a href="https://pulp.plan.io/issues/2346">https://pulp.plan.io/issues/2346</a> - probably pile onto this one.<br><div>Ha!  Turns out at some point in the past I was also affected by this bug and piled on.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Oct 12, 2017 at 9:21 AM, Kodiak Firesmith <span dir="ltr"><<a href="mailto:kfiresmith@gmail.com" target="_blank">kfiresmith@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">This smells like an ascii/unicode issue with the repoview creation portion of your sync.  I would turn off repoview and file an issue if one isn't already in place for this problem.  <div> - Kodiak</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="h5">On Thu, Oct 12, 2017 at 8:32 AM, Joe Rhodes <span dir="ltr"><<a href="mailto:jrhodes@fuze.com" target="_blank">jrhodes@fuze.com</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5">I'm running into an issue when trying to sync the CentOS 6 and CentOS 7 base repos to a newly build pulp server.  Repo view dies with:<br>
<br>
Generating HTML files<br>
[/]<br>
<br>
Task Failed<br>
<br>
'ascii' codec can't decode byte 0xc0 in position 79012: ordinal not in<br>
range(128)<br>
<br>
<br>
Sometimes I can delete the repo and re-create it, in which case it will work.  But I haven't figured out why it's happening.<br>
<br>
>From /var/log/messages:<br>
<br>
Writing package cdparanoia-devel.html\nWriting package cdparanoia-libs.html\n\n::\nTr<wbr>aceback (most recent call last):\n  File "/usr/bin/repoview", line 940, in <module>\n    main()\n  File "/usr/bin/repoview", line 937, in main\n    Repoview(opts)\n  File "/usr/bin/repoview", line 191, in __init__\n    packages = self.do_packages(repo_data, group_data, pkgnames)\n  File "/usr/bin/repoview", line 544, in do_packages\n    pkg_data = self.get_package_data(pkgname)<wbr>\n  File "/usr/bin/repoview", line 442, in get_package_data\n    rows = pcursor.fetchall()\nsqlite3.Op<wbr>erationalError: Could not decode to UTF-8 column \'location_href\' with text \'\xc0\xb9\'\n', 79012, 79013, 'ordinal not in range(128)')<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368) Traceback (most recent call last):<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/celery/app/trace.py", line 240, in trace_task<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     R = retval = fun(*args, **kwargs)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/async/tasks.<wbr>py", line 529, in __call__<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     return super(Task, self).__call__(*args, **kwargs)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/async/tasks.<wbr>py", line 107, in __call__<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     return super(PulpTask, self).__call__(*args, **kwargs)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/celery/app/trace.py", line 438, in __protected_call__<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     return self.run(*args, **kwargs)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/controllers/<wbr>repository.py", line 1106, in publish<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     result = check_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/controllers/<wbr>repository.py", line 1200, in check_publish<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     result = _do_publish(repo_obj, dist_id, dist_inst, transfer_repo, conduit, call_config)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/controllers/<wbr>repository.py", line 1252, in _do_publish<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     publish_report = publish_repo(transfer_repo, conduit, call_config)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/async/tasks.<wbr>py", line 732, in wrap_f<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     return f(*args, **kwargs)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp_rpm/plugins/distribut<wbr>ors/yum/distributor.py", line 174, in publish_repo<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     return self._publisher.process_lifecy<wbr>cle()<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/plugins/util/publish_<wbr>step.py", line 572, in process_lifecycle<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     super(PluginStep, self).process_lifecycle()<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/plugins/util/publish_<wbr>step.py", line 163, in process_lifecycle<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     step.process()<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/plugins/util/publish_<wbr>step.py", line 271, in process<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     self._record_failure(e, tb)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/plugins/util/publish_<wbr>step.py", line 402, in _record_failure<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     error_details['error'] = str(e)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)   File "/usr/lib/python2.7/site-packa<wbr>ges/pulp/server/exceptions.py"<wbr>, line 96, in __str__<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368)     return msg.encode('utf-8')<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:ERROR: (16183-94368) UnicodeDecodeError: 'ascii' codec can't decode byte 0xc0 in position 79012: ordinal not in range(128)<br>
Oct 12 08:14:13 vap-pulp-master1 pulp: celery.worker.job:INFO: Task pulp.server.async.tasks._relea<wbr>se_resource[b2532289-bc58-<wbr>4b05-b3d9-feb68f4e2c1b] succeeded in 0.005379242s: None<br>
<br>
<br>
The feed URLs I'm using:<br>
<br>
CentOS 7:  <a href="http://mirror.centos.org/centos/7/os/x86_64/" rel="noreferrer" target="_blank">http://mirror.centos.org/cento<wbr>s/7/os/x86_64/</a><br>
CentOS 6:  <a href="http://mirror.centos.org/centos/6/os/x86_64/" rel="noreferrer" target="_blank">http://mirror.centos.org/cento<wbr>s/6/os/x86_64/</a><br>
<br>
I'm using CentOS 7.4 (with all updates applied).  The VM has 16 GB of RAM and 4 CPUs.  Pulp packages I've got installed:<br>
<br>
python-pulp-client-lib-2.14.1-<wbr>1.el7.noarch<br>
python-pulp-repoauth-2.14.1-1.<wbr>el7.noarch<br>
pulp-rpm-plugins-2.14.1-1.el7.<wbr>noarch<br>
python-isodate-0.5.0-4.pulp.el<wbr>7.noarch<br>
python-kombu-3.0.33-8.pulp.el7<wbr>.noarch<br>
pulp-selinux-2.14.1-1.el7.noar<wbr>ch<br>
python-pulp-bindings-2.14.1-1.<wbr>el7.noarch<br>
python-pulp-oid_validation-2.1<wbr>4.1-1.el7.noarch<br>
pulp-server-2.14.1-1.el7.noarc<wbr>h<br>
python-pulp-common-2.14.1-1.el<wbr>7.noarch<br>
pulp-admin-client-2.14.1-1.el7<wbr>.noarch<br>
pulp-rpm-admin-extensions-2.14<wbr>.1-1.el7.noarch<br>
python-pulp-rpm-common-2.14.1-<wbr>1.el7.noarch<br>
<br>
<br>
Python is reporting 2.7.5.<br>
<br>
<br>
About the closest I've found to this would be:  <a href="https://bugs.centos.org/view.php?id=13272" rel="noreferrer" target="_blank">https://bugs.centos.org/view.p<wbr>hp?id=13272</a>  But the fix (noted in the "Notes" section) doesn't seem to help.<br>
<br>
Any suggestions?<br>
<br>
Thanks in advance!<br>
<span class="m_2184516109960504355HOEnZb"><font color="#888888">-Joe Rhodes<br>
<br>
<br>
<br>
--<br>
*Confidentiality Notice: The information contained in this e-mail and any<br>
attachments may be confidential. If you are not an intended recipient, you<br>
are hereby notified that any dissemination, distribution or copying of this<br>
e-mail is strictly prohibited. If you have received this e-mail in error,<br>
please notify the sender and permanently delete the e-mail and any<br>
attachments immediately. You should not retain, copy or use this e-mail or<br>
any attachment for any purpose, nor disclose all or any part of the<br>
contents to any other person. Thank you.*<br>
</font></span><br></div></div>______________________________<wbr>_________________<br>
Pulp-list mailing list<br>
<a href="mailto:Pulp-list@redhat.com" target="_blank">Pulp-list@redhat.com</a><br>
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank">https://www.redhat.com/mailman<wbr>/listinfo/pulp-list</a><br></blockquote></div><br></div>
</blockquote></div><br></div>