Statistics
| Branch: | Tag: | Revision:

root / logic / callbacks.py @ 41303ed0

History | View | Annotate | Download (8.9 kB)

# Date Author Comment
86f046a8 10/10/2011 01:48 pm Giorgos Verigakis

Move leftover files to new logging mechanism

Refs #1033

eee48215 08/31/2011 12:05 pm Vangelis Koukis

Improve logging and error reporting in callbacks

Add DEBUG-level logging and make exception reporting
more verbose in dispatcher callbacks.

e6f5bb10 07/25/2011 04:45 pm Vangelis Koukis

Fix handling of ganeti-create-progress notifs

Fix handling of ganeti-create-progress notifications: * Fix typo * Fix logic dispatcher to properly log and survive exceptions thrown by
the logic layer when processing incoming notifications * Minor PEP8 fixes

c25cc9ec 07/25/2011 01:23 pm Vangelis Koukis

Update handling of 'ganeti-create-progress' notifs

Update handling of 'ganeti-create-progress' notification messages: * update format of 'ganeti-create-progress' notifications * update relevant unit test accordingly * numerous PEP8 fixes in logic and api test code

9068cd85 07/21/2011 06:08 pm Giorgos Gousios

Process build progress update notifications

Catch build progress update messages from AMQP, process and store them in the database. Test to store the processing operations

Refs: #885

5c614d83 07/13/2011 03:32 pm Vangelis Koukis

Merge branch 'api-current'

95aee02c 07/13/2011 03:28 pm Vangelis Koukis

Add unit tests for process_op_status()

Add unit tests for all supported code paths in
logic/backend.py:process_op_status(), for the various notifications
of type 'ganeti-op-status'.

Also catch the exception raised when a ganeti-op-status notification
contains an opcode not handled by Synnefo.

960c15e0 07/13/2011 11:37 am Giorgos Gousios

Only receive OP messages for the specific BACKEND_PREFIX

Also a minor correction in the debugging queue output

f2bdb9ab 07/11/2011 01:29 pm Giorgos Gousios

Use log.exception to report exceptions

583bfaa0 07/07/2011 04:15 pm Giorgos Gousios

More robust email sending

-Synchronous send message function returns Boolean to indicate success or failure
-Queued emails that were not sent are not removed from the queue

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

Merge branch 'logging' into api-current

Conflicts:
logic/backend.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....