← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2009215] [NEW] [OVS] Error during OVS agent start

 

Public bug reported:

During the OVS agent initialization, in the first loop, all the ports
present in the OVS are processed. In [1]->[2]->[3]...->[4]->[5], the
vlan manager raises an exception "MappingNotFound" that is not catch by
the try/except context. This exception was handled before [6].

The vlan manager is updated after this first loop and the network is
added to the vlan manager dictionary.

This exception [7] should be handled properly.

[1]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L2794
[2]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L2190
[3]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1990
[4]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L688
[5]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L501
[6]https://review.opendev.org/c/openstack/neutron/+/839479
[7]https://paste.opendev.org/show/bp3Q5J3rUlhx5CwGzdtc/

** Affects: neutron
     Importance: High
         Status: New

** Changed in: neutron
   Importance: Undecided => High

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

Title:
  [OVS] Error during OVS agent start

Status in neutron:
  New

Bug description:
  During the OVS agent initialization, in the first loop, all the ports
  present in the OVS are processed. In [1]->[2]->[3]...->[4]->[5], the
  vlan manager raises an exception "MappingNotFound" that is not catch
  by the try/except context. This exception was handled before [6].

  The vlan manager is updated after this first loop and the network is
  added to the vlan manager dictionary.

  This exception [7] should be handled properly.

  [1]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L2794
  [2]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L2190
  [3]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L1990
  [4]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L688
  [5]https://github.com/openstack/neutron/blob/0a214b0437874fd7f5379ec94fd07ef5d3ff4bbe/neutron/plugins/ml2/drivers/openvswitch/agent/ovs_neutron_agent.py#L501
  [6]https://review.opendev.org/c/openstack/neutron/+/839479
  [7]https://paste.opendev.org/show/bp3Q5J3rUlhx5CwGzdtc/

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



Follow ups