Project

Profile

Help

Issue #844

closed

Pulp is missing package group entry for pulp+rabbitmq

Added by hgschmie almost 9 years ago. Updated almost 5 years ago.

Status:
CLOSED - WONTFIX
Priority:
Normal
Assignee:
-
Category:
-
Sprint/Milestone:
-
Start date:
Due date:
Estimated time:
Severity:
1. Low
Version:
2.6.0
Platform Release:
OS:
Triaged:
Yes
Groomed:
No
Sprint Candidate:
No
Tags:
Documentation, Easy Fix, Pulp 2
Sprint:
Quarter:

Description

RabbitMQ users who follow the install instructions don't have a package group that they can install with. As a result, installing the pulp-server RPM will result in error messages like:

There was an internal server error while trying to access the Pulp application.
One possible cause is that the database needs to be migrated to the latest
version. If this is the case, run pulp-manage-db and restart the services. More
information may be found in Apache's log.

and from /var/log/messages in debug mode:

Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536) The Pulp server encountered an unexpected failure during initialization
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536) Traceback (most recent call last):
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/pulp/server/webservices/application.py", line 147, in wsgi_application
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     _initialize_pulp()
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/pulp/server/webservices/application.py", line 114, in _initialize_pulp
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     AgentServices.start()
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/pulp/server/agent/direct/services.py", line 35, in start
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     Services.reply_handler = ReplyHandler(url)
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/pulp/server/agent/direct/services.py", line 110, in __init__
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     queue.declare(url)
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/gofer/messaging/adapter/model.py", line 39, in _fn
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     return fn(*args, **keywords)
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/gofer/messaging/adapter/model.py", line 359, in declare
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     adapter = Adapter.find(url)
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)   File "/usr/lib/python2.7/site-packages/gofer/messaging/adapter/factory.py", line 174, in find
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536)     raise AdapterNotFound(url.adapter)
Apr  5 20:06:46 psu-bedrock-test1-uat pulp: pulp.server.webservices.application:ERROR: (11502-77536) AdapterNotFound: Messaging adapter: rabbitmq, not-found

To fix this, a few things need to happen:

1. A package group named pulp-server-rabbitmq should be added to comps.xml. This should be an analog to pulp-server-qpid
2. Similarly, one named pulp-consumer-rabbitmq should also be added. This should be an analog to pulp-consumer-qpid.
3. The installation docs should have a note added indicating that these two new package groups can be used.

NOTE: At least one RPM that needs to be included is: python-gofer-amqp. There may also be others.

Also available in: Atom PDF