<div dir="ltr">Konstantin,<div><br></div><div>Once more unto the breach, dear friends, once more....<div><br></div><div>Save the attached patch as /usr/lib/python2.7/site-packages/repo_file.patch. Then:<br></div></div><div><br></div><div><font size="1" face="monospace">$ cd /usr/lib/python2.7/site-packages/<br>$ sudo patch -<b>p2</b> < repo_file.patch</font><br></div><div><br></div><div>Here's the run from my test machine:</div><div><br></div><div>===</div><div><font size="1" face="monospace">[vagrant@centos7 ~]$ python<br>Python 2.7.5 (default, Apr  2 2020, 13:16:51) <br>[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import pulp_rpm.handlers.repo_file<br>Traceback (most recent call last):<br>  File "<stdin>", line 1, in <module><br>  File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/repo_file.py", line 6, in <module><br>    from pulp.plugins.util import misc<br><b>ImportError</b>: No module named plugins.util<br>>>> <br>[vagrant@centos7 ~]$ <b>cd /usr/lib/python2.7/site-packages/</b><br>[vagrant@centos7 site-packages]$ <b>sudo patch -p2 < repo_file.patch</b> <br><b>patching file pulp_rpm/handlers/repo_file.py<br></b>[vagrant@centos7 site-packages]$ python<br>Python 2.7.5 (default, Apr  2 2020, 13:16:51) <br>[GCC 4.8.5 20150623 (Red Hat 4.8.5-39)] on linux2<br>Type "help", "copyright", "credits" or "license" for more information.<br>>>> import pulp_rpm.handlers.repo_file<br>>>> <br>[vagrant@centos7 site-packages]$ </font><br></div><div>===</div><div><br></div><div>We'll work to get a 2.21.4-3 out to fix this in the repos, but this should get you past the problem in the meantime.</div><div><br></div><div>G</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 18, 2020 at 7:47 AM Grant Gainey <<a href="mailto:ggainey@redhat.com">ggainey@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey Konstantin,<div><br></div><div>Ugh. Give me a bit this morning and I'll get you a patch, and then I'll talk to the Build Gang about getting a 2.21.4-3 put out. Apologies for missing these :(</div><div><br></div><div>G</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Nov 18, 2020 at 1:49 AM Konstantin M. Khankin <<a href="mailto:khankin.konstantin@gmail.com" target="_blank">khankin.konstantin@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Looks like there is one more place where client relies on libraries available only in the server package:<div><br></div><div><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - handler "bind", import failed<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - Traceback (most recent call last):<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -   File "/usr/lib/python2.7/site-packages/pulp/agent/lib/container.py", line 284, in __load<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -     mod = self.__import_module(path)<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -   File "/usr/lib/python2.7/site-packages/pulp/agent/lib/container.py", line 313, in __import_module<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -     mod = __import__(path[0], globals(), locals(), [path[-1]])<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -   File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/bind.py", line 9, in <module><br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -     from pulp_rpm.handlers import repolib<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -   File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/repolib.py", line 16, in <module><br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -     from pulp_rpm.handlers.repo_file import Repo, RepoFile, MirrorListFile, RepoKeyFiles, CertFiles<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -   File "/usr/lib/python2.7/site-packages/pulp_rpm/handlers/repo_file.py", line 6, in <module><br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 -     from pulp.plugins.util import misc<br><date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - ImportError: No module named plugins.util</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">вт, 10 нояб. 2020 г. в 17:52, Grant Gainey <<a href="mailto:ggainey@redhat.com" target="_blank">ggainey@redhat.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>2.21.4-2 has been released. The only change is the fix for <a href="https://pulp.plan.io/issues/7803" target="_blank">7803</a></div><div><br></div><div>G</div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 9, 2020 at 10:26 AM Grant Gainey <<a href="mailto:ggainey@redhat.com" target="_blank">ggainey@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Hey folks,<div><br></div><div>Just a heads-up that there will be a 2.21.4-2 turn of the build crank this week in order to address issue <a href="https://pulp.plan.io/issues/7803" target="_blank">7803</a> . I will send out a notification once the fixed RPMs are available.<br clear="all"><div><br></div><div>G</div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Grant Gainey</div><div>Principal Software Engineer, Red Hat System Management Engineering</div></div></div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Grant Gainey</div><div>Principal Software Engineer, Red Hat System Management Engineering</div></div></div></div></div></div>
_______________________________________________<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/listinfo/pulp-list</a></blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr">Ханкин Константин<br></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div dir="ltr"><div>Grant Gainey</div><div>Principal Software Engineer, Red Hat System Management Engineering</div></div></div></div></div>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Grant Gainey</div><div>Principal Software Engineer, Red Hat System Management Engineering</div></div></div></div></div>