History | View | Annotate | Download (53.4 kB)
cyclades: Process progress of snapshots
Update status of snapshots based on notifications about the progress ofGaneti OP_INSTANCE_SNAPSHOT job. Extend snf-ganeti-eventd andsnf-dispatcher to create and handle such notifications. Currently, westore the snapshot_id, in a hacky way as a reason in the...
cyclades: Add SnapshotInstance RAPI method
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...
cyclades: Add shutdown_timeout to RAPI client
Add missing 'shutdown_timeout' option to reboot, shutdown and destroymethods of Ganeti RAPI client. The Ganeti RAPI daemon will ignore thisoptions until Ganeti 2.10.
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: Remove deprecated network type in ganeti
Signed-off-by: Dimitris Aragiorgis <dimara@grnet.gr>
Cyclades: Rename 'Can not' to 'Cannot' to all msgs
Remove deprecated network type in ganeti
cyclades: Make GanetiRapiClient work with gevent
GanetiRapiClient uses PyCurl, a Python interface to libcurl, andperforms blocking requests, so does not work well with gevent. Thiscommit makes GanetiRapiClient to use 'Requests' HTTP library that isgreenlet-safe.
cyclades-rapi: Add bulk option to GetJobs
cyclades: Implement lazy networks
Implement "lazy networks", which are not created to all Ganeti backendsupon creation, but only when an instance that resides in a Ganeti isconnected to that network.
Update 'create_network' to create the Network object in DB without...
Add conflicts_check option in network rapi calls
Ganeti by default checks for conflicting IPs when creating/connectingnetworks. This feature can be bypassed for private networks. We donot care for IP uniqueness in case of private networks as long as they...
Update rapi client
Get rapi client from snf-ganeti. Add depends argument (for chain jobs)where needed.
Argument tags must be a list of strings and arguments add_reserved_ips andremove_reserved_ips must be None or a list of strings.
Allow custom link, mac_prefix in network-create
Add extra command line arguments, to allow the user specify thelink and mac_prefix of the new network if needed.
Pool Ganeti RAPI clients
- Move Ganeti RAPI client from snf-common to snf-cyclades-app/logic.- Create GanetiRapiClientPool for pooling GanetiRapiClient objects- Create context manager in db.models for pool handling- Update code using the RAPI client