On Trusty (14.04) messaging does not work

Bug #1365679 reported by James Li
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Solum
Fix Released
Undecided
Unassigned

Bug Description

Our Trusty gate (non-voting for now) always fails on functional tests:

http://logs.openstack.org/85/117885/7/check/gate-solum-devstack-dsvm/246e206/logs/devstack-gate-post-test-hook.txt.gz

The reason is messaging does not work.

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

This is because a package called 'librabbitmq' is newly available on 14.04, and kombu selects it as transport client. For some reason, librabbitmq does not work for us.

A workaround is removing librabbitmq, which force kombu to use the traditional py-amqp.

Revision history for this message
Paul Czarkowski (paulcz) wrote :

In Ubuntu 14.04 python-kombu depends in python-librabbitmq

In Ubuntu 12.04 it does not.

This means we can't really just remove python-librabbitmq without constantly fighting system packages.

here's the code in kombu that detects if eventlet is being imported and sets environment to not allow librabbitmq - https://github.com/celery/kombu/blob/39a6491013fc35325bfb0517e5343a2f7d32aa31/kombu/syn.py#L23-L33

We can either monkeypatch in kombu to return this in any case, or we can just include eventlet but never use it.

I'll have a patch shortly to perform the latter.

James Li (james-li-3)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to solum (master)

Reviewed: https://review.openstack.org/119391
Committed: https://git.openstack.org/cgit/stackforge/solum/commit/?id=1218313875efbdf6f4de4ac13f51fe1802f4a97e
Submitter: Jenkins
Branch: master

commit 1218313875efbdf6f4de4ac13f51fe1802f4a97e
Author: Paul Czarkowski <email address hidden>
Date: Thu Sep 4 15:46:16 2014 -0500

    require eventlet in RPC service.

    Ubuntu 14.04 forces librabbitmq when kombu is used
    Unfortunately it forces a version that has a crash
    bug. Calling eventlet.monkey_patch() tells kombu
    to use libamqp instead.

    Change-Id: I9bc2073f620391e5d0b384142a4d4b0ad7104fcf
    Closes-Bug: 1365679

Changed in solum:
status: New → Fix Committed
Adrian Otto (aotto)
Changed in solum:
status: Fix Committed → Fix Released
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.