Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / logic @ 22ee6892

# Date Author Comment
22ee6892 07/23/2012 11:39 am Christos Stavrakakis

Modification in logic for new-style networks

fd65ab41 07/23/2012 11:36 am Christos Stavrakakis

Implement BackendNetwork model

Create a new model, to represent the state of each network in each
backend.

a17a8e98 07/23/2012 11:36 am Christos Stavrakakis

Create network queues and refactor dispatcher

cc7c0f44 07/23/2012 11:33 am Christos Stavrakakis

Implement backend allocator and management command

New module implementing instance allocation to one of the available
backends. Allocation is performed based on memory and disk utilization.
Statistics for each backend are stored in DB and updated periodically....

4161cb41 07/23/2012 11:33 am Christos Stavrakakis

Fix issues concerning reconciliation

f5b4f2a3 07/23/2012 11:33 am Christos Stavrakakis

Use the Backend client instead of global RAPI

Replace use of global RAPI client, with the cached client from the
VirtualMachine or Backend model.

Dispatch network actions to all backends.

1a894bfe 07/23/2012 11:33 am Christos Stavrakakis

New management commands concerning backends

- Create command to create a backend (snf-manage backend_create)
- Create command to modify a backend (snf-manage backend_list)
- Create command to list backends (snf-manage backend_modify)
- Modify listservers command to display the backend that hosts the VM

924d8085 07/23/2012 11:32 am Christos Stavrakakis

Rename backend_id to backend_vm_id

Rename backend_id field of VirtualMachine model to avoid conflict between the
backend that hosts the VM and the id that the VM will have on the backend.

cf2a3529 07/16/2012 11:19 am Christos Stavrakakis

Remove stale pid lockfiles on daemon invocation

8c6de8ca 07/10/2012 12:05 pm Christos Stavrakakis

Rename management command

28f83276 07/09/2012 03:38 pm Kostas Papadimitriou

Merge branch 'simplequotas' into queues+minor_net

ce55f211 07/02/2012 08:25 pm Kostas Papadimitriou

Simple per user quota mechanism for networks/vms

- New dict setting VMS_USER_QUOTA to allow setting per user quota
(overrides MAX_VMS_PER_USER setting)
- Private networks quota mechanism (based on MAX_NETWORKS_PER_USER and
NETWORKS_USER_QUOTA settings)...

db400d82 06/29/2012 01:38 pm Christos Stavrakakis

Refactor AMQP client

e3c3e1bc 06/18/2012 05:23 pm Christos Stavrakakis

Remove messages that can not be handled from queue

Temprory fix for removing accumulated messages from RabbitMQ. Currently
snf-ganeti-eventd produces messages that can not be handled from
snf-dispatcher (e.g messages not concering an instance). These messages...

8417c3df 06/06/2012 05:10 pm Christos Stavrakakis

Add management command to inspect queue messages

33b93f81 06/06/2012 05:10 pm Christos Stavrakakis

Refactor common code in dispatcher's callbacks

9c766317 06/06/2012 05:10 pm Christos Stavrakakis

Minor fixes

f2264859 06/06/2012 05:10 pm Christos Stavrakakis

Remove unused code

Remove old code used for reconciliation, as the reconciliation mechanism has
changed

b47b895d 06/06/2012 05:10 pm Christos Stavrakakis

Add prefix to debug queue

4cbef2a0 06/06/2012 05:10 pm Christos Stavrakakis

Small refactoring in getting vm id

31c4ae44 06/06/2012 05:10 pm Christos Stavrakakis

Clean up dead code

c4e55622 06/06/2012 04:56 pm Christos Stavrakakis

Update modules interacting with AMQP

Update all modules which are interacting with the RabbitMQ messaging system to
use the AMQPClient in order to use highly available queues in active/active
mode.

Extend messages to include a unique identifier in order to handle...

1e239ea1 06/05/2012 12:32 pm Dimitris Aragiorgis

Minor change in rapi call

Ganeti 2.5 needs a tupple of length 3 for nics modifications.
So in ModifyInstance rapi call we pass (add, -1, {..}) for nis.

Signed-off-by: Dimitris Aragiorgis <>

3c755209 06/05/2012 12:32 pm Dimitris Aragiorgis

Take advantage of ganeti hotplug

No race condition. No need for ther NetworkInterface to have an
operstate. Hook runs during instance-modify and depicts the currently
existing nics. No reboot needed modification to take place.

Later in mutliple backend mac prefix handling should be done by synnefo....

9c21a2e2 06/01/2012 12:46 pm Christos Stavrakakis

Delete VM nics on update path

Delete VM nics when a message of type OP_INSTANCE_REMOVE has been received
from ganeti, and not when doing the RAPI call.

d1eaa651 06/01/2012 12:41 pm Christos Stavrakakis

Simplify disconnecting vm from network

Use the new option of Ganeti, to remove a specific nic.

7f691719 06/01/2012 12:38 pm Christos Stavrakakis

Use 'network' instead of 'link'

- Rename GANETI_PUBLIC_LINK to GANETI_PUBLIC_NETWORK
- modify create_instance of backend module

b84092e7 04/02/2012 12:35 pm Giorgos Verigakis

Remove --detect-orphan-{servers,networks}

They have to depend on Astakos, move their functionality externally.

e3e7e245 03/19/2012 04:09 pm Giorgos Verigakis

Remove unused imports

7e136fd8 03/19/2012 04:09 pm Giorgos Verigakis

Add --detect-orphan-{servers,networks}

2035039b 02/24/2012 05:49 pm Giorgos Verigakis

Switch to the logging middleware

fd56d250 02/21/2012 04:50 pm Giorgos Verigakis

Remove email queues from dispatcher

1ed37c1d 02/21/2012 04:13 pm Giorgos Verigakis

Remove legacy code from dispatcher

fd00a867 02/03/2012 05:33 pm Giorgos Verigakis

Remove obsolete files that were restored due to merge

cc875294 02/02/2012 05:10 pm Giorgos Verigakis

Merge remote-tracking branch 'origin/master' into astakos-integration

Conflicts:
runtests.sh
snf-cyclades-app/synnefo/aai/__init__.py
snf-cyclades-app/synnefo/aai/fixtures/auth_test_data.json
snf-cyclades-app/synnefo/aai/middleware.py
snf-cyclades-app/synnefo/aai/models.py...

9c0ac5af 01/30/2012 06:55 pm Kostas Papadimitriou

Renamed snf-app to snf-cyclades-app