A set of Neutron drivers for the VMware NSX.
Go to file
Roman Podoliaka 88fe8afe50 Fix a race condition in agents status update code
Code handling agents status updates coming via RPC checks,
if a corresponding entry for the given (agent_type, host)
pair already exists in DB and updates it. And if it doesn't
exist, a new entry is created.

Without a unique constraint this can cause a race condition
resulting in adding of two agent entries having the same value
of (agent_type, host) pair.

Note, that it's already not allowed to have multiple agents of
the same type having the same host value, but currently it's
enforced only at code level, not at DB schema level, which
effectively makes race conditions possible.

Closes-Bug: #1254246

Change-Id: I1ebaa111154b3d6b34074705b579097ab730594c
2013-12-09 15:18:34 +02:00
bin Use built-in print() instead of print statement 2013-09-21 07:30:33 -07:00
doc Fix misspells 2013-12-03 15:03:47 -08:00
etc Merge "Removed erronus config file comment" 2013-12-07 10:22:40 +00:00
neutron Fix a race condition in agents status update code 2013-12-09 15:18:34 +02:00
quantum Re-assign quantum.api module as last operation 2013-07-15 22:51:28 +02:00
tools Remove obsolete redhat-eventlet.patch 2013-10-09 21:47:48 +01:00
.coveragerc fix some missing change from quantum to neutron 2013-07-08 12:11:04 +08:00
.gitignore Updates .gitignore 2013-11-28 23:18:03 +08:00
.gitreview Rename quantum to neutron in .gitreview. 2013-07-06 12:25:09 -04:00
.mailmap Update Zhenguo Niu's mailmap 2013-11-26 09:25:35 +08:00
.pylintrc Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
.testr.conf Add support for managing async processes 2013-10-14 07:20:02 +00:00
babel.cfg Use babel to generate translation file 2013-01-24 00:20:32 +08:00
HACKING.rst Cleanup HACKING.rst 2013-11-11 10:32:34 -08:00
LICENSE Adding Apache Version 2.0 license file. This is the official license agreement under which Quantum code is available to 2011-08-08 12:31:04 -07:00
MANIFEST.in Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
openstack-common.conf Fix import log_handler error with publish_errors set 2013-11-05 22:47:32 -08:00
README.rst Rename Quantum to Neutron 2013-07-06 15:02:43 -04:00
requirements.txt Ensure get_pid_to_kill works with rootwrap script 2013-11-20 09:57:23 -06:00
run_tests.sh Don't need to init testr in run_tests.sh 2013-09-12 01:04:09 +08:00
setup.cfg Add fwaas_driver.ini to setup.cfg 2013-12-06 11:13:09 -06:00
setup.py Updated from global requirements 2013-10-01 16:13:29 +00:00
test-requirements.txt Replace stubout with fixtures 2013-11-24 10:46:08 -05:00
TESTING Add support for managing async processes 2013-10-14 07:20:02 +00:00
tox.ini Remove obsolete redhat-eventlet.patch 2013-10-09 21:47:48 +01:00

# -- Welcome!

You have come across a cloud computing network fabric controller. It has identified itself as "Neutron." It aims to tame your (cloud) networking!

# -- External Resources:

The homepage for Neutron is: http://launchpad.net/neutron . Use this site for asking for help, and filing bugs. Code is available on github at <http://github.com/openstack/neutron>.

The latest and most in-depth documentation on how to use Neutron is available at: <http://docs.openstack.org>. This includes:

Neutron Administrator Guide http://docs.openstack.org/trunk/openstack-network/admin/content/

Neutron API Reference: http://docs.openstack.org/api/openstack-network/2.0/content/

The start of some developer documentation is available at: http://wiki.openstack.org/NeutronDevelopment

For help using or hacking on Neutron, you can send mail to <mailto:openstack-dev@lists.openstack.org>.