add qpid-python to neutron's requirements.txt

Bug #1225232 reported by Richard Su
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Won't Fix
Undecided
Unassigned

Bug Description

If one tries using qpid instead of rabbitmq with heat, when neutron-server starts up it will complain that the qpid.messaging library is missing. To fix this, qpid-python should be included in requirements.txt.

2013-09-13 23:29:56.576 8875 TRACE neutron.common.config File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/openstack/common/rpc/impl_qpid.py", line 753, in create_connection
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config rpc_amqp.get_connection_pool(conf, Connection))
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/openstack/common/rpc/amqp.py", line 522, in create_connection
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config return ConnectionContext(conf, connection_pool, pooled=not new)
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/openstack/common/rpc/amqp.py", line 126, in __init__
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config server_params=server_params)
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config File "/opt/stack/venvs/neutron/local/lib/python2.7/site-packages/neutron/openstack/common/rpc/impl_qpid.py", line 432, in __init__
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config raise ImportError("Failed to import qpid.messaging")
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config ImportError: Failed to import qpid.messaging
2013-09-13 23:29:56.576 8875 TRACE neutron.common.config

Revision history for this message
Mark McClain (markmcclain) wrote :

qpid is an optional dependency of Neutron (and really OpenStack in general). If you want to enable it, these instructions must be followed: https://wiki.openstack.org/wiki/QpidSupport.

Changed in neutron:
status: New → Won't Fix
Revision history for this message
Robert Collins (lifeless) wrote :

Could you please reconsider this? oslo messaging has support for qpid - it isn't a third-party patch that folk are doing out of tree, so making the library needed to access it be treated as a third party patch is very hard to understand.

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.