zmq_proxy.py fails due to incorrect parameter count

Bug #1675425 reported by Ken Giusti
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Undecided
Ken Giusti

Bug Description

++ functions-common:_run_process:1436 : [[ -n '' ]]
++ functions-common:_run_process:1439 : echo 26713
++ functions-common:_run_process:1439 : setsid /usr/local/bin/oslo-messaging-zmq-broker
++ functions-common:_run_process:1443 : exit 0
Traceback (most recent call last):
  File "/usr/local/bin/oslo-messaging-zmq-broker", line 10, in <module>
    sys.exit(main())
  File "/opt/stack/new/oslo.messaging/oslo_messaging/_cmd/zmq_proxy.py", line 32, in main
    zmq_options.register_opts(conf)
TypeError: register_opts() takes exactly 2 arguments (1 given)

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to oslo.messaging (master)

Fix proposed to branch: master
Review: https://review.openstack.org/449172

Changed in oslo.messaging:
assignee: nobody → Ken Giusti (kgiusti)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to oslo.messaging (master)

Reviewed: https://review.openstack.org/449172
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=e12edd9887a33c2bba43a2cb6ee0a335333333bf
Submitter: Jenkins
Branch: master

commit e12edd9887a33c2bba43a2cb6ee0a335333333bf
Author: Kenneth Giusti <email address hidden>
Date: Thu Mar 23 10:15:50 2017 -0400

    [zmq] pass a dummy TransportURL to register_opts

    zmq_options.register_opts() requires a TransportURL in the parameter
    list. This patch creates an empty TransportURL and passes it since
    there is no actual URL available.

    Change-Id: I5954e430eedc5904594ee3be49d460de4b99d89a
    Closes-Bug: #1675425

Changed in oslo.messaging:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/oslo.messaging 5.20.0

This issue was fixed in the openstack/oslo.messaging 5.20.0 release.

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.