Drop Django dependency in the Synnefo Ganeti hook
Drop all dependencies on Django in the Synnefo Ganeti hook.
Extend net notifications to include IPv6 addresses
Include support for autogenerated public IPv6 addresses,extend the logic layer accordingly:
Include firewall info in ganeti-net-status msgs
Extend the Ganeti hook to include firewall information in notificationsof type ganeti-net-status. Use synnefo:network:* instance tags, aspassed through the GANETI_INSTANCE_TAGS environment variable to determine...
Drop Django dependency in the Ganeti event daemon
Modify the Ganeti event daemon to have no dependency on Django. * Make it an independent daemon, drop all Django dependencies * Import Django's settings.py directly * Rename ganeti/ganeti-eventd.py to ganeti/snf-ganeti-eventd.py...
Also handle IN_MOVED_TO event in ganeti-eventd.py
Also handle the IN_MOVED_TO event from inotify() in ganeti-eventd.py,to work with Ganeti versions >=2.4.2, which write to a temporary filein the job queue, then rename it immediately.
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
Style and pylint suggested fixes
Improve AMQP-specific parts of settings.py.dist
Add support in settings.py.dist for fixing AMQP-specific variablesin settings after setting BACKEND_PREFIX_ID.
Temporarily use two different queues for routing messages of type"ganeti-op-status" and "ganeti-net-status" independently....
Extend Synnefo Ganeti Hook, add support for AMQP
Extend the Synnefo Ganeti hook, add support for publishingnotifications over AMQP: * Make all hooks inherit from GanetiHook * Connect to RabbitMQ, publish notifications in JSON * Extend post-instance-start hook to publish net updates...
Fix routing key naming
Better handling of queue errors - resend until successful
fix suggested by vkoukis
Add initial version of Synnefo Ganeti hook
Add initial version of a Synnefo-specific Ganeti hook, which willeventually use the redesigned messaging architecture to publishnotifications to the rest of the infrastructure, refs #393.
Dynamic configuration of queues from settings.py
This commit enables test users to bind arbitrary functions in responseto queued messages, using the topic queue pattern
http://www.rabbitmq.com/tutorials/tutorial-five-python.html
refs: #393
Change log specifier
Remove 0mq based code
Don't skip wait time on connection attempt
Make ganeti event handling resilient to msg server restarts
Remove carrot, rely on amqplib.
Use settings from settings.py
Half-baked convertion to rabbitmq
Refactor ganeti-0mqd as daemon, message broker
Refactor ganeti-0mqd to run as a UNIX daemon: * Log under /var/log/synnefo by default * Maintain PID file under /var/run/synnefo * Handle signals gracefully
Refactor ganeti-0mqd to be a 0mq message broker:...
What commit b4141604 should have contained.
The proper contents of commit b4141604 are included here.
rename jobwatcher.py -> ganeti-0mqd.py.
Initial commit of ganeti-0mqd.
Ganeti-0mqd monitors the Ganeti job queue and publishesjob progress notifications in JSON, over 0mq.Based on an initial version by [apollon].
There is also a small subscriber to test socket durability.