Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-gtools / synnefo @ 3bac1e87

Name Size
  ganeti
  versions
__init__.py 200 Bytes

Latest revisions

# Date Author Comment
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
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.

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

Fix pep8 issues

View revisions

Also available in: Atom