Project

Profile

Help

Issue #7803

closed

2.21.4 mkdir fix broke client code

Added by ggainey over 3 years ago. Updated over 3 years ago.

Status:
CLOSED - CURRENTRELEASE
Priority:
Urgent
Assignee:
Category:
-
Sprint/Milestone:
-
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

Copied to RPM Support - Issue #7849: 2.21.4 mkdir fix broke pulp_rpm client codeCLOSED - CURRENTRELEASEggaineyActions
Actions #1

Updated by ggainey over 3 years ago

  • Status changed from ASSIGNED to POST
Actions #2

Updated by ggainey over 3 years ago

  • Platform Release set to 2.21.4

Added by ggainey over 3 years ago

Revision 09fa329a | View on GitHub

Revert mkdir() changes for Bundle and Lock.

fixes #7803

Actions #3

Updated by ggainey over 3 years ago

  • Status changed from POST to MODIFIED

Added by ggainey over 3 years ago

Revision 8b96a635 | View on GitHub

Revert mkdir() changes for Bundle and Lock.

fixes #7803

(cherry picked from commit 09fa329aa3622f194336d9fbc41cde981d452c7b)

Actions #4

Updated by ggainey over 3 years ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE
Actions #5

Updated by hc over 3 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
Actions #6

Updated by ggainey over 3 years ago

  • Copied to Issue #7849: 2.21.4 mkdir fix broke pulp_rpm client code added

Also available in: Atom PDF