History | View | Annotate | Download (15 kB)
Merge branch 'invitation-fixes' of https://code.grnet.gr/git/synnefo into invitation-fixes
Conflicts: logic/dispatcher.py
Minor pep8 fixes to logic/dispatcher.py
Convert msg routing keys to be prefixed by BACKEND_PREFIX_ID
Improve logging in logic/dispatcher.py
Make dispatcher log to stderr when in debug mode
Add a logging handler to the dispatcher that sends logging output tostderr when in debug mode (-d is enabled).
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
Move queue declaration to the dispatcher
Move queue declaration and initialization to the dispatcher since the dispatcher is the only consumer of this information.
Refs: #809
Move queue initialization to its own method
...in order for other standalone commands (drain, purge, etc) to be able to use thedeclared queues
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
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.
Don't start the DEBUG queue when DEBUG mode is off
Progress reporting on queue draining
Fix minor error in variable naming
Dispatcher support for draining queues
Refs: #719
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)
Fix problem with python-daemon incompatibilities
python-daemon 1.6 changed the way it handles pidfile imports so goingback to 1.5.5 (included in Debian squeeze) breaks the dispatcher.Document the exact dependencies in deployment and ci files.
Merge branch 'logging' into api-current
Conflicts: logic/backend.py
Extend net notifications to include IPv6 addresses
Include support for autogenerated public IPv6 addresses,extend the logic layer accordingly:
Move logging configuration to a module
Make pid file setting work for real
Create a pid file outside the daemon context, make sure it is deleted onshutdown, offer option to set it from the cmdline
License headers for various files
refs #581
Take care of pidfile generation
Daemonization + externally configured logging
Merge branch 'invitations' into reconcilation
Conflicts: logic/dispatcher_callbacks.py settings.py.dist
Lots of backfixes in status reconciliation code
waitpid() accepts two arguments by default
Survive server restarts
Proper debug mode, correct channel shutdown sequence
Style and pylint suggested fixes
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.
Fix fork-bomb bug when specifying workers by hand
Tell the cmd-line parser that the -w argument is an int
Support for spawning worker processes
Change logger names
More appropriate location and naming