Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / api @ 01f5f8d9

Name Size
  fixtures
  management
  templates
  test
__init__.py 0 Bytes
actions.py 13.1 kB
extensions.py 2.7 kB
faults.py 2.3 kB
flavors.py 4.1 kB
images.py 11.9 kB
models.py 0 Bytes
networks.py 12 kB
servers.py 27.1 kB
services.py 4.6 kB
tests.py 1.8 kB
urls.py 2.4 kB
util.py 16.4 kB
versions.py 3.9 kB

Latest revisions

# Date Author Comment
01f5f8d9 11/04/2013 03:20 pm Christos Stavrakakis

cyclades: Workaround for race condition in Ganeti

Workaround for race where OP_INSTANCE_REMOVE starts executing on Ganeti
before OP_INSTANCE_CREATE. If this is the case, OP_INSTANCE_REMOVE will
not wait for locks, instead it will fail because the instance has not...

3d5906fe 10/16/2013 06:21 pm Giorgos Korfiatis

Resolve some undefined names

Add missing imports; remove call to sqlite3_changes; set key and val
in render_meta.

53c6b592 10/04/2013 06:17 pm Christos Stavrakakis

cyclades: Fix broken test

Mock getting image from plankton.

43d5633e 10/04/2013 05:29 pm Christos Stavrakakis

cyclades: Fix broken tests from commit #8936368

Commit #8936368 used the "size" attribute of images. This commit
fixes mocked images of tests to contain this attribute.

89363686 10/04/2013 05:21 pm Christos Stavrakakis

Pass hashmap instead of location to snf-image

Update Cyclades, to pass as 'img_id' the hashmap('checksum') of the
image, instead of the location URL. In that way, snf-image does not any
access to the Pithos database.

a1d0f147 09/27/2013 10:49 am Christos Stavrakakis

cyclades: Remove commit_manually decorator

Replace commit_manually decorator with commit_on_success. Since network
is no longer created in DB in the API request, the manually decorator is
no longer needed.

a6b17d33 09/24/2013 05:16 pm Christos Stavrakakis

wheezy: urls module doesn't export defaults

2c6ac437 09/24/2013 12:30 pm Christos Stavrakakis

Fix missing import and broken test

f2080d16 09/17/2013 02:33 pm Christos Stavrakakis

cyclades: Mock vm removal if creation fails

In case creating a VM fails before the OP_INSTANCE_CREATE job is
enqueued in Ganeti, the VM and its NICs must be deleted, and the
resources must be released from Quotaholder, which is exactly what is
done when a VM is deleted from Ganeti. Instead of duplicating the code,...

ea9b0fb9 09/17/2013 01:26 pm Christos Stavrakakis

cyclades: Fix bug during server creation

Commit #32a0b85, modified server creation, by refetching the object from
DB after issuing commission to quotaholder. However, the new object is
not having the 'config_url' attributed, which is added to the vm object...

View revisions

Also available in: Atom