You're using the eventlet executor and time.sleep(1) but not monkey-patching your server for eventlet.

Try adding:

import eventlet
eventlet.monkey_patch()

Above your other imports in the server file.

Best,
-jay

On 06/23/2017 02:58 AM, zhi wrote:
Hi, all.

Recently, I do some research about RPC by using oslo-messaging. I write some demo code about RPC server and RPC client by following here [1]. And the demo codes locate here[2].

I think there is something wrong about these codes. The server code doesn't print response message when I run both the server code and the client code. And my oslo message version is oslo.messaging==4.6.1.

     Could someone give me some advice about that?

     Thanks a lot. ;-)



[1].https://docs.openstack.org/developer/oslo.messaging/server.html
https://docs.openstack.org/developer/oslo.messaging/client.html

[2].http://paste.openstack.org/show/613472/


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev


__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: [email protected]?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to