Lbaas driver could pick the wrong member address in dual stack network

Bug #1813089 reported by Hang Yang
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
senlin
Fix Released
Undecided
Hang Yang

Bug Description

Currently when Senlin adds a member to a load balancer's pool, it just uses the first address of the node.[1] In a dual stack network, if the node's first address does not match with the ip_version of the pool's subnet, the member will become unaccessible from the load balancer.

[1] https://github.com/openstack/senlin/blob/master/senlin/drivers/os/lbaas.py#L294-L295

Hang Yang (hangyang)
Changed in senlin:
assignee: nobody → Hang Yang (hangyang)
Changed in senlin:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (master)

Reviewed: https://review.openstack.org/632830
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=ec3c42a2ad0644b0b342cbebb50820eafb7d916e
Submitter: Zuul
Branch: master

commit ec3c42a2ad0644b0b342cbebb50820eafb7d916e
Author: Hang Yang <email address hidden>
Date: Wed Jan 23 15:25:12 2019 -0800

    Fix member address selection in lbaas driver

    Currently when Senlin adds a member to load balancer's pool, it just uses
    the first address of the node. In a dual stack network, if the first
    address does not match with the subnet ip version, the member will become
    unaccessible from the load balancer. This patch ensures the right address
    will be picked according to the subnet ip version.

    Change-Id: I0322184dfdb46a7560c20e85452d84d2ffb83a1c
    Closes-Bug: #1813089

Changed in senlin:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to senlin (stable/rocky)

Fix proposed to branch: stable/rocky
Review: https://review.openstack.org/634079

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin 7.0.0.0b1

This issue was fixed in the openstack/senlin 7.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to senlin (stable/rocky)

Reviewed: https://review.openstack.org/634079
Committed: https://git.openstack.org/cgit/openstack/senlin/commit/?id=60a7db5f5251492e2c2591bf2057ff35827e7216
Submitter: Zuul
Branch: stable/rocky

commit 60a7db5f5251492e2c2591bf2057ff35827e7216
Author: Hang Yang <email address hidden>
Date: Wed Jan 23 15:25:12 2019 -0800

    Fix member address selection in lbaas driver

    Currently when Senlin adds a member to load balancer's pool, it just uses
    the first address of the node. In a dual stack network, if the first
    address does not match with the subnet ip version, the member will become
    unaccessible from the load balancer. This patch ensures the right address
    will be picked according to the subnet ip version.

    Change-Id: I0322184dfdb46a7560c20e85452d84d2ffb83a1c
    Closes-Bug: #1813089
    (cherry picked from commit ec3c42a2ad0644b0b342cbebb50820eafb7d916e)

tags: added: in-stable-rocky
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/senlin rocky-eol

This issue was fixed in the openstack/senlin rocky-eol 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.