Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / plankton @ 2eda9c61

# Date Author Comment
2eda9c61 01/30/2014 05:15 pm Christos Stavrakakis

cyclades: Catch quota error when creating snapshot

Catch PithosBackend QuotaError and translate it to faults.OverLimit.

c449760f 01/29/2014 03:58 pm Christos Stavrakakis

cyclades: Merge handling of images and snapshots

Also, rename 'checksum' to 'mapfile'.

11d4d283 01/29/2014 03:58 pm Christos Stavrakakis

cyclades: Process progress of snapshots

Update status of snapshots based on notifications about the progress of
Ganeti OP_INSTANCE_SNAPSHOT job. Extend snf-ganeti-eventd and
snf-dispatcher to create and handle such notifications. Currently, we
store the snapshot_id, in a hacky way as a reason in the...

e7953d63 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Various fixes for volumes and snapshots

862afc75 01/29/2014 03:53 pm Christos Stavrakakis

cyclades: Make plankton aware of snapshots

Add 'is_snapshot' attribute to plankton images. Also add methods for
getting or deleting a snapshot.

606837c6 01/29/2014 03:43 pm Christos Stavrakakis

plankton: Fix wrong import

s/lib/util

78fa9134 01/29/2014 03:24 pm Christos Stavrakakis

plankton: Validate parameters and catch assertions

d58ea30a 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Fix storing of image properties

Image properties where stored all together as one metadata (JSON dumped
string). This caused problems with the maximum allowed length of for a
metadata value. This commit fixes this by storing each property as a
separate metadata which is prefixed with the 'PROPERTY_PREFIX'.

0efb43cd 01/29/2014 01:41 pm Christos Stavrakakis

plankton: Validate meta key/value length

Fail with BadRequest if length of metadata key or value is not valid.

1a9aa726 01/28/2014 03:43 pm Dionysis Grigoropoulos

cyclades: Check if the name of an image is null

72224dd6 01/28/2014 11:59 am Christos Stavrakakis

plankton: Check that object is an image

Fix bug that caused Plankton to return Pithos files that were not
registered as images. Plankton did not checked that the requested Pithos
object (UUID or URL) was an Image. This was caused because
'get_object_meta' call of PithosBackend returns the common metadata for...

3a09d155 11/13/2013 11:28 am Christos Stavrakakis

Merge branch 'hotfix-0.14.10' into develop

Conflicts:
Changelog
snf-cyclades-app/synnefo/api/servers.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/callbacks.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-networks.py...

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.

e407f159 10/29/2013 04:00 pm Ilias Tsitsimpis

snf-cyclades-app: Use the new AstakosClient

Change AstakosClient to use ASTAKOS_AUTH_URL as entry point to the
Astakos service, instead of ASTAKOS_BASE_URL it was using until now.

Remove ASTAKOS_BASE_URL from Cyclades settings, replace it with
ASTAKOS_AUTH_URL. Modify Cyclades to determine ASTAKOS_ACCOUNT_URL and...

6b256427 10/01/2013 06:56 pm Christos Stavrakakis

Request Django=>1.4, <1.5

Drop support for Django 1.2. Remove compatibility code that were used in
order to support Django 1.2 and 1.4. Finally update django documentation
link in the docs.

b694875c 10/01/2013 06:56 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

0a70d2c5 10/01/2013 06:16 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.8' into develop

Merge hotfix-0.14.8 which ports Synnefo to wheezy and Django 1.4.5

Conflicts:
ci/ci_squeeze.conf
ci/ci_wheezy.conf
ci/schemas/one_node_squeeze/packages.conf
ci/schemas/one_node_squeeze/squeeze.conf
ci/schemas/one_node_squeeze/wheezy.conf...

8299ef23 09/27/2013 04:50 pm Christos Stavrakakis

Revert "wheezy: Rename depricated HttpRequest attribute"

This reverts commit cfc4b87c301504627e6a75ab2e4d32c8cd7a6e15. This
commit is reverted because it breaks compatibility with Django 1.2. This
should be applied for Synnefo 0.15.

cfc4b87c 09/27/2013 03:22 pm Christos Stavrakakis

wheezy: Rename depricated HttpRequest attribute

From django docs:
"""
HttpRequest.raw_post_data renamed to HttpRequest.body

This attribute was confusingly named HttpRequest.raw_post_data, but it
actually provided the body of the HTTP request. It’s been renamed to...

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

wheezy: urls module doesn't export defaults

d758784b 08/05/2013 02:39 pm Christos Stavrakakis

Fix stale import statements

Commit 7cfc0ce moved code from webproject to snf_django. This commit
fixes some stale imports that skipped renaming.

890f3d4c 07/12/2013 01:22 pm Christos Stavrakakis

Merge branch 'hotfix-0.14.2' into develop

Conflicts:
Changelog
snf-astakos-app/astakos/im/messages.py
snf-astakos-app/astakos/im/views/target/__init__.py
snf-cyclades-app/synnefo/logic/backend.py
snf-cyclades-app/synnefo/logic/management/commands/reconcile-servers.py...

e3f006b0 07/11/2013 02:30 pm Christos Stavrakakis

plankton: Make pithos backend pool size a setting

Make the pool size of the pithos backends a configurable setting,
namely PITHOS_BACKEND_POOL_SIZE.

a1a73b1b 07/08/2013 03:46 pm Kostas Papadimitriou

Merge branch 'develop' into feature-floating_ips_ui

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py

54256e77 07/05/2013 07:33 pm Georgios D. Tsoukalas

Merge branch 'feature-pithos-atomic-api' into develop

3347a30c 07/05/2013 07:31 pm Georgios D. Tsoukalas

cyclades: update plankton to commit pithos backend

The Pithos backend no longer auto-commits after each method invocation,
therefore plankton needs to handle transactions itself with with
pre_exec() and post_exec() methods.

6f7e8ffc 07/05/2013 07:12 pm Georgios D. Tsoukalas

cyclades: fix omitted plankton image properties

3a528c36 07/03/2013 03:05 pm Christos Stavrakakis

plankton: Add 'created_at' when registering image

Add 'PLANKTON:created_at' metadata to Pithos files when registering them
as images to plankton.

9393d4ee 07/02/2013 03:24 pm Kostas Papadimitriou

plankton: Modular plankton backend class

Enable configurable plankton backend using setting ``PLANKTON_BACKEND_MODULE``.

Add ``synnefo.plankton.backend.JSONFileBackend`` which uses a json file as
the store of returned images. The backend should only be used in development...

125c682c 06/13/2013 06:40 pm Christos Stavrakakis

plankton: Handle case of images without name

b0c95903 06/13/2013 05:47 pm Giorgos Korfiatis

cyclades: Rename poolsize settings for uniformity

Rename ASTAKOS_POOLSIZE to CYCLADES_ASTAKOSCLIENT_POOLIZE;
expose it to the conf file.

f7d0a71c 06/12/2013 03:36 pm Georgios D. Tsoukalas

cyclades: add test for 400 in wrong Plankton paths

269ac8de 06/12/2013 02:28 pm Christos Stavrakakis

Ensure we return cloud faults under any API prefix

66855d86 06/12/2013 12:44 pm Georgios D. Tsoukalas

cyclades: fix variable name in plankton tests

fdb15edb 06/12/2013 11:00 am Georgios D. Tsoukalas

cyclades: fix URLs in cyclades/image tests

18c4414d 06/07/2013 03:15 pm Giorgos Korfiatis

cyclades: Rename service token

Rename CYCLADES_ASTAKOS_SERVICE_TOKEN to CYCLADES_SERVICE_TOKEN for
uniformity.

bb516951 06/04/2013 08:36 pm Kostas Papadimitriou

plankton: Update api version prefix

v1 -> v1.0

69edece7 06/03/2013 07:54 pm Georgios D. Tsoukalas

cyclades: add version 'v1' in plankton/image URLs

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

28c41829 05/09/2013 06:37 pm Christos Stavrakakis

Add 'ASTAKOS_POOLSIZE' setting.

16f2673e 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Rename backend quotaholder properties

Refer to astakosclient instead of quotaholder

b17e5550 05/01/2013 12:00 pm Giorgos Korfiatis

WIP astakosclient for quotas in pithos

cda71050 04/22/2013 10:10 am Christos Stavrakakis

plankton: Cleanup and improve code

Major refactor in plankton APP and ImageBackend code:
  • Remove unused code
  • Remove 'plankton_method' decorator that added an ImageBackend to
    requests an replace it with 'image_backend' context manager. This
    context manager is responsible for opening and closing connections...
14c94c48 04/22/2013 10:10 am Christos Stavrakakis

Improve performance in listing images

Use '_get_domain_objects' function of Pithos backend, to list all
objects in a 'plankton' domain, instead of looping over all accessible
accounts, containers and objects. This function also returns metadata
and permissions for each object in order to avoid two extra calls for...

07f5a62c 04/22/2013 10:10 am Christos Stavrakakis

List all images in snf-manage image-list

Until now 'snf-manage image-list' management command printed only images
that were public, or accessible by a specific user. This commit changes
this command to print all images (regardless of the owner).

59573532 04/22/2013 10:10 am Christos Stavrakakis

plankton: raise BadRequest for invalid location

Modify 'add_image' plankton API method, to check that location parameter
is a valid Pithos url, and raise BadRequest if not.

22b5ac0b 04/22/2013 10:10 am Christos Stavrakakis

plankton: Correct image unregister

Correct usage of 'update_object_meta' function to remove all metadata
from plankton domain. Use an empty dictionary with replace=True.

Refs #3522

62d3ea53 04/22/2013 10:10 am Christos Stavrakakis

plankton: add logging to backend functions

a1a4cbfb 04/22/2013 10:10 am Christos Stavrakakis

Bypass authentication in image-show command

Make image-show management command to show information about an image
without passing a userid. Use 'image_list' command of ImageBackend
instead of 'get_image' because the second one will raise Forbidden for
non-public images....

a9be7bf7 04/15/2013 04:11 pm Christos Stavrakakis

Fix small typo in import statement

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

d2b8ec7b 04/08/2013 11:07 am Christos Stavrakakis

Move common test code to snf_django.lib.testing

f6ff4b40 04/08/2013 11:06 am Christos Stavrakakis

Remove ImageBackend NotAllowedError

Refs #3359

d9d1763e 04/08/2013 11:06 am Christos Stavrakakis

Use the common 'api_method' decorator in plankton

Use the common 'api_method' decorator in all plankton API methods.
Modify the 'plankton_method' decorator to only create and close
the ImageBackend.

65bbcd43 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator in pithos api

Update all pithos API methods to use the new common 'api_method'
decorator. However, this decorator is not enough for pithos since
pithos methods require some extra tasks:
  • Create a PithosBackend connection...
bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

f13aab5d 04/02/2013 01:49 pm Christos Stavrakakis

Delete Image without deleting file from Pithos

Until now, deleting an image resulted in deletion of the corresponding
file from Pithos. Plankton Images are files in Pithos with special
metadata on the 'plankton' metadata domain. Adding an Image to plankton...

4fb602b1 04/02/2013 01:49 pm Christos Stavrakakis

Fix plankton ItemNotFound exception

Plankton backend raised AssertionError when an Image was not found.
Change this to raise faults.ItemNotFound error. Temporary commit
until common API decorator is implemented.

Refs #3356

354b9b6f 04/01/2013 07:02 pm Kostas Papadimitriou

Merge branch 'feature-astakos-authpolicies' into develop

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-create.py
version

c58ae966 03/22/2013 05:12 pm Stratos Psomadakis

Fix plankton shared_from image listing

Commit 469d099 introduced a typo which caused /plankton/shared_images/
to raise an UnboundLocalError.

225cea18 03/14/2013 03:58 pm Christos Stavrakakis

Move common code for mngmt commands to webproject

Move cyclades functions that are useful for all managament commands, like
pprint_table or parse_filters, to snf-webproject.

b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

Fix+move HTTP quotaholder client in synnefo.lib

Allow per-service configuration of the (http) quotaholder client.
Kamaki is no longer needed in service (or ganeti) nodes,
because the client has been moved to snf-common.

Also fix the default quotaholder settings for pithos backend to be disabled...

f4366b6c 03/07/2013 02:03 pm Stratos Psomadakis

Correctly instantiate pithos backend pool

Plankton should explicitly pass quotaholder related args to the pithos
backend pool constructor (after the feature of deregistering images
without deleting them is implemented, plankton should only pass
quotaholder_enable=false to the constructor)....

7856a37a 03/07/2013 02:03 pm Stratos Psomadakis

pep8 fixes

450a6d2b 02/15/2013 05:08 pm Christos Stavrakakis

Add plankton test

Add test for malformed filter when listing images.

469d0997 02/14/2013 04:26 pm Georgios D. Tsoukalas

ui compatibility: translate uuids to display names

cc92b70f 02/06/2013 02:18 pm Christos Stavrakakis

Fix pep8 warnings

c3bcaeff 01/22/2013 01:43 pm Stratos Psomadakis

plankton: Handle correctly request filters

Make sure that when listing public images plankton verifies that
size_max and size_min req filters are integers, and return a Bad
Request response otherwise.

cc964746 12/19/2012 05:32 pm Christos Stavrakakis

Properly configure plankton as an app

All django apps need a models.py file

37f87d98 12/19/2012 05:32 pm Christos Stavrakakis

Add basic tests for plankton

52194c77 12/19/2012 05:32 pm Christos Stavrakakis

Refactor some test code

b2f94a0c 11/26/2012 02:20 pm Christos Stavrakakis

Make Plankton API return all available images

Modify Plankton API, such that GET to /images/ retrieves a list of
available images that the authenticated user has access to. This
includes images owned by the user, images shared with the user and
public images.

45f19863 11/26/2012 02:14 pm Christos Stavrakakis

Update management command to display user images

d0e8984d 11/26/2012 12:51 pm Christos Stavrakakis

Merge branch 'devel-0.12' into devel-0.13

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py

2db7d9df 11/26/2012 12:22 pm Christos Stavrakakis

Handle Pithos NotAllowedError

7a0aa449 11/22/2012 01:26 pm Christos Stavrakakis

Add function for pretty printing tables

29490fca 11/22/2012 01:26 pm Christos Stavrakakis

Fix white space

aed77afe 11/22/2012 01:26 pm Christos Stavrakakis

Extend Plankton API with shared-images

Extend Plankton API, to support listing all non-public images that
are available to the user. This can be done by issuing a GET to
shared-images/ and shared-images/detail.

39a6388d 11/09/2012 01:08 pm Christos Stavrakakis

Improve management commands

6639a243 11/08/2012 06:19 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/synnefo/api/management/commands/flavor-list.py
snf-cyclades-app/synnefo/api/management/commands/server-list.py
snf-cyclades-app/synnefo/api/networks.py
snf-cyclades-app/synnefo/logic/rapi.py

77fccdd4 11/06/2012 11:36 am Christos Stavrakakis

Implement image-list and image-show commands

Implement two new management commands for plankton.
- image-list: lists public images or all images available
to a user
- image-show: displays information about a public image

Also, this commit fixes a bug in server-show, when trying...

ffab341c 10/30/2012 01:12 pm Christos Stavrakakis

Revert dummy images from commit 9555268a

9555268a 10/29/2012 06:46 pm Kostas Papadimitriou

Optionally group public nics in one network view in ui

ed275428 10/24/2012 01:27 pm Christos Stavrakakis

Merge branch 'master' into devel-0.12

Conflicts:
snf-cyclades-app/setup.py

1f478427 10/24/2012 01:13 pm Sofia Papagiannaki

Plankton raise HttpResponseForbidden in case of NotAllowedError

1e28ba40 10/19/2012 04:34 pm Christos Stavrakakis

Remove trailing whitespace

7784ab88 10/19/2012 04:33 pm Christos Stavrakakis

Pool connections to snf-pithos-backend

5f01e1e6 05/14/2012 03:53 pm Kostas Papadimitriou

Revert plankton backends

236223aa 04/30/2012 02:43 pm Kostas Papadimitriou

Fix multiple connect actions sent to the server

Refs #2358

7ff5095d 03/19/2012 04:06 pm Giorgos Verigakis

Remove leftover debug prints

5a497049 03/02/2012 04:56 pm Giorgos Verigakis

Remove duplicate check

0d316750 02/28/2012 06:14 pm Giorgos Verigakis

Use pithos-backend v0.9.1

4b3b8688 02/24/2012 05:51 pm Giorgos Verigakis

Use lib.astakos instead of our own middleware

2035039b 02/24/2012 05:49 pm Giorgos Verigakis

Switch to the logging middleware

4fd2095b 02/08/2012 01:27 pm Giorgos Verigakis

Merge remote-tracking branch 'origin/master' into astakos-integration

Conflicts:
snf-cyclades-app/synnefo/api/util.py

4ec83e68 02/04/2012 08:57 pm Giorgos Verigakis

Unquote header names and values

c5e1f5cb 02/03/2012 05:33 pm Giorgos Verigakis

Fix merge conflict

cc875294 02/02/2012 05:10 pm Giorgos Verigakis

Merge remote-tracking branch 'origin/master' into astakos-integration

Conflicts:
runtests.sh
snf-cyclades-app/synnefo/aai/__init__.py
snf-cyclades-app/synnefo/aai/fixtures/auth_test_data.json
snf-cyclades-app/synnefo/aai/middleware.py
snf-cyclades-app/synnefo/aai/models.py...

f83c0b53 01/31/2012 09:50 am Vangelis Koukis

Merge branch 'plankton'

9c0ac5af 01/30/2012 06:55 pm Kostas Papadimitriou

Renamed snf-app to snf-cyclades-app