History | View | Annotate | Download (16.9 kB)
plankton: Cleanup and improve code
Improve performance in listing images
Use '_get_domain_objects' function of Pithos backend, to list allobjects in a 'plankton' domain, instead of looping over all accessibleaccounts, containers and objects. This function also returns metadataand permissions for each object in order to avoid two extra calls for...
plankton: raise BadRequest for invalid location
Modify 'add_image' plankton API method, to check that location parameteris a valid Pithos url, and raise BadRequest if not.
plankton: Correct image unregister
Correct usage of 'update_object_meta' function to remove all metadatafrom plankton domain. Use an empty dictionary with replace=True.
Refs #3522
plankton: add logging to backend functions
Move astakos lib from snf-common to snf-django-lib
Remove ImageBackend NotAllowedError
Refs #3359
Move cloud faults to 'snf_django.lib.api.faults'
Gather all faults from all synnefo projects into common'snf_django.lib.api.faults'.
Delete Image without deleting file from Pithos
Until now, deleting an image resulted in deletion of the correspondingfile from Pithos. Plankton Images are files in Pithos with specialmetadata on the 'plankton' metadata domain. Adding an Image to plankton...
Fix plankton ItemNotFound exception
Plankton backend raised AssertionError when an Image was not found.Change this to raise faults.ItemNotFound error. Temporary commituntil common API decorator is implemented.
Refs #3356
Fix plankton shared_from image listing
Commit 469d099 introduced a typo which caused /plankton/shared_images/to raise an UnboundLocalError.
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...
Correctly instantiate pithos backend pool
Plankton should explicitly pass quotaholder related args to the pithosbackend pool constructor (after the feature of deregistering imageswithout deleting them is implemented, plankton should only passquotaholder_enable=false to the constructor)....
pep8 fixes
ui compatibility: translate uuids to display names
Fix pep8 warnings
plankton: Handle correctly request filters
Make sure that when listing public images plankton verifies thatsize_max and size_min req filters are integers, and return a BadRequest response otherwise.
Merge branch 'devel-0.12' into devel-0.13
Conflicts: snf-cyclades-app/synnefo/plankton/backend.py
Handle Pithos NotAllowedError
Extend Plankton API with shared-images
Extend Plankton API, to support listing all non-public images thatare available to the user. This can be done by issuing a GET toshared-images/ and shared-images/detail.
Revert dummy images from commit 9555268a
Optionally group public nics in one network view in ui
Remove trailing whitespace
Pool connections to snf-pithos-backend
Revert plankton backends
Fix multiple connect actions sent to the server
Refs #2358
Remove leftover debug prints
Use pithos-backend v0.9.1
Fix merge conflict
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...
Merge branch 'plankton'
Renamed snf-app to snf-cyclades-app