Statistics
| Branch: | Tag: | Revision:

root / logic @ e6209aa2

# Date Author Comment
e6209aa2 07/05/2011 01:57 pm Giorgos Gousios

Dispatcher support for draining queues

Refs: #719

979482ce 07/04/2011 04:43 pm Giorgos Gousios

Introduce queue mgmt functions

Introduces the following three commands to the dispatcher, used to process queue declarations and stale messages

--purge-queues
--purge-exchanges
--drain-queue (not fully implemented yet)

Refs: #719

cf0e4232 07/01/2011 05:42 pm Vangelis Koukis

Development: Allocate a 14GB disk for Windows VMs

bd0a9536 07/01/2011 04:17 pm Vangelis Koukis

Merge branch 'ui-0.5'

0d2c6fc3 07/01/2011 12:47 pm Giorgos Gousios

Merge branch 'api-current' into helpdesk-gui

2469a9ce 07/01/2011 12:45 pm Vangelis Koukis

Merge branch 'api-current' into ui-0.5

2da5f785 07/01/2011 12:43 pm Giorgos Verigakis

Make the dispatcher refresh on tag updates

Make a dummy ModifyInstance call when changing instance
tags in order to force process_net_status to be called on
the dispatcher.

98f36397 07/01/2011 11:32 am Giorgos Gousios

Logging configuration for the rapi logger

cff877fc 07/01/2011 10:43 am Vangelis Koukis

Merge branch 'api-current' into ui-0.5

Conflicts:
logic/dispatcher.py

85c6267a 07/01/2011 10:32 am Giorgos Gousios

Merge branch 'api-current' into helpdesk-gui

Conflicts:
aai/shibboleth.py

2ad02eee 06/30/2011 08:20 pm Giorgos Gousios

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

4ed2e471 06/30/2011 08:17 pm Giorgos Gousios

Fix problem with python-daemon incompatibilities

python-daemon 1.6 changed the way it handles pidfile imports so going
back to 1.5.5 (included in Debian squeeze) breaks the dispatcher.
Document the exact dependencies in deployment and ci files.

d8c8ebd0 06/30/2011 06:59 pm Christos Psaltis

Correct import from pidlockfile

d1387ed7 06/30/2011 06:36 pm Christos Psaltis

Merge remote-tracking branch 'origin/api-current' into ui-0.5

Conflicts:
api/util.py
logic/backend.py

658a825a 06/30/2011 06:25 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

ace4bd5d 06/30/2011 06:24 pm Giorgos Gousios

License headers for various files

refs #581

904df519 06/30/2011 06:24 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

888355d1 06/30/2011 06:24 pm Giorgos Gousios

Move logging configuration to a module

2a0f327d 06/30/2011 06:24 pm Giorgos Gousios

Configuration for syslog, app-wide logging

513f8715 06/30/2011 06:24 pm Giorgos Gousios

Change configuration to print logs to the console

60d6a13b 06/30/2011 06:20 pm Giorgos Gousios

Take care of pidfile generation

7da1827f 06/30/2011 06:20 pm Giorgos Gousios

Daemonization + externally configured logging

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

37ca953f 06/30/2011 04:24 pm Christos Psaltis

Merge remote-tracking branch 'origin/api-current' into ui-0.5

Conflicts:
logic/backend.py

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

746c6bf4 06/30/2011 03:41 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....
f040c416 06/30/2011 03:41 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.

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....
33e00f02 06/28/2011 03:42 pm Giorgos Gousios

Per user invitation limits

refs: #705

0bc9e367 06/28/2011 10:27 am Giorgos Gousios

Merge branch 'api-current' into helpdesk-gui

Conflicts:
settings.py.dist

26563957 06/24/2011 06:10 pm Giorgos Verigakis

Add a PROTECTED firewall profile

Refs #659

2252a338 06/23/2011 10:24 am Giorgos Gousios

Replace custom email send code with Django's mailer

Thanks to [faidon] for the tip

32c20e24 06/21/2011 02:46 pm Giorgos Gousios

Merge branch 'api-current' into helpdesk-gui

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

dd0e2b2d 06/14/2011 03:08 pm Giorgos Gousios

Support for creating one-off user tokens

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