[openstack-dev] [RPC] QPID and monkey patch

Gary Kotton gkotton at redhat.com
Mon Nov 5 10:55:24 UTC 2012


Hi,
I have the encountered following problem 
(https://bugs.launchpad.net/quantum/+bug/1073999). The Quantum service 
and qpid daemon are running on the same host. If the Quantum service 
starts and the QPIDD daemon is not running then the Quantum service will 
hang in the callself.connection.open() 
(https://github.com/openstack/quantum/blob/master/quantum/openstack/common/rpc/impl_qpid.py#L357). 
When QPID starts/restarts the Quantum service is still waiting on a file 
descriptor here and never recovers. The work around is to restart the 
Quantum service.
If I comment out the lineeventlet.monkey_patch() 
(https://github.com/openstack/quantum/blob/master/bin/quantum-server#L25) then 
the logs indicate that the re-connection to qpidd is attempted - the 
problem here is that the RPC requires that monkey patch.
Any help or input will be greatly appreciated.
Thanks
Gary



More information about the OpenStack-dev mailing list