Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-gtools / synnefo @ 2eda9c61

# Date Author Comment
11d4d283 01/29/2014 03:58 pm Christos Stavrakakis

cyclades: Process progress of snapshots

Update status of snapshots based on notifications about the progress of
Ganeti OP_INSTANCE_SNAPSHOT job. Extend snf-ganeti-eventd and
snf-dispatcher to create and handle such notifications. Currently, we
store the snapshot_id, in a hacky way as a reason in the...

d9b25288 01/29/2014 03:53 pm Christos Stavrakakis

gtools: Make eventd send instance disks

Extend snf-ganeti-eventd to send the disks of the instance when needed,
exactly like it is doing for the NICs of the instance.

4b7fbdc6 12/23/2013 04:32 pm Christos Stavrakakis

gtools: Send messages only for cluster changes

ee995ae2 11/26/2013 01:11 pm Christos Stavrakakis

Merge branch 'master' into develop

Conflicts:
ci/schemas/one_node_wheezy/wheezy.conf
docs/admin-guide.rst
snf-cyclades-app/synnefo/api/actions.py
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/callbacks.py...

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

3a09d155 11/13/2013 11:28 am Christos Stavrakakis

Merge branch 'hotfix-0.14.10' into develop

Conflicts:
Changelog
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/callbacks.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py...

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

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

eventd: Do not send NICs twice

Fix bug introduced by rebasing, which resulted in NICs to be
sent twice.

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

065ac0f4 05/14/2013 01:25 pm Christos Stavrakakis

gtools: remove obsolete hooks

Remove obsolete hooks from Cyclades Ganeti tools. Hooks were only used
to send the notify Cyclades about the NICs of instances, which is now
performed by eventd.

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.

9e20fcee 02/08/2013 11:53 am Christos Stavrakakis

Remove mac2eui64 dependency

Import mac2eui64 code which is already shipped under util/mac2eui64 instead
of shipping it as a seperate script.

c59f7e0f 02/08/2013 11:53 am Christos Stavrakakis

Fix pep8 issues

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

Make amqp_puka get logger as argument

ec5e7c9d 11/19/2012 03:52 pm Kostas Papadimitriou

Spit monitor messages out to stderr

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.

b16db49b 10/09/2012 04:27 pm Kostas Papadimitriou

Merge branch 'devel-0.11' into ui-0.11

Conflicts:
snf-cyclades-app/synnefo/db/models.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/ui/static/snf/js/models.js

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.

40360576 08/08/2012 08:42 pm Kostas Papadimitriou

Fix progress monitor client initialization

correct api use.

a8073cf2 08/06/2012 06:18 pm Nikos Skalkotos

Fix AMQP bug in snf-progress-monitor

0827883e 08/06/2012 06:17 pm Nikos Skalkotos

Comply with the new monitoring system of snf-image

For now only the image-copy-progress messages are processed

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

cc3f266e 07/23/2012 11:49 am Christos Stavrakakis

Add support for IPv6

- Extend the Network model with fields for holding the IPv6 subnet and
gateway.
- Update network API methods.
- Modify ganeti hooks to return IPv6 address for all network interfaces.
IPv6 is now derived from the IPv6 subnet of the network in Ganeti,...

22ee6892 07/23/2012 11:39 am Christos Stavrakakis

Modification in logic for new-style networks

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

5f62b4d4 07/10/2012 12:37 pm Christos Stavrakakis

Update setting files

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

597e7eba 06/06/2012 03:52 pm Christos Stavrakakis

Client for interaction with a RabbitMQ broker

Introduce a client implementing connection and communication with a RabbitMQ
broker.

This client silently handles connection failures an tries to connect to a
different node. Also uses publisher-confirms to guarantee delivery to the...

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