Round-robin SVI switch selection fails on Cisco Nexus plugin

Bug #1250969 reported by Dane LeBlanc
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
Dane LeBlanc

Bug Description

Round-robin SVI switch selection is working incorrectly for the Cisco Nexus plugin.
The expected behavior is that when round-robin SVI switch selection is configured
in cisco_plugins.ini file, i.e.:
    [cisco]
    nexus_l3_enable = True
    svi_round_robin = True
then whenever a virtual router interface is created, the Nexus plugin should
select the Nexus switch with the least number of SVI interfaces already
created for creating a new SVI.
The current behavior is that the wrong Nexus switch is being selected
most of the time.

Dane LeBlanc (leblancd)
tags: added: cisco
Changed in neutron:
assignee: nobody → Dane LeBlanc (leblancd)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/56321
Committed: http://github.com/openstack/neutron/commit/6b21cd29bec6b4c069eeda5bfd4b40e8d1f2a89e
Submitter: Jenkins
Branch: master

commit 6b21cd29bec6b4c069eeda5bfd4b40e8d1f2a89e
Author: Dane LeBlanc <email address hidden>
Date: Wed Nov 13 23:10:21 2013 -0500

    Round-robin SVI switch selection fails on Cisco Nexus plugin

    Fixes bug 1250969

    This fix addresses improper behavior with the Cisco Nexus plugin's
    selection of Nexus switch on which to place a Switch Virtual Interface
    (SVI) when round-robin switch placement is enabled.

    The expected behavior when round-robin SVI switch selection is configured
    via the cisco_plugins.ini file, i.e.:
        [cisco]
        nexus_l3_enable = True
        svi_round_robin = True
    is that when a virtual router interface is created, the Nexus plugin should
    select the Nexus switch with the least number of SVI interfaces configured
    for creating the new SVI. The current selection is based on the first
    entry in a dictionary, and is therefore indeterminate.

    Similarly, this fix also addresses incorrect behavior when round-robin
    selection is disabled. In this case, the desired behavior is that
    the plugin should select the first switch which appears in the Nexus
    switch configuration. Instead, the current selection is also based on the
    first entry in a dictionary, and is likewise indeterminate.

    Change-Id: I548c1efaa8b54695246251b6823ab59e077836fe

Changed in neutron:
status: In Progress → Fix Committed
Changed in neutron:
milestone: none → icehouse-1
importance: Undecided → Medium
tags: added: havana-backport-potential
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-1 → 2014.1
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.