[Pulp-list] Pulp 2.5.x and rabbitmq bug 1141336

Alan Milligan alan.milligan at last-bastion.net
Mon Jan 26 06:32:23 UTC 2015


Brian,

Thanks for the detailed response.

On 01/24/2015 12:27 AM, Brian Bouterse wrote:
> Hi Alan,
>
> The PR history is a little misleading associated with BZ 1141336. The bug target release is 2.6.0 which is correct, the rabbitMQ fix is only in 2.6.0. It was merged to 2.5-dev in preparation to be included with 2.5.1. We had features that also were committed to 2.5-dev which required us to relabel 2.5.1 to 2.6.0 since a Z release is for bugfix exclusively. The later release 2.5.1 that occurred was a bugfix only release. Because of this the PR shows merged on 2.5-dev, but if you use --contains on the last commit of the RabbitMQ fix (33ba0e06d0100cccc2775abd8571ba6c706e7ee6) you'll see it's only on 2.6+.
>
> git branch --contains 33ba0e06d0100cccc2775abd8571ba6c706e7ee6
>    2.6-dev
>    2.6-testing
> * master
Ok.  Looks like we're going to have to ship with 2.6 then.
>
> I believe you do not need to install any Qpid bits while using rabbitMQ. When installing use pulp-server instead of pulp-server-qpid and pulp-consumer instead of pulp-consumer-qpid, etc. I believe that there is only 1 small feature that would fail inside of Pulp, but otherwise Pulp should behave normally. Feedback on ways to improve Pulp as it is used with RabbitMQ would be great.
Happy to help.  I've nothing against Qpid - it's that that I have 
massive infrastructure pointing at RabbitMQ - and don't intend to change 
that.

There are a couple of python-gofer-qpid dependencies in pulp-server and 
pulp-agent which I've removed: I'll have to look further into the 
python-qpid dependency.

But in a complete trick for beginners with the gofer-1.4.x to 
gofer-2.4.x upgrade for 2.6.0, somebody forgot to do the nice thing when 
renaming python-gofer-amqplib to python-gofer-amqp and putting in an 
Obsoletes/Provides.  This causes complete and catastrophic failure:


Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) The Pulp server 
encountered an unexpected failure durin
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) Traceback (most 
recent call last):
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/pulp/server/we
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) _initialize_pulp()
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/pulp/server/we
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) 
AgentServices.start()
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/pulp/server/ag
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) 
Services.reply_handler = ReplyHandler(url)
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/pulp/server/ag
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) queue.declare(url)
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/gofer/messagin
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)     return 
fn(*args, **keywords)
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/gofer/messagin
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)     adapter = 
Adapter.find(url)
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)   File 
"/usr/lib/python2.7/site-packages/gofer/messagin
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352)     raise 
NoAdaptersLoaded()
Jan 26 16:54:38 pulp-dev.last-bastion.net pulp[4744]: 
pulp.server.webservices.application:ERROR: (4744-04352) 
NoAdaptersLoaded: No messaging adapters loaded


I'll be sure to post to the list as we get ready for a production 
release around 2.6 and Rabbit.

Alan




More information about the Pulp-list mailing list