← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1615690] Re: TypeError with native openflow agent if no datapath_id returned

 

Reviewed:  https://review.openstack.org/358706
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=59d29f7cda8976c2a360b0c844df825a101661ee
Submitter: Jenkins
Branch:    master

commit 59d29f7cda8976c2a360b0c844df825a101661ee
Author: Inessa Vasilevskaya <ivasilevskaya@xxxxxxxxxxxx>
Date:   Mon Aug 22 18:05:41 2016 +0300

    Fix TypeError in native of_interface _get_dpid
    
    If no bridge datapath_id was returned for some
    reason (like broken deployment), _get_dpid()
    would process further and raise TypeError while
    trying to use int conversion on an empty list.
    This patch addresses the problem by raising a
    RuntimeError if no datapath was found for a
    bridge.
    
    Closes-Bug: #1615690
    
    Change-Id: Ie97540793e5d2b14120d3f1bafbf659427c44117


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1615690

Title:
  TypeError with native openflow agent if no datapath_id returned

Status in neutron:
  Fix Released

Bug description:
  In case no datapath_id is returned (ex. deployment is broken in some way) the _get_dpid will raise TypeError while trying to process [].
  https://github.com/openstack/neutron/blob/master/neutron/plugins/ml2/drivers/openvswitch/agent/openflow/native/ovs_bridge.py#L49

  log - http://paste.openstack.org/show/562232/

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1615690/+subscriptions


References