neutron bridge name is not always set for ml2/ovs

Bug #1788009 reported by sean mooney
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Slawek Kaplonski

Bug Description

* Summary: neutron bridge name is not always set for ml2/ovs

* High level description: to enable live migration between different ml2
drivers utilizing multiple port bindings nova cannot assume the bridge name of
the destination host when generating the vm domain(e.g. libvirt xml)
to this end the ovs bridge name which is set when using trunk ports
also needs to be set in the general case.

* Expected output:
when a port is bound by the ml2/ovs mech driver the bridge
name is set in the vif binding-details.

* Actual output:
because the bridge name is not in the general case when you live migrate
from linux bridge to ovs the vm is attach to a new ovs bridge using the linux
bridge, bride name of the source node node instead attaching the vm interface
to the br-int bridge. as a result while the migration is successful
the vm will have no network connectivity as this new bridge is not connect to the
br-int via a patch port pair.

* Version:
  ** OpenStack version master/Rocky RC1
  ** Centos 7.5
  ** DevStack

* Environment: multinode default devstack install.

* Perceived severity: low( it is a trival fix but it does prevent migrating form lb to ovs hosts)

Click on extra options for the following:

Changed in neutron:
assignee: nobody → sean mooney (sean-k-mooney)
Revision history for this message
Hongbin Lu (hongbin.lu) wrote :

Confirmed that this bug is reproducible on master. Boot a VM in a linuxbridge node, migrate the VM to an OVS node, the VM will lose network connectivity.

Changed in neutron:
status: New → Confirmed
Revision history for this message
Hongbin Lu (hongbin.lu) wrote :

From neutron's point of view, this seems like a feature enhancement (because the request is to let neutron to provide more information to assist nova to bind the migrating port). I am going to mark this bug as RFE and leave it to neutron driver team for triaging.

summary: - neutron bridge name is not always set for ml2/ovs
+ [RFE] neutron bridge name is not always set for ml2/ovs
tags: added: rfe
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/596896

Changed in neutron:
status: Confirmed → In Progress
Revision history for this message
Brian Haley (brian-haley) wrote : Re: [RFE] neutron bridge name is not always set for ml2/ovs

Added rfe-triaged so it gets on the drivers list, forgot to do that yesterday

tags: added: rfe-triaged
Miguel Lavalle (minsel)
Changed in neutron:
importance: Undecided → Wishlist
tags: removed: rfe
tags: removed: rfe-triaged
Revision history for this message
Miguel Lavalle (minsel) wrote :

We discussed this after the drivers meeting today and decided to handle it a a regular bug

summary: - [RFE] neutron bridge name is not always set for ml2/ovs
+ neutron bridge name is not always set for ml2/ovs
Changed in neutron:
assignee: sean mooney (sean-k-mooney) → Slawek Kaplonski (slaweq)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/596896
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=995744c576503b1de90c922dbecf690ad49f244f
Submitter: Zuul
Branch: master

commit 995744c576503b1de90c922dbecf690ad49f244f
Author: Sean Mooney <email address hidden>
Date: Mon Aug 27 18:30:53 2018 +0100

    Always set ovs bridge name in vif:binding-details

    - This change updates _set_bridge_name to set
      the bridge name field in the vif binding details.
    - This change adds the integration_bridge name
      to the agent configuration report.

    Change-Id: I454efcb226745c585935d5bd1b3d378f69a55ca2
    Closes-Bug: #1788009

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 14.0.0.0b1

This issue was fixed in the openstack/neutron 14.0.0.0b1 development milestone.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.opendev.org/700878

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

Fix proposed to branch: stable/rocky
Review: https://review.opendev.org/700883

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

Reviewed: https://review.opendev.org/700883
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=d286f9ea1ed4f6ed90e557f9584b553ef4272e96
Submitter: Zuul
Branch: stable/rocky

commit d286f9ea1ed4f6ed90e557f9584b553ef4272e96
Author: zhangyuhe <email address hidden>
Date: Tue Aug 28 01:30:53 2018 +0800

    Always set ovs bridge name in vif:binding-details

    - This change updates _set_bridge_name to set
      the bridge name field in the vif binding details.
    - This change adds the integration_bridge name
      to the agent configuration report.

    Closes-Bug: #1788009
    Closes-Bug: #1856152

    (cherry picked from commit 995744c576503b1de90c922dbecf690ad49f244f)
    Change-Id: I454efcb226745c585935d5bd1b3d378f69a55ca2

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

Reviewed: https://review.opendev.org/700878
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=f95b473a9c90244e21bc86ef6af70f4fe8dbda5e
Submitter: Zuul
Branch: stable/queens

commit f95b473a9c90244e21bc86ef6af70f4fe8dbda5e
Author: zhangyuhe <email address hidden>
Date: Tue Aug 28 01:30:53 2018 +0800

    Always set ovs bridge name in vif:binding-details

    - This change updates _set_bridge_name to set
      the bridge name field in the vif binding details.
    - This change adds the integration_bridge name
      to the agent configuration report.

    Closes-Bug: #1788009
    Closes-Bug: #1856152

    (cherry picked from commit 995744c576503b1de90c922dbecf690ad49f244f)
    Change-Id: I454efcb226745c585935d5bd1b3d378f69a55ca2

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 13.0.7

This issue was fixed in the openstack/neutron 13.0.7 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron queens-eol

This issue was fixed in the openstack/neutron queens-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.