[zmq] Dynamic port range is ignored

Bug #1550104 reported by Oleksii Zamiatin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging
Fix Released
Undecided
Oleksii Zamiatin

Bug Description

Despite we have options for random port range (rpc_zmq_min_port and rpc_zmq_max_port) time after time they are silently ignored and random value is taken out of that range (more wide range is used).

Tags: zmq
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/286093

Changed in oslo.messaging:
assignee: nobody → Oleksii Zamiatin (ozamiatin)
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/286093
Committed: https://git.openstack.org/cgit/openstack/oslo.messaging/commit/?id=76ab2c4f624204f181eff50c27c3aa192f14fc2a
Submitter: Jenkins
Branch: master

commit 76ab2c4f624204f181eff50c27c3aa192f14fc2a
Author: ozamiatin <email address hidden>
Date: Mon Feb 29 16:52:01 2016 +0200

    [zmq] Dynamic port range is ignored

    If we specify the default range to pyzmq function,
    means default values are the same as pyzmq default values
    we fallback to bind-0 system call which is not appropriate
    for us as it binds in maximal range > 1024.

    https://github.com/zeromq/pyzmq/blob/master/zmq/sugar/socket.py#L212

    Change-Id: Idacd99d83c8fb9ad222a7bda187fa67a9b0348da
    Closes-Bug: #1550104

Changed in oslo.messaging:
status: In Progress → Fix Released
Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/oslo.messaging 5.0.0

This issue was fixed in the openstack/oslo.messaging 5.0.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.