Looks like there is one more place where client relies on libraries available only in the server package:
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - handler "bind", import failed
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - Traceback (most recent call last):
<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
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - mod = self.__import_module(path)
<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
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - mod = __import__(path[0], globals(), locals(), [path[-1]])
<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>
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - from pulp_rpm.handlers import repolib
<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>
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - from pulp_rpm.handlers.repo_file import Repo, RepoFile, MirrorListFile, RepoKeyFiles, CertFiles
<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>
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - from pulp.plugins.util import misc
<date> <host> goferd: [ERROR][worker-0] pulp.agent.lib.container:290 - ImportError: No module named plugins.util
Revert mkdir() changes for Bundle and Lock.
fixes #7803