History | View | Annotate | Download (20 kB)
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...
plankton: Fix check about object permissions
Update check after getting an objects permissions to fail only if animage gets permissions from a None path and the object has permissions.Also, instead of just logging a warning, raise an exception.
snf-cyclades-app: Use the new AstakosClient
Change AstakosClient to use ASTAKOS_AUTH_URL as entry point to theAstakos service, instead of ASTAKOS_BASE_URL it was using until now.
Remove ASTAKOS_BASE_URL from Cyclades settings, replace it withASTAKOS_AUTH_URL. Modify Cyclades to determine ASTAKOS_ACCOUNT_URL and...
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...
plankton: Make pithos backend pool size a setting
Make the pool size of the pithos backends a configurable setting,namely PITHOS_BACKEND_POOL_SIZE.
Merge branch 'develop' into feature-floating_ips_ui
Conflicts: snf-cyclades-app/synnefo/plankton/backend.py
Merge branch 'feature-pithos-atomic-api' into develop
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 withpre_exec() and post_exec() methods.
cyclades: fix omitted plankton image properties
plankton: Add 'created_at' when registering image
Add 'PLANKTON:created_at' metadata to Pithos files when registering themas images to plankton.
plankton: Modular plankton backend class
Enable configurable plankton backend using setting ``PLANKTON_BACKEND_MODULE``.
Add ``synnefo.plankton.backend.JSONFileBackend`` which uses a json file asthe store of returned images. The backend should only be used in development...
plankton: Handle case of images without name
cyclades: Rename poolsize settings for uniformity
Rename ASTAKOS_POOLSIZE to CYCLADES_ASTAKOSCLIENT_POOLIZE;expose it to the conf file.
cyclades: Rename service token
Rename CYCLADES_ASTAKOS_SERVICE_TOKEN to CYCLADES_SERVICE_TOKEN foruniformity.
make synnefo URLs consistent and configurable
https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______| BASE_HOST BASE_PATH PREFIX Hardcoded...
Add 'ASTAKOS_POOLSIZE' setting.
pithos: Rename backend quotaholder properties
Refer to astakosclient instead of quotaholder
WIP astakosclient for quotas in pithos
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
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