impl_zmq stopped working after removing register_opts

Bug #1021459 reported by Erica Windisch
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
openstack-common
Fix Released
Undecided
Erica Windisch

Bug Description

When migrating to openstack-common, the rpc backends were supposed to support a register_opts function. With common.cfg being now used by other projects, this became unnecessary and this requirement was removed. The ZeroMQ driver was not updated and would give an error that ZMQ_CTX.destroy() is not defined, which is called within the cleanup() function.

This can be resolved by calling register_opts(cfg.CONF) within the impl_zmq driver, as it is no longer called by rpc/__init__.py

Revision history for this message
Erica Windisch (ewindisch) wrote :
Changed in openstack-common:
assignee: nobody → Eric Windisch (ewindisch)
status: New → In Progress
Changed in openstack-common:
status: In Progress → Fix Released
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.