neutron/neutron
Kevin Benton 5de1d2ed67 Ignore non-existent ports during OVS intf list
A recent commit[1] to pass the list of port names directly to
ovs-vsctl during a list operation introduced a new possible
failure condition where one of the names might refer to a port
which no longer exists. By default this causes ovs-vsctl to quit
in a fit of rage[2].

Previously, all interfaces were retrieved and the ones that were a
subset of the name list were processed. The name list could contain
extra non-existent names (e.g. recently deleted interfaces).

This patch just passes the '--if-exists' flag to the 'list Interface'
command to match the same previous behavior.

1. 3f0bf6cfac
2. Example: Stderr: 'ovs-vsctl: no row "tap80664420-ea" in table Interface\n'

Closes-Bug: #1407190
Change-Id: I8f359981386d13fb455281a72b8bb245395c0909
2015-01-04 12:16:42 +00:00
..
agent Ignore non-existent ports during OVS intf list 2015-01-04 12:16:42 +00:00
api Merge "Enable pylint checks for "anomalous" string escapes" 2014-12-29 16:52:17 +00:00
cmd Option for root_helper when checking namespace 2014-12-17 06:54:30 -08:00
common Add a constant for router interface device owners 2014-12-30 18:17:19 -08:00
db Merge "Add a constant for router interface device owners" 2014-12-31 16:23:18 +00:00
debug Use lazy logging interpolation 2014-12-22 17:12:54 +11:00
extensions Merge "Allow to specify IP address of floating ip" 2014-12-29 17:11:03 +00:00
hacking Combine author_tag and log_translation_hint regexes 2014-12-23 14:52:57 +11:00
locale Imported Translations from Transifex 2014-12-19 06:09:45 +00:00
notifiers Migrate to oslo.i18n 2014-11-26 22:19:24 +01:00
openstack Merge "Have L3 agent catch the correct exception" 2014-12-15 16:25:12 +00:00
plugins Merge "ovs_dvr: Use lazy logging interpolation" 2014-12-31 05:39:23 +00:00
scheduler Migrate to oslo.i18n 2014-11-26 22:19:24 +01:00
server Migrate to oslo.i18n 2014-11-26 22:19:24 +01:00
services Merge "brocade: Use lazy logging interpolation" 2014-12-29 22:37:33 +00:00
tests Ignore non-existent ports during OVS intf list 2015-01-04 12:16:42 +00:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
auth.py Enforce log hints 2014-12-08 19:59:24 +01:00
context.py Merge "Migrate to oslo.context" 2014-12-15 06:10:55 +00:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
i18n.py Migrate to oslo.i18n 2014-11-26 22:19:24 +01:00
manager.py Backward compatibility for advanced services 2014-12-18 09:27:28 -08:00
neutron_plugin_base_v2.py Throw exception instances instead of classes 2014-09-07 12:56:30 +04:00
policy.py Enable pylint checks for "anomalous" string escapes 2014-12-23 14:53:02 +11:00
quota.py Enforce log hints 2014-12-08 19:59:24 +01:00
service.py Merge "Enforce log hints" 2014-12-14 02:58:34 +00:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Eventlet green threads not released back to pool 2014-12-27 11:13:46 -08:00