Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app @ 87994836

# Date Author Comment
87994836 07/23/2012 11:43 am Christos Stavrakakis

Handle bridge/mac-prefix pool exhaustion

Raise Overlimit exception when either bridge or mac-prefix pool
is exhausted. Also prohibit public network creation.

08b079e2 07/23/2012 11:42 am Stavros Sachtouris

Update servers/networks responses for new API

- Reponses for servers and netowrks details (list or solo) are now
consistent to recent backend changes.
- Methods get_nic_from_index and construct_nic_id have been created
- Syntax for nic removal from network/vm has been adjusted

b9a0b3d5 07/23/2012 11:42 am Stavros Sachtouris

When creating network, the label subnet can now be cdir in the json request

91954b45 07/23/2012 11:42 am Christos Stavrakakis

Revert "Fix bug in dispatcher callback"

This reverts commit 5d40a128fb593ed641400c462f0e00a1b457f76e.

788a54be 07/23/2012 11:42 am Christos Stavrakakis

Remove machine if ganeti job fails

Set the VM deleted flag when receiving a failure notification for a
Ganeti OP_INSTANCE_REMOVE operation, even if the VM operstate is not
ERROR. The server may not exist in the backend not only because the
creation failed, but also because a remove notification was lost.

fd33b074 07/23/2012 11:42 am Kostas Papadimitriou

Fix modifynetwork management command

check available network status options based on Network.OPER_STATES

126a01f2 07/23/2012 11:42 am Kostas Papadimitriou

Cyclades UI integration with the new networks api

- Handles nic connections instead of vms. New NIC model and NICs
collections created to handle the NIC api logic. NIC models get
updated on each vms/networks api call.
- New private network creation form....

18059f42 07/23/2012 11:42 am Kostas Papadimitriou

Update cyclades ui jquery lib to 1.7.2

0e9a423f 07/23/2012 11:39 am Christos Stavrakakis

Implement network reconciliation

00051a6a 07/23/2012 11:39 am Christos Stavrakakis

New management commands to inspect network/server

bf1d3a70 07/23/2012 11:39 am Christos Stavrakakis

Update management commands for new-style networks

d30f29aa 07/23/2012 11:39 am Christos Stavrakakis

Common functions for instance/network backend name

44e2c577 07/23/2012 11:39 am Christos Stavrakakis

Fix use of network name prefix

98cc8237 07/23/2012 11:39 am Christos Stavrakakis

Release resources when deleting network

Set as available in the pool the bridge and mac prefix that was
used by the deleted network.

15cb13b5 07/23/2012 11:39 am Christos Stavrakakis

Fix bug about unknown network in instance's nics

e41977e2 07/23/2012 11:39 am Christos Stavrakakis

Fix management commands

- Fix bug in backend_add
- Display backend_name in network_inspect command

04fe9a86 07/23/2012 11:39 am Christos Stavrakakis

Fix bug in networks api

0b827aa4 07/23/2012 11:39 am Christos Stavrakakis

Bug fixes concerning networks

910f80db 07/23/2012 11:39 am Christos Stavrakakis

Fix bug in dispatcher callback

During handling of ganeti-op-status messages, state was set to error
only if the the opcode was OP_INSTANCE_CREATE. This resulted to
vm's never being deleted, if they did not exist in Ganeti.

b79f759f 07/23/2012 11:39 am Christos Stavrakakis

Print warning about subnet value during migration

3b56bbe4 07/23/2012 11:39 am Christos Stavrakakis

Set index of NetworkInterface model to not null

36f4cb29 07/23/2012 11:39 am Christos Stavrakakis

Add backend method for removing a vm's nic

22ee6892 07/23/2012 11:39 am Christos Stavrakakis

Modification in logic for new-style networks

b3d28af2 07/23/2012 11:39 am Christos Stavrakakis

Synchronize networks when adding a new backend

b4eaff05 07/23/2012 11:39 am Christos Stavrakakis

Rename backend_create to backend_add

5061546f 07/23/2012 11:39 am Christos Stavrakakis

Temporary API modification for new style networks

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

Major modifications to Network model

Since Ganeti version 2.6, Ganeti is aware of private networks. We take
advantage of this by propagating network handling to Ganeti. Network
model is expanded to include information about the type of network
(public routed, physical vlan, private filtered), subnet, gateway, dhcp,...

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.

4a15bc7b 07/23/2012 11:36 am Christos Stavrakakis

Remove stale save's in db

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

aed9b901 07/23/2012 11:32 am Christos Stavrakakis

Create Backend model to represent a ganeti backend

- Create Backend model holding info about credentials, status and resources
- Add Backend as foreign key to VirtualMachine
- Create a cache of Backend clients (RAPI) for better performance

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.

1bce82c0 07/23/2012 11:32 am Christos Stavrakakis

Fix white space and PEP8

a0d3e2fd 07/20/2012 06:41 pm Kostas Papadimitriou

Merge branch 'snf-tools'

c45c79ee 07/20/2012 05:03 pm John Giannelos

Remove burnin from snf-cyclades-app setup

1b5d6e95 07/20/2012 04:59 pm John Giannelos

Initial commit to snf-tools

8252d64f 07/20/2012 03:48 pm John Giannelos

burnin.py is now PEP8 compliant

2bcfb712 07/20/2012 03:03 pm John Giannelos

Change default log-folder and path handling

74ec726f 07/19/2012 05:53 pm John Giannelos

Added log folder option / Now delete-stale deletes also stale networks / Fixed failed testcases output not "None"

aa388d48 07/19/2012 12:13 pm John Giannelos

Fixed oob console test/Delete stale vms in each run

e5c17381 07/18/2012 02:09 pm Kostas Papadimitriou

Update Changelogs for v0.10.0

81e8cbf6 07/17/2012 04:39 pm John Giannelos

Output log in folder per image/Flavor argument now working/Fixed networking testcase

6f284708 07/16/2012 07:48 pm Kostas Papadimitriou

Fix default cyclades ui UI_MEDIA_URL setting

21dcb666 07/16/2012 05:53 pm John Giannelos

Minor fixes

f89d0238 07/16/2012 04:21 pm John Giannelos

Added more logging messages for user

273f87cb 07/16/2012 02:30 pm John Giannelos

Merge branch 'master' into burnin

bfce8db6 07/16/2012 01:11 pm John Giannelos

Output now stored in folders for each burnin run

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

Remove stale pid lockfiles on daemon invocation

33ae1493 07/10/2012 05:09 pm John Giannelos

Various fixes about fabric usage

ae139e8a 07/10/2012 04:00 pm John Giannelos

Using fabric only to setup interfaces

6207533f 07/10/2012 01:59 pm John Giannelos

Minor fixes

5f62b4d4 07/10/2012 12:37 pm Christos Stavrakakis

Update setting files

1b21da1b 07/10/2012 12:37 pm Christos Stavrakakis

Update Changelog

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

ee11759d 07/09/2012 03:26 pm Kostas Papadimitriou

Update setup.py dependencies

- bump snf-common required version
- replace ampqlib to puka

4d6e355c 07/03/2012 03:09 pm John Giannelos

First formatted output

4573ea07 07/03/2012 12:43 pm John Giannelos

Splitting burnin to multiple modules

95e64ecd 07/02/2012 08:46 pm Kostas Papadimitriou

Update Changelog for snf-cyclades-app

Also improve documentation of quota settings.

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

6dbd2075 06/29/2012 01:35 pm Christos Stavrakakis

Merge branch 'master' into new_queues

Conflicts:
snf-cyclades-app/synnefo/logic/callbacks.py

88736f65 06/21/2012 06:03 pm John Giannelos

Fixed sudo/su issues

d58a3160 06/18/2012 06:10 pm Kostas Papadimitriou

Update Changelog for cyclades-app

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...

d5cc50b3 06/13/2012 06:29 pm John Giannelos

Fixed metadata users handling

c9074a14 06/08/2012 06:15 pm Kostas Papadimitriou

Fix create view image selection, Refs #2487

Only reset image selection on create view initialization to be able to
keep image selection between subviews transitions.

738a9b18 06/08/2012 06:15 pm Kostas Papadimitriou

Console popup window fix for safari, Refs #2463

It seems that Safari allows popup windows only if the window.open call
is made from within an html element click event context. Otherwise its
behaviour is based on "Block Pop-Up Windows" setting, which when enabled...

1efe6159 06/08/2012 06:15 pm Kostas Papadimitriou

Public SSH keys improvements

- use 'id_rsa' as the filename for the downloaded private key, Refs #2461
- changed the name of the auto generated public key

a2c97d38 06/08/2012 06:15 pm Kostas Papadimitriou

Keep common default settings consistent

gtools provides common name settings with cyclades app to connect to the
rabbit mq server. It is wise to keep consistency for the default values
of common settings.

d194e869 06/08/2012 06:15 pm Kostas Papadimitriou

Prepend namespace for named urls of ui

to avoid conflicts with other applications named urls.

96a93b6b 06/08/2012 06:15 pm Kostas Papadimitriou

Improve wording on vm create view

More explanatory info for the selection of public keys that will get
copied to the created vm on step 3 of vm create view. Refs, #2462

0936e421 06/08/2012 06:15 pm Kostas Papadimitriou

Display stats period selection in ui

taking advantage of the urls for weekly graphs that stats service provide.
Refs #1791

740a5649 06/07/2012 01:08 am John Giannelos

First complete test finished

fade8dab 06/06/2012 05:21 pm John Giannelos

Minor fixes

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...

597e7eba 06/06/2012 03:52 pm Christos Stavrakakis

Client for interaction with a RabbitMQ broker

Introduce a client implementing connection and communication with a RabbitMQ
broker.

This client silently handles connection failures an tries to connect to a
different node. Also uses publisher-confirms to guarantee delivery to the...

08748d73 06/05/2012 05:07 pm John Giannelos

Minor fixes

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

c54e3d4c 05/30/2012 04:12 pm John Giannelos

Minor fixes

1b40b5e3 05/30/2012 01:37 pm John Giannelos

First approach to complete network testcases

96da37c8 05/28/2012 04:27 pm John Giannelos

Minor fixes

91de9b55 05/28/2012 03:42 pm John Giannelos

Fixed network testing with exactly 2 vms

567ffb85 05/28/2012 01:43 pm John Giannelos

Fixed kamaki clients handling

de2461ec 05/16/2012 07:21 pm John Giannelos

Various fixes