vmware-nsx/neutron/scheduler
armando-migliaccio 5f46b70f80 Fix DetachedInstanceError for Agent instance
The stacktrace observed seems to hint to a
situation where a session is not properly
rolled back when duplicate agent entries are
found.

Since it is ok to deal with duplicates, the
addition of agents to the DB must be done
one by one, otherwise we go against the
ATOMICITY property of a transaction of all
or none. It's either that or I am barking at
the wrong tree.

This patch also added UT to cover affected
code.

Closes-bug: 1282421
Related-bug: 1282253

Change-Id: Ic5f77808cc10f885d67f5a9cf3b3836283692850
2014-02-27 14:48:11 +00:00
..
__init__.py Register agent schedulers options in one place 2013-07-09 13:24:26 +04:00
dhcp_agent_scheduler.py Fix DetachedInstanceError for Agent instance 2014-02-27 14:48:11 +00:00
l3_agent_scheduler.py Add LeastRouters Scheduler to Neutron L3 Agent 2013-12-09 13:25:59 +01:00