rpc server cannot read messages from queue on Ubuntu 14.04

Bug #1339285 reported by James Li
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
oslo.messaging
Invalid
Undecided
Unassigned

Bug Description

Solum is using oslo.messaging, and we recently found on Ubuntu 14.04 that our rpc server cannot read any messages from queue. But it runs fine on Precise.

The following is a simplified code of how we use oslo messaging, and you can use that to reproduce the problem:

https://github.com/jamesyli/test-messaging

On Precise the server can receive a message when you run client.

But on Trusty the server looks get blocked there and I cannot even CTRL-c it.

$ sudo rabbitmqctl list_queues
...
server-test 2
server-test.10.0.2.15 0
server-test_fanout_a356d6702f0343f7ad7eb275d01d075f 0
...

server log is at http://paste.openstack.org/show/85704/

client log is at http://paste.openstack.org/show/85703/

James Li (james-li-3)
summary: - rpc server cannot read messages from queue
+ rpc server cannot read messages from queue on Ubuntu 14.04
Revision history for this message
Alexei Kornienko (alexei-kornienko) wrote :

It seems that it doesn't work cause you use IP instead of hostname as server parameter.

Revision history for this message
James Li (james-li-3) wrote :

Hi Alexei, thanks for looking. I changed that parameter to 'localhost', but my server still cannot get messages on 14.04.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote :

I believe we're running the devstack gate tests on trusty now, so AFAICT the code does work there. I'm not sure what the issue is with your example, but it will be easier to discuss that on the mailing list. If we determine there is actually a bug in oslo.messaging we can re-open this ticket.

Changed in oslo.messaging:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.