cyclades: Add name to Ganeti NICs
Add 'name' attribute to newly created NICs. Currently, the name of theNICs 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, thiscommit updates snf-dispatcher to preserve the name of the NIC, if any,...
eventd: Fix using attribute from wrong module
'CLUSTER_CONF_FILE' attribute belongs to 'ganeti.pathutils' and not'ganeti.constants'.
gtools: Add ganeti to python path
Modify snf-ganeti-eventd to explicitly add '/usr/share/ganeti' to it'spath. This is needed because since Ganeti 2.7, Ganeti debian packageships the majority of the python code as a private module under'/usr/share/ganeti'.
cyclades: Do not retry all Ganeti failed creations
Make snf-dispatcher retry only the OP_INSTANCE_CREATE jobs that faileddue to opportunistic locking. Such jobs include the 'ECODE_TEMP_NORES'error code in the opcode result. This commit makes snf-ganeti-eventd...
cyclades: Retry failed instance creation
Handle special case where an OP_INSTANCE_CREATE job which uses theopportunistic locking feature fails. This failure is probably due to thefact that all nodes may be already locked. In this case, makesnf-dispatcher retry the failed job with opportunistic locking turned...
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 getthe network name.
gtools: Fix compatibility issues with ganeti-2.7
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: remove hook from entry points
View revisions
Also available in: Atom