vmware-nsx/neutron
Kaiwei Fan a20bfc6478 Fix for status always in PENDING_CREATE for Edge service router
The root cause is when deployment finished, we only update router status to
active if the status is in pending create. The problem happens when the
background sync thread update router status to active, so the status update
for vcns_router_binding table is skipped. We fixed this by seperating
checking and updating status for router and binding table.

Also fixed an issue where Edge is not deleted if neutron service is
restarted. The root cause is when neutron service restarts, the cache for
router type is empty. And because we delete the router from db before
we delete Edge, we're not able to locate the router from db to determine
the router type. The fix is to use binding table to determine the router
type.

Also piggyback a missing attribute for updating Edge interface. It must have
been removed by accident when resolving conflict during service plugin merge.

Closes-Bug: #1226229
Change-Id: I3d0639d245e71ea2a3faba70fef1a0ebb87e19fd
2013-09-19 10:59:28 -07:00
..
agent Dynamically adjust max number of leases 2013-09-17 16:40:23 -04:00
api _validate_network_tenant_ownership must be less strict 2013-09-16 12:55:48 +02:00
cmd remove binaries under bin 2013-08-16 10:10:30 +08:00
common Merge "Enhance exception translation to better handle NeutronExceptions" 2013-09-15 23:44:34 +00:00
db Merge "FWaaS - fix reordering of rules in policy" 2013-09-19 14:55:04 +00:00
debug Fix message i18n error 2013-09-08 15:58:12 +08:00
extensions Support for NVP advanced FwaaS service 2013-09-17 10:18:22 -07:00
locale Imported Translations from Transifex 2013-09-19 06:10:12 +00:00
openstack Sync gettextutils from oslo 2013-09-18 23:11:06 +00:00
plugins Fix for status always in PENDING_CREATE for Edge service router 2013-09-19 10:59:28 -07:00
scheduler Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
server Enable localizable REST API responses via the Accept-Language header 2013-08-07 21:19:25 +00:00
services Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00
tests Fix for status always in PENDING_CREATE for Edge service router 2013-09-19 10:59:28 -07:00
__init__.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
auth.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
context.py Allow for skipping admin roles loading on context creation 2013-08-28 14:06:43 +04:00
hooks.py Fixes Windows setup dependency bug 2013-08-15 22:58:14 +03:00
manager.py Add agent scheduling for LBaaS namespace agent 2013-07-19 13:25:04 +04:00
neutron_plugin_base_v2.py Remove openstack.common.exception usage 2013-08-06 10:42:02 +02:00
policy.py Fix message i18n error 2013-09-08 15:58:12 +08:00
quota.py Fix message i18n error 2013-09-08 15:58:12 +08:00
service.py Fix message i18n error 2013-09-08 15:58:12 +08:00
version.py Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
wsgi.py Adds support for L3 routing/NAT as a service plugin 2013-09-11 12:12:10 +02:00