Statistics
| Branch: | Tag: | Revision:

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

History | View | Annotate | Download (16 kB)

# Date Author Comment
b2272468 11/22/2013 02:38 pm Christos Stavrakakis

cyclades: Add name to Ganeti NICs

Add 'name' attribute to newly created NICs. Currently, the name of the
NICs will not be used to refer to NICs, as it will be in Synnefo 0.15.
Names are added only to ease the migration to version 0.15. Also, this
commit updates snf-dispatcher to preserve the name of the NIC, if any,...

ffc4b474 11/18/2013 07:24 pm Christos Stavrakakis

eventd: Fix using attribute from wrong module

'CLUSTER_CONF_FILE' attribute belongs to 'ganeti.pathutils' and not
'ganeti.constants'.

3bac1e87 11/18/2013 06:52 pm Christos Stavrakakis

gtools: Add ganeti to python path

Modify snf-ganeti-eventd to explicitly add '/usr/share/ganeti' to it's
path. This is needed because since Ganeti 2.7, Ganeti debian package
ships the majority of the python code as a private module under
'/usr/share/ganeti'.

aee560b0 11/18/2013 02:57 pm Christos Stavrakakis

cyclades: Do not retry all Ganeti failed creations

Make snf-dispatcher retry only the OP_INSTANCE_CREATE jobs that failed
due to opportunistic locking. Such jobs include the 'ECODE_TEMP_NORES'
error code in the opcode result. This commit makes snf-ganeti-eventd...

727fb2f9 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Retry failed instance creation

Handle special case where an OP_INSTANCE_CREATE job which uses the
opportunistic locking feature fails. This failure is probably due to the
fact that all nodes may be already locked. In this case, make
snf-dispatcher retry the failed job with opportunistic locking turned...

dee2e82c 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: 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.

2b4becab 11/11/2013 03:28 pm Christos Stavrakakis

gtools: 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
  • cyclades: Group info is returned as list instead of string
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