Handle properly ObjectNotFound while deleting network from DHCP agent
In case when 2 neutron servers are trying to remove network from the
same DHCP agent it may happend that one of them will not be able
to find binding object anymore thus deletion of that binding object
will raise ObjectNotFound exception.
This patch adds proper handling of such case to not raise ugly
stacktrace in neutron logs.
Closes-Bug: #1970759
Change-Id: I67d516c4583aa0c20416114b92a6d69ece5b970c
(cherry picked from commit 8df2f69b6f93fd964cc96efb42d085063b90a8e6)
Reviewed: https:/ /review. opendev. org/c/openstack /neutron/ +/840484 /opendev. org/openstack/ neutron/ commit/ 882b381ccca18ce a37d574ba561928 d9536722da
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/ussuri
commit 882b381ccca18ce a37d574ba561928 d9536722da
Author: Slawek Kaplonski <email address hidden>
Date: Thu Apr 28 16:51:25 2022 +0200
Handle properly ObjectNotFound while deleting network from DHCP agent
In case when 2 neutron servers are trying to remove network from the
same DHCP agent it may happend that one of them will not be able
to find binding object anymore thus deletion of that binding object
will raise ObjectNotFound exception.
This patch adds proper handling of such case to not raise ugly
stacktrace in neutron logs.
Closes-Bug: #1970759 c20416114b92a6d 69ece5b970c 64cc96efb42d085 063b90a8e6)
Change-Id: I67d516c4583aa0
(cherry picked from commit 8df2f69b6f93fd9