History | View | Annotate | Download (9.1 kB)
Improve logging and error reporting in callbacks
Add DEBUG-level logging and make exception reportingmore verbose in dispatcher callbacks.
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
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
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
Merge branch 'api-current'
Add unit tests for process_op_status()
Add unit tests for all supported code paths inlogic/backend.py:process_op_status(), for the various notificationsof type 'ganeti-op-status'.
Also catch the exception raised when a ganeti-op-status notificationcontains an opcode not handled by Synnefo.
Only receive OP messages for the specific BACKEND_PREFIX
Also a minor correction in the debugging queue output
Use log.exception to report exceptions
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
Merge branch 'logging' into api-current
Conflicts: logic/backend.py
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.
Extend net notifications to include IPv6 addresses
Include support for autogenerated public IPv6 addresses,extend the logic layer accordingly: