Setting up the configuration rpc_zmq_topic_backlog causing zmq receiver to silently ignore all messages

Bug #1264925 reported by Harish Kumar
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Compute (nova)
Invalid
Undecided
Unassigned
oslo.messaging
Invalid
Low
Unassigned

Bug Description

Setting up the configuration parameter rpc_zmq_topic_backlog causing zmq receiver to silently ignore all messages - I had run strace on nova-rpc-zmq-receiver, from where I see that, the issue was with one configuration option “rpc_zmq_topic_backlog”, due to which the code was silently returning without processing that message – there was no logs or no trace in the zmq receiver log even after enabling debug.

What I see is that this option is set in zmq_opts array in impl_zmq.py, but when a message come in, the class ZmqProxy check this config item , and the function __getattr__ in the class ConfigOpts (oslo/config/cfg.py) is raising error saying no such option and then return it without processing that message further.

If I just comment out the configuration entry, it just works fine.

Please see attachment for Strace output.

Tags: zmq
Revision history for this message
Harish Kumar (hkumarmk) wrote :
Revision history for this message
John Garbutt (johngarbutt) wrote :

Sounds like an oslo bug, rather than nova, but needs an experts eye

tags: added: zmq
Changed in nova:
status: New → Incomplete
Changed in oslo:
importance: Undecided → Low
Changed in oslo.messaging:
importance: Undecided → Low
status: New → Triaged
Changed in oslo:
status: New → Triaged
Li Ma (nick-ma-z)
Changed in oslo.messaging:
assignee: nobody → Li Ma (nick-ma-z)
Changed in oslo:
assignee: nobody → Li Ma (nick-ma-z)
Li Ma (nick-ma-z)
Changed in oslo:
assignee: Li Ma (nick-ma-z) → nobody
Changed in oslo.messaging:
assignee: Li Ma (nick-ma-z) → nobody
no longer affects: oslo-incubator
Sean Dague (sdague)
Changed in nova:
status: Incomplete → Invalid
Changed in oslo.messaging:
assignee: nobody → Oleksii Zamiatin (ozamiatin)
status: Triaged → In Progress
Changed in oslo.messaging:
assignee: Oleksii Zamiatin (ozamiatin) → nobody
status: In Progress → Confirmed
Revision history for this message
Li Ma (nick-ma-z) wrote :

I deployed a testbed with a given value for rpc_zmq_topic_backlog. It works.

Changed in oslo.messaging:
status: Confirmed → 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.