Project

Profile

Help

Issue #844

closed

Pulp is missing package group entry for pulp+rabbitmq

Added by hgschmie over 9 years ago. Updated over 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.

Actions #1

Updated by bmbouter over 9 years ago

  • Subject changed from pulp using rabbitmq misses gofer amqp module to Pulp is missing package group entry for pulp+rabbitmq
  • Description updated (diff)
  • Tags Documentation added

@hgschmie Would you be willing to put in a PR for this? If you put in a PR, I can review it. You could also discuss on pulp-list with other users about what packages were required for Pulp to use RabbitMQ successfully.

Actions #2

Updated by mhrivnak over 9 years ago

  • Triaged changed from No to Yes
Actions #3

Updated by bmbouter over 5 years ago

  • Status changed from NEW to CLOSED - WONTFIX
Actions #4

Updated by bmbouter over 5 years ago

Pulp 2 is approaching maintenance mode, and this Pulp 2 ticket is not being actively worked on. As such, it is being closed as WONTFIX. Pulp 2 is still accepting contributions though, so if you want to contribute a fix for this ticket, please reopen or comment on it. If you don't have permissions to reopen this ticket, or you want to discuss an issue, please reach out via the developer mailing list.

Actions #5

Updated by bmbouter over 5 years ago

  • Tags Pulp 2 added

Also available in: Atom PDF