Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo @ 88d998b9

Name Size
  admin
  api
  app_settings
  db
  helpdesk
  locale
  logic
  management
  plankton
  quotas
  tools
  ui
  userdata
  versions
  vmapi
__init__.py 1.7 kB
cyclades_settings.py 4.1 kB

Latest revisions

# Date Author Comment
88d998b9 11/25/2013 01:03 pm Christos Stavrakakis

cyclades: Add script for adding name to NICs

Add migration script for adding a unique name to the NICs of all Ganeti
instances. Also, this script updates the firewall instance tags to
include the NIC names and not the NIC index.

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

c22db8ce 11/20/2013 12:12 pm Ilias Tsitsimpis

cyclades: Catch exception in verify_personality

The verify_personality function assumes that the contents of a
personality is encoded in base64 and tries to decode them. But if the
client didn't encode them a TypeError `Incorrect padding' will be
raised. Catch this exception and raise a BadRequest.

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

7b4a61dc 11/18/2013 12:46 pm Christos Stavrakakis

gtools: Fix Ganeti allocation parameters

When retrying a failed job, remove 'pnode' and 'snode' fields if they
were implicitly set by Ganeti iallocator. Ganeti will fail if both
iallocator and node are specified in the job.

5a5ace7c 11/13/2013 09:16 am Christos Stavrakakis

cyclades: Check for all finalized states

69cdf66c 11/11/2013 03:39 pm Nanakos Chrysostomos

plankton: Fix check about object permissions

Update check after getting an objects permissions to fail only if an
image gets permissions from a None path and the object has permissions.
Also, instead of just logging a warning, raise an exception.

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

0dd40027 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Fix case where 'dfree' is None

If Ganeti has not enabled 'plain' or 'drbd' disk template, then it
reports 'dfree' as None. Fix this corner case by treating None as 0.

2796f26a 11/11/2013 03:29 pm Christos Stavrakakis

cyclades: Small fixes to network reconciliation

  • Pass missing argument to function
  • Fix corner case where there are no externally reserved IPs.

View revisions

Also available in: Atom