Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-gtools / synnefo / ganeti / eventd.py @ d0545590

History | View | Annotate | Download (16.3 kB)

# Date Author Comment
d0545590 10/09/2013 11:40 am Christos Stavrakakis

cyclades: Use NIC UUID in firewall tags

Use NICs UUID instead of index to generate firewall tags. Make the
'set_firewall_profile' action to take the NICs ID as argument. Also,
update the firewall settings.

e6fbada1 10/09/2013 11:40 am Christos Stavrakakis

gtools: Make eventd send job fields

Make snf-ganeti-eventd send 'job_fields' for instance and network
opcodes, and modify the corresponding backend functions and
snf-dispatcher callbacks.

220e3cc0 10/09/2013 11:40 am Christos Stavrakakis

gtools: Make snf-ganeti-eventd send NIC names

a9bb2a1a 10/09/2013 11:40 am Christos Stavrakakis

Fix compatibility issues with ganeti-2.7

  • SimpleConfigReader has been removed. Use SimpleStore
  • QUEUE_DIR has been moven from ganeti.constants to ganeti.pathutils
  • _QueuedJob.Restore takes 2 more arguments
  • Group info is returned as list instead of string
32e2716a 10/09/2013 11:40 am Christos Stavrakakis

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 get
the network name.

36d450e8 10/01/2013 05:45 pm Christos Stavrakakis

cyclades: Callback for cluster modifications

Extend snf-dispatcher callbacks with one to run every time an
OP_CLUSTER_ opcode is executed in a Ganeti backend.

  • make snf-ganeti-eventd send messages on cluster modifications. These
    messages do not contain any description about the job....
90858bda 09/10/2013 03:29 pm Christos Stavrakakis

cyclades: Update NICs even if job failed

Make snf-ganeti-eventd send the NICs of the instance not only on
success, but also if the job has failed or has been canceled. Also,
update snf-dispatcher to handle those messages. This step is required to
clear BUILDING NICs that fail.

12ee1ad8 07/02/2013 12:31 pm Christos Stavrakakis

gtools: Make eventd send beparams and result

Update 'snf-ganeti-eventd' daemon to send the requested beparams in
case of 'OP_INSTANCE_SET_PARAMS' opcodes. Also, if the opcode is
in success state, send the 'result' attribute of Ganeti jobs.

Refs #3870

449787d3 05/14/2013 01:25 pm Christos Stavrakakis

eventd: pep8 fixes

6df16263 05/14/2013 01:25 pm Christos Stavrakakis

gtools: Handle case of eventd not in master

Handle the case the 'snf-ganeti-eventd' is not running in Ganeti master
node, but in a master candidate. In such a case, we can not get a Ganeti
client. Until Ganeti conf daemon is implemented, we manually load and...

0e1f3323 05/14/2013 01:25 pm Christos Stavrakakis

gtools: Make eventd send instance NICs

Update eventd daemon to get the instance NICs by querying Ganeti and
send them to Cyclades.

a8858945 11/22/2012 01:24 pm Christos Stavrakakis

Make amqp_puka get logger as argument

fd2bdbb2 11/07/2012 11:04 am Christos Stavrakakis

Process OP_NETWORK_SET_PARAMS Ganeti jobs

Modify snf-ganeti-eventd and snf-dispatcher to handle jobs with
OP_NETWORK_SET_PARAMS opcode. Handling of these jobs is needed
to update the IP Pool of network, when reserving and releasing
IPs directly from the Ganeti backend.

e66a7e34 11/01/2012 01:24 pm Christos Stavrakakis

Get Ganeti cluster name from ssconf

Modify snf-ganeti-eventd in order to get the name of the Ganeti cluster
from shared configuration files (ssconf) instead of performing a LUXI query.
Performing a LUXI restricts eventd to run only on the master node.

2ef10562 10/08/2012 02:30 pm Christos Stavrakakis

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.

765ff3ff 09/28/2012 01:21 pm Christos Stavrakakis

Fix None timestamp in eventd messages

Send the job timestamp when an opcode does not have a timestamp.

1dc821c9 09/21/2012 04:28 pm Christos Stavrakakis

Change process title to simplify 'ps' display

Use python-setproctitle to change the process title of the running
daemon. Make it appear as a native executable to simplify
administration. Only set executable name, because cannot set individual
values for arguments.

f2ccb23e 09/18/2012 10:23 am Christos Stavrakakis

Fix no-time in eventd messages

Ganeti opcodes may not have an end-timestamp when they go to
an error state. In that case send the job end-timestamp.

51fc0054 07/27/2012 03:13 pm Christos Stavrakakis

Get cluster name from Ganeti

Query Ganeti for getting the cluster name, instead of reading the
ssconf files.

996e5d53 07/25/2012 04:49 pm Christos Stavrakakis

Fix AMQP bug in snf-progress-monitor

27a8e4ae 07/23/2012 11:36 am Christos Stavrakakis

Send cluster name from snf-ganeti-eventd

cf2a3529 07/16/2012 11:19 am Christos Stavrakakis

Remove stale pid lockfiles on daemon invocation

b85320d0 07/02/2012 05:56 pm Christos Stavrakakis

Reduce confirm buffer size of snf-ganeti-eventd

db400d82 06/29/2012 01:38 pm Christos Stavrakakis

Refactor AMQP client

39ccdb18 06/06/2012 05:10 pm Christos Stavrakakis

Refactor snf-ganeti-eventd

Refactor snf-ganeti-eventd to make easier differenet handling of opcodes

Fix version compotability issues with ganeti

07e4ab22 06/06/2012 05:10 pm Christos Stavrakakis

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.

c4e55622 06/06/2012 04:56 pm Christos Stavrakakis

Update modules interacting with AMQP

Update all modules which are interacting with the RabbitMQ messaging system to
use the AMQPClient in order to use highly available queues in active/active
mode.

Extend messages to include a unique identifier in order to handle...

4ed30eed 05/29/2012 01:03 pm Christos Stavrakakis

Fix eventd ad ganeti version compatibility

a31e427d 01/30/2012 06:51 pm Kostas Papadimitriou

Rename snf-ganeti-tools to snf-cyclades-gtools