Actions
Issue #1951
closedpulp-server depends on gofer, but only declares a dependency on python-gofer
Status:
CLOSED - NOTABUG
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
2. Medium
Version:
2.8.3
Platform Release:
OS:
Triaged:
No
Groomed:
No
Sprint Candidate:
No
Tags:
Pulp 2
Sprint:
Quarter:
Description
If a user installs pulp-server and then runs pulp-manage-db, it will fail:
$ sudo dnf install pulp-rpm-plugins pulp-docker-plugins pulp-ostree-plugins pulp-puppet-plugins pulp-python-plugins python-gofer-qpid
$ sudo -u apache pulp-manage-db
Attempting to connect to localhost:27017
Attempting to connect to localhost:27017
Write concern for Mongo connection: {}
Loading content types.
Loading type descriptors []
Parsing type descriptors
Validating type descriptor syntactic integrity
Validating type descriptor semantic integrity
Loading unit model: python_package = pulp_python.plugins.models:Package
Loading unit model: puppet_module = pulp_puppet.plugins.db.models:Module
Loading unit model: erratum = pulp_rpm.plugins.db.models:Errata
Loading unit model: yum_repo_metadata_file = pulp_rpm.plugins.db.models:YumMetadataFile
Loading unit model: package_group = pulp_rpm.plugins.db.models:PackageGroup
Loading unit model: package_category = pulp_rpm.plugins.db.models:PackageCategory
Loading unit model: iso = pulp_rpm.plugins.db.models:ISO
Loading unit model: package_environment = pulp_rpm.plugins.db.models:PackageEnvironment
Loading unit model: drpm = pulp_rpm.plugins.db.models:DRPM
Loading unit model: distribution = pulp_rpm.plugins.db.models:Distribution
Loading unit model: rpm = pulp_rpm.plugins.db.models:RPM
Loading unit model: srpm = pulp_rpm.plugins.db.models:SRPM
Loading unit model: ostree = pulp_ostree.plugins.db.model:Branch
Loading unit model: docker_blob = pulp_docker.plugins.models:Blob
Loading unit model: docker_tag = pulp_docker.plugins.models:Tag
Loading unit model: docker_image = pulp_docker.plugins.models:Image
Loading unit model: docker_manifest = pulp_docker.plugins.models:Manifest
Updating the database with types []
Found the following type definitions that were not present in the update collection [puppet_module, ostree, erratum, python_package, docker_tag, distribution, package_group, docker_blob, package_category, iso, package_environment, drpm, srpm, rpm, yum_repo_metadata_file, docker_image, docker_manifest]
Updating the database with types [puppet_module, ostree, erratum, python_package, docker_tag, srpm, package_group, docker_blob, package_category, iso, package_environment, drpm, distribution, rpm, yum_repo_metadata_file, docker_image, docker_manifest]
Content types loaded.
Ensuring the admin role and user are in place.
No module named agent.rmi
Traceback (most recent call last):
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 193, in main
return _auto_manage_db(options)
File "/usr/lib/python2.7/site-packages/pulp/server/db/manage.py", line 233, in _auto_manage_db
factory.initialize()
File "/usr/lib/python2.7/site-packages/pulp/server/managers/factory.py", line 349, in initialize
from pulp.server.managers.consumer.agent import AgentManager
File "/usr/lib/python2.7/site-packages/pulp/server/managers/consumer/agent.py", line 18, in <module>
from pulp.server.agent.context import Context
File "/usr/lib/python2.7/site-packages/pulp/server/agent/context.py", line 18, in <module>
from pulp.server.agent.direct.services import ReplyHandler
File "/usr/lib/python2.7/site-packages/pulp/server/agent/direct/services.py", line 6, in <module>
from gofer.rmi.async import ReplyConsumer, Listener
File "/usr/lib/python2.7/site-packages/gofer/rmi/async.py", line 24, in <module>
from gofer.rmi.dispatcher import Reply, Return, RemoteException
File "/usr/lib/python2.7/site-packages/gofer/rmi/dispatcher.py", line 28, in <module>
from gofer.rmi.model import ALL
File "/usr/lib/python2.7/site-packages/gofer/rmi/model/__init__.py", line 20, in <module>
from gofer.rmi.model import direct, fork
File "/usr/lib/python2.7/site-packages/gofer/rmi/model/fork.py", line 16, in <module>
from gofer.rmi.model import parent
File "/usr/lib/python2.7/site-packages/gofer/rmi/model/parent.py", line 21, in <module>
from gofer.agent.rmi import Context
ImportError: No module named agent.rmi
Either the pulp-server package should declare its dependency on gofer, or the code should be altered to avoid using gofer.
I experienced this issue in the Fedora 24 package for 2.8.3, but I checked the upstream spec and it also has this problem.
Updated by rbarlow almost 8 years ago
- Status changed from NEW to CLOSED - NOTABUG
jortel and I talked about this in #pulp and he determined that it's a bug in gofer itself that he can fix.
Actions