History | View | Annotate | Download (16.4 kB)
gtools: Make eventd send job fields
Make snf-ganeti-eventd send 'job_fields' for instance and networkopcodes, and modify the corresponding backend functions andsnf-dispatcher callbacks.
Fix compatibility issues with ganeti-2.7
gtools: Fix compatibility issues with networks
From version 2.7, Ganeti returns the network's UUID field in nics'networks' attribute. Instead use 'networks.names' attribute to getthe network name.
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
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.
Make amqp_puka get logger as argument
Process OP_NETWORK_SET_PARAMS Ganeti jobs
Modify snf-ganeti-eventd and snf-dispatcher to handle jobs withOP_NETWORK_SET_PARAMS opcode. Handling of these jobs is neededto update the IP Pool of network, when reserving and releasingIPs directly from the Ganeti backend.
Get Ganeti cluster name from ssconf
Modify snf-ganeti-eventd in order to get the name of the Ganeti clusterfrom shared configuration files (ssconf) instead of performing a LUXI query.Performing a LUXI restricts eventd to run only on the master node.
Change eventd and dispatcher AMQP retries
Set unlimited connection retries to AMQP hosts for snf-ganeti-eventd,since death of snf-ganeti-eventd results in loss of events.Also increase retries of snf-dispatcher.
Fix None timestamp in eventd messages
Send the job timestamp when an opcode does not have a timestamp.
Change process title to simplify 'ps' display
Use python-setproctitle to change the process title of the runningdaemon. Make it appear as a native executable to simplifyadministration. Only set executable name, because cannot set individualvalues for arguments.
Fix no-time in eventd messages
Ganeti opcodes may not have an end-timestamp when they go toan error state. In that case send the job end-timestamp.
Get cluster name from Ganeti
Query Ganeti for getting the cluster name, instead of reading thessconf files.
Fix AMQP bug in snf-progress-monitor
Send cluster name from snf-ganeti-eventd
Remove stale pid lockfiles on daemon invocation
Reduce confirm buffer size of snf-ganeti-eventd
Refactor AMQP client
Refactor snf-ganeti-eventd
Refactor snf-ganeti-eventd to make easier differenet handling of opcodes
Fix version compotability issues with ganeti
Filter messages sent from snf-ganeti-eventd
Do not publish messages for jobs concerning no or multiple instances,since snf-dispatcher can not normally handle them.
Update modules interacting with AMQP
Update all modules which are interacting with the RabbitMQ messaging system touse the AMQPClient in order to use highly available queues in active/activemode.
Extend messages to include a unique identifier in order to handle...
Fix eventd ad ganeti version compatibility
Rename snf-ganeti-tools to snf-cyclades-gtools