neutron/neutron
armando-migliaccio 2051ffb822 Retry metadata request on connection refused error
This testcase may fail intermittently on 'Connection refused' error.
This could be due to the fact that the metadata proxy setup is not exactly
complete at the time the request is issued; in fact there is no
synchronization between the router being up and the metadata request being
issued, and clearly this may be the reason of accidental but seldom failures.

In order to rule out this possibility and stabilize the test, let's retry
on connection refused only. If we continue to fail, then the next step would
be to dump the content of iptables to figure out why the error occurs.

Closes-bug: #1461172

Conflicts:
	neutron/tests/functional/agent/test_l3_agent.py

Change-Id: I65a5bf4fbbcad6ba93a46d36cabe7844ff528d8d
(cherry picked from commit 4b2e6842f3)
2015-10-12 13:58:31 +02:00
..
agent Merge "Process user iptables rules before INVALID" into stable/kilo 2015-10-06 23:57:25 +00:00
api Stop device_owner from being set to 'network:*' 2015-09-08 15:00:17 +00:00
callbacks Add security groups events 2015-06-29 11:34:50 -07:00
cmd Add simple ARP spoofing protection 2015-03-29 20:57:07 -07:00
common Enable servicing lbaasV2 vip by DVR 2015-09-23 09:13:01 -07:00
db Fix _ensure_default_security_group logic 2015-09-29 14:29:21 -07:00
debug Migrate to oslo.log 2015-03-12 11:22:56 +01:00
extensions Allow setting Agents description to None 2015-10-06 15:38:21 +00:00
hacking Fix failures introduced by the new version of mock 2015-07-10 20:45:03 +02:00
ipam Ensure non-overlapping cidrs in subnetpools without galera 2015-06-12 12:58:24 +00:00
locale Release Import of Translations from Transifex 2015-04-20 11:08:37 +02:00
notifiers Reuse nova batch notifier 2015-03-20 13:55:08 +00:00
openstack Migrate to oslo.log 2015-03-12 11:22:56 +01:00
plugins Merge "Fix _ensure_default_security_group logic" into stable/kilo 2015-10-05 20:17:55 +00:00
scheduler Bug-Fix for unexpected DHCP agent redundant 2015-09-21 15:07:58 +00:00
server Migrate to oslo.log 2015-03-12 11:22:56 +01:00
services Fix a wrong condition for the _purge_metering_info function 2015-09-04 10:52:52 +00:00
tests Retry metadata request on connection refused error 2015-10-12 13:58:31 +02:00
__init__.py Revert "monkey patch stdlib before importing other modules" 2015-02-11 17:26:33 -08:00
auth.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
context.py Remove "Arguments dropped when creating context" logging 2015-04-01 09:38:21 -04:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
i18n.py oslo: migrate to namespace-less import paths 2015-02-05 15:09:32 +01:00
manager.py Migrate to oslo.log 2015-03-12 11:22:56 +01:00
neutron_plugin_base_v2.py Basic subnetpool CRUD 2015-03-18 22:53:50 -07:00
policy.py Stop device_owner from being set to 'network:*' 2015-09-08 15:00:17 +00:00
quota.py Treat all negative quota values as -1 2015-04-02 17:26:51 +05:30
service.py Move pool dispose() before os.fork 2015-06-08 17:48:51 +08:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Move pool dispose() before os.fork 2015-06-08 17:48:51 +08:00