Project

Profile

Help

Issue #7803

2.21.4 mkdir fix broke client code

Added by ggainey about 1 year ago. Updated about 1 year 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 - CURRENTRELEASE<a title="Actions" class="icon-only icon-actions js-contextmenu" href="#">Actions</a>

Associated revisions

Revision 09fa329a View on GitHub
Added by ggainey about 1 year ago

Revert mkdir() changes for Bundle and Lock.

fixes #7803

Revision 8b96a635 View on GitHub
Added by ggainey about 1 year ago

Revert mkdir() changes for Bundle and Lock.

fixes #7803

(cherry picked from commit 09fa329aa3622f194336d9fbc41cde981d452c7b)

History

#1 Updated by ggainey about 1 year ago

  • Status changed from ASSIGNED to POST

#2 Updated by ggainey about 1 year ago

  • Platform Release set to 2.21.4

#3 Updated by ggainey about 1 year ago

  • Status changed from POST to MODIFIED

#4 Updated by ggainey about 1 year ago

  • Status changed from MODIFIED to CLOSED - CURRENTRELEASE

#5 Updated by hc about 1 year 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

#6 Updated by ggainey about 1 year ago

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

Please register to edit this issue

Also available in: Atom PDF