yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #91462
[Bug 2009215] Re: [OVS] Error during OVS agent start
Reviewed: https://review.opendev.org/c/openstack/neutron/+/876570
Committed: https://opendev.org/openstack/neutron/commit/cf96bd8bdf9751c54ba8d47569e4a1269fc61e9e
Submitter: "Zuul (22348)"
Branch: master
commit cf96bd8bdf9751c54ba8d47569e4a1269fc61e9e
Author: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@xxxxxxxxxxxxxxxxxxxxxxxx>
Date: Mon Mar 6 13:55:31 2023 +0100
ovs: fix regression when vlan mapping is not already registered
Bug introduced by Ic3c147136549b17aea0fe78e930a41a5b33ab9d8, when a
VLAN mapping is not registered during a call to
update_network_segement, the function should return None.
Closes-Bug: #2009215
Signed-off-by: Sahid Orentino Ferdjaoui <sahid.ferdjaoui@xxxxxxxxxxxxxxxxxxxxxxxx>
Change-Id: I91f8e8bd18d9956216e5715c658dfb408a2cbf07
** 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/2009215
Title:
[OVS] Error during OVS agent start
Status in neutron:
Fix Released
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
References