cisco nexus ML2 MD: L3 agent HA interfaces not getting VLAN created on Nexus switch

Bug #1518817 reported by Timothy Swanson
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-cisco
Fix Committed
Undecided
Timothy Swanson

Bug Description

The Cisco nexus ML2 mech driver ignores port events for ports with device_owner = network:router_ha_interface

This causes VRRP for each router to have no communication with the peers so each router makes itself the master.

> neutron l3-agent-list-hosting-router test-router
+--------------------------------------+------------------------------------+----------------+-------+----------+
| id | host | admin_state_up | alive | ha_state |
+--------------------------------------+------------------------------------+----------------+-------+----------+
| fbc7eaf0-5b25-43d8-9c63-174304f2dcf3 | overcloud-controller-2.localdomain | True | :-) | active |
| 723e936a-895e-49b7-87c0-137c16964146 | overcloud-controller-1.localdomain | True | :-) | active |
| ea497d67-2c64-4920-8794-79099a3de14a | overcloud-controller-0.localdomain | True | :-) | active |
+--------------------------------------+------------------------------------+----------------+-------+----------+

+-----------------------+--------------------------------------------------------------------------------------+
| Field | Value |
+-----------------------+--------------------------------------------------------------------------------------+
| admin_state_up | True |
| allowed_address_pairs | |
| binding:host_id | overcloud-controller-2.localdomain |
| binding:profile | {} |
| binding:vif_details | {"port_filter": true, "ovs_hybrid_plug": true} |
| binding:vif_type | ovs |
| binding:vnic_type | normal |
| device_id | c9242eb1-54c2-48a2-b73b-e7c4baa56ec7 |
| device_owner | network:router_ha_interface |
| extra_dhcp_opts | |
| fixed_ips | {"subnet_id": "0bc64aa3-e734-4117-9b86-44c2404abaef", "ip_address": "169.254.192.3"} |
| id | 92381790-11d2-4504-b0ec-32e0aac5d14b |
| mac_address | fa:16:3e:85:8f:07 |
| name | HA port tenant caba5cf3e10d403c87a93ccb411b4747 |
| network_id | 6e5c0489-99ec-48cc-9321-e90feb91f0cf |
| security_groups | |
| status | ACTIVE |
| tenant_id | |
+-----------------------+--------------------------------------------------------------------------------------+

Changed in networking-cisco:
assignee: nobody → Timothy Swanson (tiswanso)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to networking-cisco (master)

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

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

Reviewed: https://review.openstack.org/248516
Committed: https://git.openstack.org/cgit/openstack/networking-cisco/commit/?id=93b5f91041b9b82aadf6643845dfd7448d2cdfac
Submitter: Jenkins
Branch: master

commit 93b5f91041b9b82aadf6643845dfd7448d2cdfac
Author: tiswanso <email address hidden>
Date: Sun Nov 22 22:08:06 2015 -0500

    cisco nexus ML2: L3 agent HA interfaces-VLAN not created on Nexus switch.

    The Cisco nexus ML2 mech driver ignores port events for ports with
    device_owner = network:router_ha_interface. The fix is to include
    network:router_ha_interface in the device_owner check for ports eligible
    to be managed by the nexus mech driver.

    Change-Id: Ib84871bfc0ecdf20e3e3bb185ab2a45af3cf80f1
    Closes-Bug: #1518817

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

Fix proposed to branch: stable/kilo
Review: https://review.openstack.org/248996

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

Reviewed: https://review.openstack.org/248996
Committed: https://git.openstack.org/cgit/openstack/networking-cisco/commit/?id=090ceedd0a0dcbe6e37ae4afba9b88ab903c52ed
Submitter: Jenkins
Branch: stable/kilo

commit 090ceedd0a0dcbe6e37ae4afba9b88ab903c52ed
Author: tiswanso <email address hidden>
Date: Sun Nov 22 22:08:06 2015 -0500

    cisco nexus ML2: L3 agent HA interfaces-VLAN not created on Nexus switch.

    The Cisco nexus ML2 mech driver ignores port events for ports with
    device_owner = network:router_ha_interface. The fix is to include
    network:router_ha_interface in the device_owner check for ports eligible
    to be managed by the nexus mech driver.

    Change-Id: Ib84871bfc0ecdf20e3e3bb185ab2a45af3cf80f1
    Closes-Bug: #1518817
    (cherry picked from commit 93b5f91041b9b82aadf6643845dfd7448d2cdfac)

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