vmware-nsx/neutron
Sylvain Afchain 4be52c0780 Moves the HA resource creations outside of transaction
Currently the HA resources are created in the
_create_router_db which includes calls to
the plugin and generates RPC calls. Even if the
resource creations are outside of any transaction
from the _create_router_db point of view, this
method is  called in a transaction from the
create_router method.
This patch moves the resource creations to the
create_router method outside the transaction.
The failures are handled as previously with
a try/expect.

Change-Id: If8fcfd012f8e992175e49bbefb2ae667881a620a
Closes-bug: #1374461
2014-10-20 08:27:37 +00:00
..
agent Merge "remove E251 exemption from pep8 check" 2014-10-15 10:33:22 +00:00
api Fix KeyError in dhcp_rpc when plugin.port_update raise exception 2014-10-15 13:14:40 +05:30
cmd Merge "Pythonified sanity_check.all_tests_passed" 2014-10-07 23:34:02 +00:00
common Merge "Fix quota limit range validator" 2014-10-11 08:12:54 +00:00
db Moves the HA resource creations outside of transaction 2014-10-20 08:27:37 +00:00
debug Merge "Clarify message when no probes are cleared" 2014-09-13 15:29:24 +00:00
extensions remove E251 exemption from pep8 check 2014-10-14 15:39:34 -04:00
hacking Remove @author(s) from copyright statements 2014-09-15 21:40:09 +09:00
locale Imported Translations from Transifex 2014-10-10 06:42:51 +00:00
notifiers Add admin tenant name to nova notifier 2014-09-30 12:18:55 -06:00
openstack Remove sslutils from openstack.common 2014-10-07 11:16:49 +02:00
plugins Merge "openvswitch: Remove no longer used options" 2014-10-18 09:02:02 +00:00
scheduler Merge "Add a new scheduler for the l3 HA" 2014-09-13 13:06:47 +00:00
server Configure agents using neutron.common.config.init (formerly .parse) 2014-06-17 21:56:24 +02:00
services Merge "Add pylint tox environment and disable all existing warnings" 2014-10-18 08:57:58 +00:00
tests Moves the HA resource creations outside of transaction 2014-10-20 08:27:37 +00:00
__init__.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
auth.py add auth token to context 2014-08-12 11:17:21 +09:00
context.py add auth token to context 2014-08-12 11:17:21 +09:00
hooks.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
manager.py Moved rpc_compat.py code back into rpc.py 2014-06-24 10:35:39 +02:00
neutron_plugin_base_v2.py Throw exception instances instead of classes 2014-09-07 12:56:30 +04:00
policy.py Merge "Forbid regular users to reset admin-only attrs to default values" 2014-09-25 03:58:57 +00:00
quota.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
service.py Rename workers to api_workers and simplify code 2014-09-15 22:34:25 +00:00
version.py Remove the useless vim modelines 2014-06-21 15:07:31 +08:00
wsgi.py Rename workers to api_workers and simplify code 2014-09-15 22:34:25 +00:00