yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #69702
[Bug 1729213] Re: neutron-openvswitch-agent report error when batch delete instances
Reviewed: https://review.openstack.org/518190
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=364e5db586a93902e99f68a8e213ad9b2a9f39b5
Submitter: Zuul
Branch: master
commit 364e5db586a93902e99f68a8e213ad9b2a9f39b5
Author: Zachary <mazengxie@xxxxxxx>
Date: Tue Nov 7 09:09:48 2017 +0800
ovs-fw: catches exception from ovsdb
OVS agent will raise an exception when deleting
multiple vms in bulk. Nova will delete tap when vms are
removed. Then, ovs agent checks ovs_port
by calling "self.get_ovs_port", and the exception will be raised.
The patch will catch exception.
Change-Id: Ief7de22e5f85253d8a25ecfbb139a8f87c1a0b35
Closes-Bug: #1729213
** 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/1729213
Title:
neutron-openvswitch-agent report error when batch delete instances
Status in neutron:
Fix Released
Bug description:
I created some instance with same network and same security group. The security group's remote secrity group is set to itself.
Then I batch delete these instances.when the first instance's port is deleted,it will notify other neutron-ovs-agent so that these agent could update filter rules for other instance's port.
But variable "defer_refresh_firewall" is set to true,so the update process will not be executed immediately.
During the subsequent instance deletion,the process will be triggered,But the port within subsequent instance is deleted,So the agent will report error.
2017-11-01 09:30:29.695 9779 ERROR
neutron.agent.linux.openvswitch_firewall.firewall [req-610bc095-2445
-4f2e-8a46-181a82087348 - - - - -] Initializing unfiltered port
2c8f784d-1e73-4e4d-874d-65dd32de4e22 that does not exist in ovsdb:
Port 2c8f784d-1e73-4e4d-874d-65dd32de4e22 is not managed by this
agent..: OVSFWPortNotFound: Port 2c8f784d-1e73-4e4d-874d-65dd32de4e22
is not managed by this agent.
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1729213/+subscriptions
References