<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class="">Sure: <a href="https://pulp.plan.io/issues/3882" class="">https://pulp.plan.io/issues/3882</a><div class=""><br class=""><div class="">
<span class="Apple-style-span" style="border-collapse: separate; font-variant-ligatures: normal; font-variant-position: normal; font-variant-numeric: normal; font-variant-alternates: normal; font-variant-east-asian: normal; line-height: normal; border-spacing: 0px; -webkit-text-decorations-in-effect: none;"><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Dustin McNabb</div><div class=""><br class=""></div></div></span><br class="Apple-interchange-newline"><br class="Apple-interchange-newline">
</div>
<div style=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 25, 2018, at 6:55 AM, Bihan Zhang <<a href="mailto:bizhang@redhat.com" class="">bizhang@redhat.com</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dustin,<div class="">Would you mind opening a pulp issue with a description of the issue and the patch? <span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline" class=""><a href="https://pulp.plan.io/issues/new" class="">https://pulp.plan.io/issues/new</a><span class=""> </span></span></div><div class="">I'm not too familiar with the tasking system, and it would be good for the issue to go through the regular triage process.</div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Cheers,</div><div class="">Bihan</div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Wed, Jul 25, 2018 at 8:18 AM, Dustin McNabb <span dir="ltr" class=""><<a href="mailto:dustin.mcnabb@gmail.com" target="_blank" class="">dustin.mcnabb@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">Bihan -<div class=""><br class=""></div><div class="">Thanks for the fast response. However, I’ve upgraded my lab from pulp 2.14 to this beta and it introduces a new problem by upgrading to celery 4.0.2-4. Specifically, we now have this issue <a href="https://github.com/celery/celery/issues/3620" target="_blank" class="">https://github.com/<wbr class="">celery/celery/issues/3620</a>. It was fixed in celery 4.1. You need multiple tasks in the queue upon initial startup to reproduce this issue. You can also see more discussion about this issue here: <a href="https://github.com/celery/celery/pull/3752" target="_blank" class="">https://github.com/<wbr class="">celery/celery/pull/3752</a> and here <a href="https://github.com/celery/celery/issues/4109#issuecomment-314367686" target="_blank" class="">https://github.com/celery/<wbr class="">celery/issues/4109#<wbr class="">issuecomment-314367686</a>. I implemented this fix in my lab environment and it resolved my issue.</div><div class=""><br class=""></div><div class=""># Problem with pulp_resource_manager service</div><div class=""><div class="">Jul 25 06:10:03 pulp-lab pulp[17698]: celery.worker:CRITICAL: (17698-58784)   File "/usr/lib64/python2.7/site-<wbr class="">packages/billiard/pool.py", line 1486, in apply_async</div><div class="">Jul 25 06:10:03 pulp-lab  pulp[17698]: celery.worker:CRITICAL: (17698-58784)     self._quick_put((TASK, (result._job, None, func, args, kwds)))</div><div class="">Jul 25 06:10:03 pulp-lab pulp[17698]: celery.worker:CRITICAL: (17698-58784) TypeError: 'NoneType' object is not callable</div></div><div class=""><br class=""></div><div class=""># Here is the fix that was ultimately implemented which moves the consumption step below the object registration in worker/loops.py.</div><div class=""><div class="">-    consumer.consume()</div><div class="">-    obj.on_ready()</div><div class="">     obj.controller.register_with_<wbr class="">event_loop(hub)</div><div class="">     obj.register_with_event_loop(<wbr class="">hub)</div><div class="">+    consumer.consume()</div><div class="">+    obj.on_ready()</div></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">Thanks</div><div class=""><span class="HOEnZb"><font color="#888888" class=""><div class="">
<span class="m_8756559713960247987Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word" class=""><div class="">Dustin McNabb</div><div class=""><br class=""></div></div></span><br class="m_8756559713960247987Apple-interchange-newline"><br class="m_8756559713960247987Apple-interchange-newline">
</div></font></span><div class=""><div class="h5">
<div class=""><br class=""><blockquote type="cite" class=""><div class="">On Jul 24, 2018, at 2:23 PM, Bihan Zhang <<a href="mailto:bizhang@redhat.com" target="_blank" class="">bizhang@redhat.com</a>> wrote:</div><br class="m_8756559713960247987Apple-interchange-newline"><div class=""><div dir="ltr" class="">Dustin,<div class=""><br class=""></div><div class="">These fixes were implemented[0] and were just release in pulp 2.16.4 beta and pulp_python 2.0.3 beta today.</div><div class="">Here's our release schedule in case you want to keep an eye out on when this is going to go GA: <a href="https://pulp.plan.io/projects/pulp/wiki/2164_Release_Status" target="_blank" class="">https://pulp.plan.io/<wbr class="">projects/pulp/wiki/2164_<wbr class="">Release_Status</a></div><div class=""><br class=""></div><div class=""><br class=""></div><div class="">[0] <a href="https://pulp.plan.io/issues/3578" target="_blank" class="">https://pulp.plan.io/<wbr class="">issues/3578</a></div></div><div class="gmail_extra"><br class=""><div class="gmail_quote">On Tue, Jul 24, 2018 at 4:50 PM, Dustin McNabb <span dir="ltr" class=""><<a href="mailto:dustin.mcnabb@gmail.com" target="_blank" class="">dustin.mcnabb@gmail.com</a>></span> wrote:<br class=""><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word;line-break:after-white-space" class="">I have pulp-server 2.14.3-1 and pulp-python-plugins 2.0.2-1 and I can no longer sync form <a href="http://python.pypi.org/" target="_blank" class="">python.pypi.org</a>. I realize they switched to <a href="http://pypi.org/" target="_blank" class="">pypi.org</a> and <a href="http://files.pythonhosted.org/" target="_blank" class="">files.pythonhosted.org</a>, but the old site still redirects requests. However, the URLs where pulp-python-plugins expects to find packages no longer exist. Also, the pulp-python packages have not been updated since 2017. Does this mean that we don’t have support for the new <a href="http://pypi.org/" target="_blank" class="">pypi.org</a> warehouse using pulp2? Or is there a legacy feed URL I can use?<div class=""><br class=""></div><div class=""><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/tinydb/json/" target="_blank" class="">https://pypi.org/simple/pypi/t<wbr class="">inydb/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: requests.packages.urllib3.conn<wbr class="">ectionpool:INFO: Starting new HTTPS connection (37): <a href="http://pypi.org/" target="_blank" class="">pypi.org</a></div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/setuptools/json/" target="_blank" class="">https://pypi.org/simple/pypi/s<wbr class="">etuptools/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: requests.packages.urllib3.conn<wbr class="">ectionpool:INFO: Starting new HTTPS connection (38): <a href="http://pypi.org/" target="_blank" class="">pypi.org</a></div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/urllib3/json/" target="_blank" class="">https://pypi.org/simple/pypi/u<wbr class="">rllib3/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: requests.packages.urllib3.conn<wbr class="">ectionpool:INFO: Starting new HTTPS connection (39): <a href="http://pypi.org/" target="_blank" class="">pypi.org</a></div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/chardet/json/" target="_blank" class="">https://pypi.org/simple/pypi/c<wbr class="">hardet/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: requests.packages.urllib3.conn<wbr class="">ectionpool:INFO: Starting new HTTPS connection (40): <a href="http://pypi.org/" target="_blank" class="">pypi.org</a></div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/passlib/json/" target="_blank" class="">https://pypi.org/simple/pypi/p<wbr class="">asslib/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: requests.packages.urllib3.conn<wbr class="">ectionpool:INFO: Starting new HTTPS connection (41): <a href="http://pypi.org/" target="_blank" class="">pypi.org</a></div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/setuptools/json/" target="_blank" class="">https://pypi.org/simple/pypi/s<wbr class="">etuptools/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: requests.packages.urllib3.conn<wbr class="">ectionpool:INFO: Starting new HTTPS connection (42): <a href="http://pypi.org/" target="_blank" class="">pypi.org</a></div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/gunicorn/json/" target="_blank" class="">https://pypi.org/simple/pypi/g<wbr class="">unicorn/json/</a> failed with code 404: Not Found</div><div class="">Jul 24 20:33:55 pulp-test-server pulp: nectar.downloaders.threaded:IN<wbr class="">FO: Download failed: Download of <a href="https://pypi.org/simple/pypi/idna/json/" target="_blank" class="">https://pypi.org/simple/pypi/i<wbr class="">dna/json/</a> failed with code 404: Not Found</div></div><div class=""><br class=""></div><div class="">Thanks<span class="m_8756559713960247987HOEnZb"><font color="#888888" class=""><br class=""><div class=""><br class="m_8756559713960247987m_-4188598782716984740webkit-block-placeholder"></div><div class="">
<span class="m_8756559713960247987m_-4188598782716984740Apple-style-span" style="border-collapse:separate;font-variant-ligatures:normal;font-variant-numeric:normal;font-variant-alternates:normal;font-variant-east-asian:normal;line-height:normal;border-spacing:0px"><div style="word-wrap:break-word" class=""><div class="">Dustin McNabb</div><div class=""><br class=""></div></div></span><br class="m_8756559713960247987m_-4188598782716984740Apple-interchange-newline"><br class="m_8756559713960247987m_-4188598782716984740Apple-interchange-newline">
</div>
<br class=""></font></span></div></div><br class="">______________________________<wbr class="">_________________<br class="">
Pulp-list mailing list<br class="">
<a href="mailto:Pulp-list@redhat.com" target="_blank" class="">Pulp-list@redhat.com</a><br class="">
<a href="https://www.redhat.com/mailman/listinfo/pulp-list" rel="noreferrer" target="_blank" class="">https://www.redhat.com/mailman<wbr class="">/listinfo/pulp-list</a><br class=""></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></div></div></div></blockquote></div><br class=""></div>
</div></blockquote></div><br class=""></div></body></html>