Statistics
| Branch: | Tag: | Revision:

root / logic @ bc923fb7

# Date Author Comment
3e65ce89 06/30/2011 06:06 pm Giorgos Verigakis

Merge branch 'api-current' of https://code.grnet.gr/git/synnefo into api-current

9b5b718a 06/30/2011 05:04 pm Giorgos Verigakis

Use a default firewall profile on public networks

Uses settings.DEFAULT_FIREWALL_PROFILE in case an instance has no firewall tags defined.

Refs #659

9541b89d 06/30/2011 04:46 pm Giorgos Gousios

Change configuration to print logs to the console

77184fa1 06/30/2011 04:19 pm Giorgos Gousios

Merge branch 'logging' into api-current

Conflicts:
logic/backend.py

efff6193 06/30/2011 04:14 pm Giorgos Verigakis

Update firewall profile in the callback

Refs #527

c4367587 06/30/2011 03:30 pm Vangelis Koukis

Use iallocator for CreateInstance() RAPI call

Do not specify the Ganeti node in CreateInstance() RAPI calls,
allow Ganeti to use an iallocator to determine instance placement.
Also make minor PEP8-related fixes to logic/callbacks.py.

9cb903f9 06/29/2011 01:15 pm Vangelis Koukis

Extend net notifications to include IPv6 addresses

Include support for autogenerated public IPv6 addresses,
extend the logic layer accordingly:

  • Extend the Synnefo Ganeti hook to include autogenerated
    IPv6 addresses in ganeti-net-status notifications over AMQP....
26563957 06/24/2011 06:10 pm Giorgos Verigakis

Add a PROTECTED firewall profile

Refs #659

a191bd4d 06/21/2011 01:07 pm Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

Conflicts:
api/images.py
api/networks.py
contrib/ganeti-hooks/kvm-vif-bridge
db/fixtures/images.json
db/models.py
logic/backend.py
logic/tests.py
settings.py.dist
tools/cloud

91826390 06/20/2011 03:32 pm Giorgos Verigakis

Add initial support for firewall profiles

Refs #659

c718de42 06/20/2011 12:54 pm Giorgos Gousios

Configuration for syslog, app-wide logging

f13691b3 06/20/2011 11:22 am Giorgos Gousios

Move logging configuration to a module

de081774 06/17/2011 04:43 pm Giorgos Gousios

Make pid file setting work for real

Create a pid file outside the daemon context, make sure it is deleted on
shutdown, offer option to set it from the cmdline

48130e66 06/17/2011 01:10 pm Giorgos Gousios

License headers for various files

refs #581

4dc0b46a 06/17/2011 01:02 pm Giorgos Gousios

Take care of pidfile generation

adee02b8 06/17/2011 12:48 am Giorgos Verigakis

Add proper license headers

57d0082a 06/10/2011 09:52 am Giorgos Gousios

Daemonization + externally configured logging

f533f224 06/03/2011 04:35 pm Vangelis Koukis

Merge branches api-current and ui-0.4, minor fixes

Merge branches api-current and ui-0.4: * Fix merge conflicts * Fix minor bug in reconciliation mgmt command * Add comments in settings.py.dist * minor PEP8 fixes

e1cb42fe 06/03/2011 02:51 pm Vangelis Koukis

Merge branch 'images-0.4'

db7a3230 06/03/2011 02:46 pm Vangelis Koukis

Merge branch 'reconcilation'

a1dccf43 06/01/2011 06:42 pm Vangelis Koukis

Improve handling of ganeti-net-status messages

Improve construction and processing of ganeti-net-status notifications.
Fail with an informative exception if an invalid link value is specified
in a ganeti-net-status notification.

This shouldn't happen normally. It is usually the result of an administrator...

76a429fb 06/01/2011 05:23 pm Giorgos Gousios

Reconciliation command documentation + config options

882c0c1f 06/01/2011 04:36 pm Giorgos Gousios

Resolve forgoten conflict, some documentation

06a16b24 06/01/2011 02:08 pm Giorgos Verigakis

Use snf_null as the default link

4331aa1f 06/01/2011 01:14 pm Giorgos Gousios

Use the simpler amqp_connection mechanism

464a3579 06/01/2011 12:55 pm Giorgos Gousios

License header and a bit of documentation

65bf328b 06/01/2011 12:31 pm Giorgos Gousios

Merge branch 'invitations' into reconcilation

Conflicts:
logic/dispatcher_callbacks.py
settings.py.dist

ca792e04 05/31/2011 08:33 pm Giorgos Verigakis

Optimize disconnect to be performed in one action

a3992827 05/31/2011 07:23 pm Giorgos Verigakis

Make Network and NetworkLink relation explicit

DB migration needed.

620501cc 05/31/2011 06:20 pm Giorgos Verigakis

Fix typo

207b70d5 05/31/2011 05:06 pm Giorgos Verigakis

Network improvements

  • Make backend functions transactional.
  • Only one network can be public and it has the id 'public'.
  • The public network can not be deleted or modified.
  • firewallProfile is optional
64938cb0 05/29/2011 04:37 pm Giorgos Verigakis

Connect networks API with the Ganeti

  • Create Ganeti network link when creating a network.
  • Delete the link when deleting the network.
  • Use a pool of GANETI_MAX_LINK_NUMBER network links.
  • Adding or removing a server from a network requires reboot.

A database migration is needed....

f4e15f24 05/27/2011 01:06 pm Giorgos Gousios

Skip deleted and suspended VMs from reconciliation

2f355fb5 05/27/2011 01:05 pm Giorgos Gousios

Simulate Ganeti events to update VM status on reconciliation

9b4a18b9 05/26/2011 07:58 pm Giorgos Gousios

Wrap JSON deconding to provide error msg in case of failure

0d0aa87d 05/26/2011 07:32 pm Giorgos Gousios

Lots of backfixes in status reconciliation code

35079ab2 05/26/2011 05:55 pm Giorgos Gousios

Better handling of Unicode emails, catch SMTP connection errors

44837d17 05/26/2011 03:47 pm Giorgos Gousios

waitpid() accepts two arguments by default

cadaffb1 05/26/2011 03:07 pm Giorgos Gousios

Survive server restarts

838239fa 05/26/2011 02:43 pm Giorgos Gousios

Proper debug mode, correct channel shutdown sequence

cbadad34 05/26/2011 01:50 pm Giorgos Gousios

Minor fix to make it connect to Rabbit

cb409cfd 05/26/2011 09:45 am Giorgos Gousios

s/reconciliate/reconcile/ :-) + license headers

d445de69 05/25/2011 09:14 pm Giorgos Gousios

Various small bugs

-Print vm_ids as strings, not numbers
-Filter top X VMs to update

03a9ac0f 05/25/2011 06:52 pm Giorgos Verigakis

Merge branch 'master' of https://code.grnet.gr/git/synnefo into api-current

d44c236b 05/25/2011 06:23 pm Giorgos Verigakis

Refactor networks

  • VirtualMachines can have a number of nics that are attached to networks.
  • Networks can also be public
  • VirtualMachines can be attached to public networks that they don't own.
  • There is a special public network (id 1) that can't be deleted....
b7d29d41 05/25/2011 02:40 pm Constantinos Venetsanopoulos

Add initial support for different Image formats

Initial support for choosing between different Image formats:

  • New field in Image model (migration needed)
  • New lvm Image in fixtures
  • Minor fixes
8007ba7b 05/25/2011 01:33 pm Giorgos Gousios

Initial (untested) impl of the Django reconciliation command

604b2bf8 05/25/2011 09:22 am Giorgos Gousios

Dispatcher configuration for reconciliation

23cb706d 05/24/2011 10:24 am Constantinos Venetsanopoulos

Merge branch 'master' into images-0.4

ac63eb4f 05/23/2011 07:45 pm Vangelis Koukis

Fix bug with servers in UNKNOWN API state

Fix bug with servers appearing in UNKNOWN state, in the
API response of GET /servers/detail.

The logic layer mishandled reception of a Ganeti-op-status message
when an OP_INSTANCE_QUERY_DATA operation was initiated by the Ganeti...

9741b27e 05/23/2011 02:07 pm Giorgos Gousios

Cron tool and callback skeletons

7427d9a3 05/20/2011 12:39 pm Giorgos Gousios

Rename file email to avoid namespace clashes

c9fdfa27 05/20/2011 11:22 am Giorgos Gousios

Add expires field for auth token

Refs: #483

ec63ae8a 05/20/2011 10:30 am Giorgos Gousios

Merge branch 'invitations' into bug-483

Conflicts:
logic/tests.py

f8fd9e7b 05/19/2011 04:57 pm Giorgos Gousios

Method to process queued email messages

6afc46cb 05/18/2011 02:26 pm Giorgos Gousios

Better error handling in AMQP connector

5ad78098 05/18/2011 02:11 pm Giorgos Gousios

Format and send email

75d20793 05/18/2011 02:10 pm Giorgos Gousios

Persistent connector to AMQP

Maintains an open connection per running interpreter, through a global static variable

522c1282 05/17/2011 04:47 pm Giorgos Gousios

Send emails, either directly or queued to AMQP

4f6e36d9 05/17/2011 04:44 pm Giorgos Gousios

"Persistent" connection to AMQP

Uses a global variable, statically initialized, to AMQP.
Inspired after a discussion with verigk about persistent objects in Django.

b8033991 05/16/2011 05:25 pm Giorgos Gousios

Support for Unicode usernames + new test

1ef58e5b 05/13/2011 07:09 pm Constantinos Venetsanopoulos

Initial commit for Image Support in Synnefo

Add Image Support in Synnefo, more specifically: * Add fixtures for 4 actual images * Add two more fields in Image model (backend_id, format) * Commit South migration for Image model * Modify create_instance() in logic/backend.py to pass OS parameters...

53e6717b 05/13/2011 01:03 pm Giorgos Gousios

Add invitation works in test

84ae2c4c 05/12/2011 11:17 pm Giorgos Gousios

Construct a username from a real name

03805fc8 05/11/2011 04:06 pm Vangelis Koukis

Fix PostgreSQL backend exception for empty IPv4

Fix exception is thrown in logic/backend.py:process_net_status()
if the NIC configuration notification contains an empty IPv4
field, and Django uses the PostgreSQL backend.

This only happens with the PostgreSQL backend, because it has a...

2cd99e7a 05/11/2011 09:53 am Giorgos Gousios

Style and pylint suggested fixes

26fef2b9 05/10/2011 02:08 pm Vangelis Koukis

Ignore uknown Ganeti opcodes in dispatcher

Have the backend notification handler ignore unknown Ganeti opcodes,
such as OP_INSTANCE_QUERY_DATA and OP_INSTANCE_SET_PARAMS.

f891db99 05/10/2011 01:45 pm Vangelis Koukis

Merge branch 'synnefo-rabbit' into ui-0.3

ad2d6807 05/09/2011 06:43 pm Vangelis Koukis

Handle ganeti-net-status notifications

Implement handling of "ganeti-net-status" notifications in the
logic layer. For the time being, use the IPv4 address of NIC 0
to update the relevant field in the VirtualMachine model.

7ca9e930 05/09/2011 05:56 pm Vangelis Koukis

Improve AMQP-specific parts of settings.py.dist

Add support in settings.py.dist for fixing AMQP-specific variables
in settings after setting BACKEND_PREFIX_ID.

Temporarily use two different queues for routing messages of type
"ganeti-op-status" and "ganeti-net-status" independently....

41f2249e 05/09/2011 04:36 pm Vangelis Koukis

Fix minor stuff in README.develop, dispatcher

Have logic dispatcher create initial queue in AMQP server.
Have dispatcher wait for all children processes before exiting.
Improve AMQP-specific instructions in README.develop.

76343e61 05/09/2011 11:59 am Giorgos Gousios

A bit of documentation

c183005e 05/09/2011 11:40 am Giorgos Gousios

Fix fork-bomb bug when specifying workers by hand

Tell the cmd-line parser that the -w argument is an int

8861126f 05/05/2011 07:26 pm Georgios Gousios

Support for spawning worker processes

ae5965b6 05/03/2011 03:58 pm Georgios Gousios

Change logger names

6e8c2217 05/03/2011 01:28 pm Georgios Gousios

More appropriate location and naming

23c84263 05/03/2011 01:27 pm Georgios Gousios

End to end message delivery working

-Move dispatcher methods to seperate file
-configure, load and register them dynamically
-fix bug in cmd-line parameter parsing

fc6f01b7 04/30/2011 02:54 pm Markos Gogoulos

Merge remote branch 'origin/api-current' into ui-0.3

30f3b5e5 04/19/2011 04:13 pm Vangelis Koukis

Allow destroying machines being built

4e8566e4 04/19/2011 04:04 pm Vangelis Koukis

Merge branch 'network-api'

175ffa73 04/19/2011 11:49 am Giorgos Verigakis

Merge branch 'auth-mechanism' of https://code.grnet.gr/git/synnefo into api-current

7e8b41e7 04/18/2011 10:53 pm Vangelis Koukis

Add content in README.deploy, minor fixes

Add a draft description of the various services that need to be
running for a working Synnefo installation. Add documentation for ganeti-0mqd,
db_controller and vncauthproxy.

Fix language error in comment in logic/utils.py.

5231a38a 04/15/2011 07:08 pm Giorgos Verigakis

Raise if vm is deleted or being built

Fixes #351

12fd6446 04/15/2011 02:24 pm Giorgos Verigakis

Fix debugging hardcoded value

529178b1 04/15/2011 02:13 pm Giorgos Verigakis

Code clean up

  • Moved rapi related stuff in logic
  • Added messages to all raised Faults
  • Updated console format
  • Removed unused fixture
  • Better imports
  • Docstring bugfixes
733ab79b 04/15/2011 11:14 am Georgios Gousios

Merge branch 'master' into auth-mechanism

fc30c430 04/14/2011 12:17 pm Vangelis Koukis

Add docstring in get_rsapi_state()

Add improved documentation on how the API state is derived
based on the internal state of the VirtualMachine instance.

8af3b61f 04/12/2011 02:49 pm Georgios Gousios

Fix the remaing tests

8f377cd6 04/12/2011 02:38 pm Georgios Gousios

Shortcut in the aai module to make tests pass

Introduces a test-time runtime variable which allows REST-based (e.g.
api) tests to pass through the authentication module

faa26af8 04/07/2011 01:36 pm Georgios Gousios

Make most tests pass

1896d262 04/06/2011 06:08 pm Georgios Gousios

Fixes to pass some shibboleth related tests

dbf97ed2 04/05/2011 04:29 pm Georgios Gousios

Authentication routine, with comments

938e89ab 04/05/2011 04:28 pm Georgios Gousios

Authentication token duration settings and autogeneration

dd53338a 04/05/2011 02:16 pm Georgios Gousios

Make tests fail gracefully with assertions.

Also correct spelling of the word shibboleth

462c7e47 04/04/2011 04:03 pm Georgios Gousios

Simplistic implementation of Sibbolleth header parsing

44193110 04/04/2011 03:04 pm Georgios Gousios

User deletion test

76cc889c 04/04/2011 02:11 pm Georgios Gousios

Fix create user test case

de53d31c 04/04/2011 01:03 pm Georgios Gousios

Merge branch 'master' into auth-mechanism

420f2c20 04/04/2011 12:16 pm Georgios Gousios

Some code and fixture data for authentication

685b219e 04/02/2011 11:55 am Vangelis Koukis

Improve handling of server deletions

Improve handling of server deletions. * Have the API return a server's state as DELETED when
the deleted flag has been set in the VirtualMachine model.
This makes the server immediately invisible, instead of waiting...