← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1264925] [NEW] Setting up the configuration rpc_zmq_topic_backlog causing zmq receiver to silently ignore all messages

 

Public bug reported:

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.

** Affects: nova
     Importance: Undecided
         Status: New

** Attachment added: "Strace output"
   https://bugs.launchpad.net/bugs/1264925/+attachment/3937628/+files/strace%20zmq%20reciever.txt

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1264925

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

Status in OpenStack Compute (Nova):
  New

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1264925/+subscriptions


Follow ups

References