Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / logic @ 198d91c3

Name Size
  allocators
  management
  test
__init__.py 0 Bytes
backend.py 27 kB
backend_allocator.py 6.2 kB
callbacks.py 9.8 kB
dispatcher.py 11.9 kB
models.py 0 Bytes
queues.py 3 kB
rapi.py 60.1 kB
rapi_pool.py 3.5 kB
reconciliation.py 11 kB
tests.py 27.6 kB
utils.py 4.3 kB
views.py 0 Bytes

Latest revisions

# Date Author Comment
198d91c3 09/06/2013 12:22 pm Christos Stavrakakis

cyclades: Fix bug in snf-dispatcher logic

This commit reverts commits #07602322 and #30514662 which introduced a
bug in dispatcher's logic. These commit fixed the issue that, in a case
the Cyclades DB is unsynced with Ganeti, a resource that does not exist...

07602322 07/08/2013 03:05 pm Christos Stavrakakis

cyclades: Fix corner case in snf-dispatcher

Same as commit 0514662, but for servers.

05146623 07/04/2013 11:24 am Christos Stavrakakis

cyclades: Fix corner case in snf-dispatcher

Delete network from DB when job fails but the action of network is
DESTROY. This case appears when someone tries to remove a network that
has been deleted from Ganeti backend, but not yet from DB.

82d23461 07/03/2013 02:43 pm Christos Stavrakakis

reconciliation: Get servers from DB ater ganeti

Change server reconciliation, to get the instances from DB after getting
instances from Ganeti, to decrease the possibility for races.

952b2a48 07/02/2013 03:00 pm Christos Stavrakakis

cyclades: Wrap diagnostic creation in transaction

Fix bug in snf-dispatcher causing wrong updates of VMs from ganeti.
Creation if instance diagnostics must run inside a transaction, because
otherwise, the lock of the vm (select_for_update) is released too early....

b12ab2d0 06/25/2013 03:23 pm Christos Stavrakakis

Revert "cyclades: Speed up reconciliation"

This reverts commit cf2241c45a22dac71e31dbf32f4700c475804c12.

cf2241c4 06/25/2013 11:36 am Christos Stavrakakis

cyclades: Speed up reconciliation

Speed up reconciliation by using mulitprocessing to get in parallel
the instances from all Ganeti backends.

e8aa2f64 06/21/2013 05:42 pm Christos Stavrakakis

cyclades: Fix bug in allocating archipelago VMs

This commit fixes a bug that caused backend allocator to send
archipelago VMs backends to backends not in ARCHIPELAGO_BACKENDS
setting. The flavor disk template is parsed before the backend
allocation, so the disk_template at this point is ext and not ext_vlmc,...

e63050ca 06/19/2013 02:30 pm Christos Stavrakakis

cyclades: Speed up server reconciliation

Speed up reconciliation, by increasing the time interval to get Ganeti
job status for VMs in building state.

40d53b77 06/19/2013 11:07 am Christos Stavrakakis

cyclades: Fix deadlock when creating servers

Fix deadlock between snf-dispatcher and backend allocator, by making
snf-dispatcher take an exclusive lock to the backend which hosts the vm,
before trying to get the exclusive locks to the IP pools in order to...

View revisions

Also available in: Atom