neutron/neutron/tests
LIU Yulong ff021e7e4c Catch known exceptions during deleting last HA router
In some scenarios, for instance rally test create_and_delete_routers,
it will get some exceptions, such as the network in use exception,
during the router deleting api call, but actually the router has
been deleted. There has race between HA router create and delete,
if set more api and rpc worker race raises exception more frequently.
Because the inconsistent error message was not useful for user,
this patch will catch those know exceptions ObjectDeletedError,
NetworkInUse when user delete last HA router.

At the same time, when user create the first HA router, but because
of the failure of HA network creation, the router will be deleted,
then the deleting HA network will raise AttributeError, this patch
also move HA network deleting procedure under ha_network exist check
block.

Change-Id: I8cda00c1e7caffc4dfb20a817a11c60736855bb5
Closes-Bug: #1523780
Related-Bug: #1367157
(cherry picked from commit f54cba0535)
2015-12-18 17:00:40 -05:00
..
api Fix default RBAC policy quota 2015-12-03 23:34:30 -08:00
common Make fullstack test_connectivity tests more forgiving 2015-11-27 13:31:26 +00:00
contrib Merge "Fixed filters for functional tests" 2015-09-08 22:40:52 +00:00
etc Get rid of ConfigParser code in ProviderConfiguration 2015-09-21 10:55:56 -07:00
fullstack Make fullstack test_connectivity tests more forgiving 2015-11-27 13:31:26 +00:00
functional Merge "Check missed IPSet utility using neutron-sanity-check" into stable/liberty 2015-12-18 16:29:49 +00:00
retargetable Remove lingering traces of q_ 2015-07-07 17:04:44 -04:00
tempest Use tempest-lib's token_client 2015-09-16 10:08:50 +00:00
unit Catch known exceptions during deleting last HA router 2015-12-18 17:00:40 -05:00
var Allow combined certificate/key files for SSL 2014-04-13 09:22:23 +00:00
__init__.py Add eventlet monkey_patch helper 2015-03-24 08:44:00 -07:00
base.py Add tunneling support to full stack tests 2015-09-10 14:30:21 +00:00
fake_notifier.py Pass serializer to oslo.messaging Notifier 2014-06-20 14:58:28 +02:00
post_mortem_debug.py Cleanup recent generalization in post mortem debugger 2014-12-04 15:28:11 +01:00
tools.py test_db_base_plugin_v2: Skip a few tests on some platforms 2015-11-02 17:29:16 +01:00