SDN assist driver binds to ports on disallowed physnets

Bug #1757206 reported by Mark Goddard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mellanox backend integration with Neutron (networking-mlnx)
Fix Released
Undecided
Mark Goddard

Bug Description

When using the mlnx_sdn_assist mechanism driver to bind ports for bare metal compute nodes, teh driver will attempt to bind ports on physical networks outside of the allowed list.

Steps to reproduce
==================

Configure the driver to use a specific physical network using ml2_conf.ini, e.g. physnet1:

[sdn]
physical_networks = physnet1

Create an instance on an ironic bare metal compute node using nova, using a port on a network with a different physnet e.g. physnet2

Revision history for this message
Mark Goddard (mgoddard) wrote :
Changed in networking-mlnx:
status: New → In Progress
assignee: nobody → Mark Goddard (mgoddard)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-mlnx (master)

Reviewed: https://review.openstack.org/554631
Committed: https://git.openstack.org/cgit/openstack/networking-mlnx/commit/?id=3d7dc5f1d32fa34eeda73edafcde573f8282bfd8
Submitter: Zuul
Branch: master

commit 3d7dc5f1d32fa34eeda73edafcde573f8282bfd8
Author: Mark Goddard <email address hidden>
Date: Tue Mar 20 13:30:03 2018 +0000

    Don't bind ports on disallowed physical networks

    The existing logic in the mlnx_sdn_assist mechanism driver means that a
    port may be bound, even if the port's network's physical network is not
    allowed for the driver. This change fixes that.

    Change-Id: Id3ba9ddffa008662791265f16efa532544152756
    Closes-Bug: #1757206

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

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/554852

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-mlnx (stable/pike)

Fix proposed to branch: stable/pike
Review: https://review.openstack.org/554853

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-mlnx (stable/queens)

Reviewed: https://review.openstack.org/554852
Committed: https://git.openstack.org/cgit/openstack/networking-mlnx/commit/?id=8440ae054c73832cdd267157f310a194d72d8451
Submitter: Zuul
Branch: stable/queens

commit 8440ae054c73832cdd267157f310a194d72d8451
Author: Mark Goddard <email address hidden>
Date: Tue Mar 20 13:30:03 2018 +0000

    Don't bind ports on disallowed physical networks

    The existing logic in the mlnx_sdn_assist mechanism driver means that a
    port may be bound, even if the port's network's physical network is not
    allowed for the driver. This change fixes that.

    Change-Id: Id3ba9ddffa008662791265f16efa532544152756
    Closes-Bug: #1757206
    (cherry picked from commit 3d7dc5f1d32fa34eeda73edafcde573f8282bfd8)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-mlnx (stable/pike)

Reviewed: https://review.openstack.org/554853
Committed: https://git.openstack.org/cgit/openstack/networking-mlnx/commit/?id=947b6d7552e94de187a6a8e8978bf54e07e53a76
Submitter: Zuul
Branch: stable/pike

commit 947b6d7552e94de187a6a8e8978bf54e07e53a76
Author: Mark Goddard <email address hidden>
Date: Tue Mar 20 13:30:03 2018 +0000

    Don't bind ports on disallowed physical networks

    The existing logic in the mlnx_sdn_assist mechanism driver means that a
    port may be bound, even if the port's network's physical network is not
    allowed for the driver. This change fixes that.

    Change-Id: Id3ba9ddffa008662791265f16efa532544152756
    Closes-Bug: #1757206
    (cherry picked from commit 3d7dc5f1d32fa34eeda73edafcde573f8282bfd8)

tags: added: in-stable-pike
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-mlnx (stable/ocata)

Fix proposed to branch: stable/ocata
Review: https://review.openstack.org/555150

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to networking-mlnx (stable/ocata)

Reviewed: https://review.openstack.org/555150
Committed: https://git.openstack.org/cgit/openstack/networking-mlnx/commit/?id=20a77bc2e06cfabcd9a7be9283723e63f5daa4b4
Submitter: Zuul
Branch: stable/ocata

commit 20a77bc2e06cfabcd9a7be9283723e63f5daa4b4
Author: Mark Goddard <email address hidden>
Date: Tue Mar 20 13:30:03 2018 +0000

    Don't bind ports on disallowed physical networks

    The existing logic in the mlnx_sdn_assist mechanism driver means that a
    port may be bound, even if the port's network's physical network is not
    allowed for the driver. This change fixes that.

    Change-Id: Id3ba9ddffa008662791265f16efa532544152756
    Closes-Bug: #1757206
    (cherry picked from commit 3d7dc5f1d32fa34eeda73edafcde573f8282bfd8)

tags: added: in-stable-ocata
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.