Actions
Issue #7803
closed2.21.4 mkdir fix broke client code
Start date:
Due date:
Estimated time:
Severity:
3. High
Version:
Platform Release:
2.21.4
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Sprint 85
Quarter:
Description
In fixing the plethora of mkdirs in Pulp2, we inadvertently made it impossible to use pulp.common.Bundle or pulp.common.Lock unless you have pulp-server installed.
See the thread at
https://www.redhat.com/archives/pulp-list/2020-November/msg00008.html
for details.
Related issues
Updated by ggainey about 4 years ago
- Status changed from ASSIGNED to POST
Added by ggainey about 4 years ago
Updated by ggainey about 4 years ago
- Status changed from POST to MODIFIED
Applied in changeset pulp|09fa329aa3622f194336d9fbc41cde981d452c7b.
Added by ggainey about 4 years ago
Revision 8b96a635 | View on GitHub
Revert mkdir() changes for Bundle and Lock.
fixes #7803
(cherry picked from commit 09fa329aa3622f194336d9fbc41cde981d452c7b)
Updated by ggainey about 4 years ago
- Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Updated by hc about 4 years ago
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
Updated by ggainey about 4 years ago
- Copied to Issue #7849: 2.21.4 mkdir fix broke pulp_rpm client code added
Actions
Revert mkdir() changes for Bundle and Lock.
fixes #7803