manila/manila
Valeriy Ponomaryov 5a77f19328 [Container] Fix deletion of veths
In '_teardown_server' method driver was searching for all matches of
'veth' prefix and looping them for deletion. But using Xenial host
it finds each such veth name twice and tries to delete the same veth
twice too getting following error:

ovs-vsctl: no row "veth7ac5738" in table Interface

So, fix it by translating 'list' of veths to 'set' that
will have only unique names.

Change-Id: I819a885547f9fc595b15f98e4c94de21e33914ac
Closes-Bug: #1630512
(cherry picked from commit 8401c150f3)
2016-10-10 15:42:59 +00:00
..
api Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00
cmd Detect addition of executable files 2016-04-08 14:28:42 +00:00
common Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00
compute Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
consistency_group Fix share server info in CGs created from CGs 2016-05-09 16:58:44 +00:00
data Share migration Newton improvements 2016-08-31 12:38:14 -03:00
db Merge "Put all imports from manila.i18n in one line" 2016-09-14 15:04:07 +00:00
hacking Do not supply logging arguments as tuple. 2016-06-09 17:22:36 -04:00
network Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00
scheduler Merge "Put all imports from manila.i18n in one line" 2016-09-14 15:04:07 +00:00
share [Container] Fix deletion of veths 2016-10-10 15:42:59 +00:00
testing Rewrited mox tests to mock (part 2) 2014-06-17 17:55:21 +03:00
tests [Container] Fix deletion of veths 2016-10-10 15:42:59 +00:00
volume Remove unused logging import and LOG global 2016-04-05 07:06:08 -04:00
__init__.py Removed ignored checks from tox.ini and fixed pep8 issues 2016-02-14 14:56:55 +02:00
context.py Fix context warning spam of scheduler and share logs 2016-05-17 05:35:09 -04:00
exception.py Merge "Correct reraising of exception" 2016-09-03 13:12:52 +00:00
i18n.py Switch to using oslo_* instead of oslo.* 2015-01-27 09:19:50 +01:00
manager.py Reuse 'periodic_task' from oslo_service 2015-07-20 19:38:19 +03:00
opts.py Nexenta: adding share drivers for NexentaStor 2016-09-01 18:06:14 +03:00
policy.py Fix docstring for policy.enforce method 2016-05-02 08:28:13 -04:00
quota.py Update quota of proper user on resource delete 2016-03-11 12:55:44 +01:00
rpc.py Drop use of 'oslo' namespace package 2015-04-29 16:51:33 +03:00
service.py Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00
test.py Test: make enforce_type=True in CONF.set_override 2016-05-12 11:27:30 +05:30
utils.py Use is_valid_ipv4 and is_valid_ipv6 from oslo.utils 2016-06-10 22:53:25 +08:00
version.py Remove vim headers 2014-10-06 15:00:27 +02:00
wsgi.py Put all imports from manila.i18n in one line 2016-09-14 06:07:33 +00:00