cyclades: Callback for cluster modifications
Extend snf-dispatcher callbacks with one to run every time anOP_CLUSTER_ opcode is executed in a Ganeti backend.
cyclades: Update NICs even if job failed
Make snf-ganeti-eventd send the NICs of the instance not only onsuccess, but also if the job has failed or has been canceled. Also,update snf-dispatcher to handle those messages. This step is required toclear BUILDING NICs that fail.
gtools: Make eventd send beparams and result
Update 'snf-ganeti-eventd' daemon to send the requested beparams incase of 'OP_INSTANCE_SET_PARAMS' opcodes. Also, if the opcode isin success state, send the 'result' attribute of Ganeti jobs.
Refs #3870
gtools: remove obsolete hooks
Remove obsolete hooks from Cyclades Ganeti tools. Hooks were only usedto send the notify Cyclades about the NICs of instances, which is nowperformed by eventd.
eventd: pep8 fixes
gtools: Handle case of eventd not in master
Handle the case the 'snf-ganeti-eventd' is not running in Ganeti masternode, but in a master candidate. In such a case, we can not get a Ganeticlient. Until Ganeti conf daemon is implemented, we manually load and...
gtools: Make eventd send instance NICs
Update eventd daemon to get the instance NICs by querying Ganeti andsend them to Cyclades.
Remove mac2eui64 dependency
Import mac2eui64 code which is already shipped under util/mac2eui64 insteadof shipping it as a seperate script.
Fix pep8 issues
Make amqp_puka get logger as argument
View revisions
Also available in: Atom