History | View | Annotate | Download (38.1 kB)
WIP astakosclient for quotas in pithos
Change pithos default container policy quota to unlimited
Refs: #3543
Make 'api_method' to take astakos_url as argument
Add ASTAKOS_URL to pithos.api.settings
Improve settings related to ASTAKOS url
Rename 'PITHOS_AUTHENTICATION_URL' setting to 'ASTAKOS_URL'. Also remove'PITHOS_AUTHENTICATION_USERS' from docs (it was removed from code incommit 8df4fae).
Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...
Merge branch 'feature-snf-django' into develop
Conflicts: docs/older/Changelog.pithos-app snf-astakos-app/astakos/im/api/__init__.py snf-pithos-app/pithos/api/util.py
Make pithos backend pool size configurable
Refs: #3561
Move astakos lib from snf-common to snf-django-lib
Move parsedate module to snf_django
Remove PITHOS_AUTHENTICATION_USERS setting
Remove this setting as it introduces unnecessary complexity. Also,it will need to be supported by snf-astakos-client. If needed bytests to bypass communication with astakos, a mocking library shouldbe used.
Use common 'api_method' decorator in pithos api
Move cloud faults to 'snf_django.lib.api.faults'
Gather all faults from all synnefo projects into common'snf_django.lib.api.faults'.
Change pithos public URL implementation
Refs: commit: 56f3c759
Do not include encoded serial in the public URL.
Change PITHOS_PUBLIC_URL_MIN_LENGTH setting toPITHOS_PUBLIC_URL_SECURITY.
Log public set/unset functions.
Change pithos public implementation
Public URLs should consist of a random part.A public URL should be unique and should not beequal to any deleted public URL.Finally publishing a public object has no effect.Therefore, to generate a new public URL for an...
Fix pithos get object metadata response headers
X-Object-Modified-By header was accidentallyeliminated in the response
Clear pithos InternalServerError response
Do not include in the InternalServerError responsethe actual error.
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...
Explicitly enabled/disable pithos quotaholder component
Use PITHOS_USE_QUOTAHOLDER setting
Fix pithos sharing translation
Perform only one split to separate group owner from name
Check for None in is_uuid
ui compatibility: translate uuids to display names
Fix get_user argument
Catch quota errors in pithos server
Fix name error
Change feedback & user_catalogs astakos && pithos api calls
Debit pithos object owner not the request user
Fix get_pithos_usage if no usage is returned by astakos.
Fix syntax error
fix radosblocker merge, fix some tabs/whitespace
Merge branch 'radosblocker' of https://code.grnet.gr/git/pithos into latest-quota
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/modular.py snf-pithos-backend/pithos/backends/util.py
Extend account_list pithos api call
Provide account name (not only uuid)
Replace account uuid with username in response headers
Merge branch 'latest-quota' of https://code.grnet.gr/git/synnefo into latest-quota
Conflicts: snf-astakos-app/astakos/im/forms.py snf-astakos-app/astakos/im/functions.py
Check whether account is already uuid before transforming
Catch correct Exception
Change pithos sharing to work with account uuids
Pithos backend should send the token to the quotaholder
Pithos issue_commission using user uuid instead of id
Fix pithos api_method
Merge branch 'dev' of https://code.grnet.gr/git/pithos into latest-quota
Conflicts: .gitignore devtools/fabfile.py snf-pithos-app/pithos/api/util.py
Fix pithos api_method assertions
Merge branch 'projects' of https://code.grnet.gr/git/astakos into latest-quota
Conflicts: .gitignore snf-astakos-app/conf/20-snf-astakos-app-settings.conf
Merge remote-tracking branch 'origin/dev' into radosblocker
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/lib/hashfiler/blocker.py snf-pithos-backend/pithos/backends/lib/hashfiler/mapper.py snf-pithos-backend/pithos/backends/modular.py...
make rados storage configurable
Merge branch 'dev' of https://code.grnet.gr/git/pithos into dev
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/modular.py
By default report size change in object delete/update (do not include older version size)
incorporate AMQPClient instead of synnefo.lib.queue methods for sending queue messages
Fix code formatting to conform to the PEP 8 style guide
add socket verification for pooled pithos backends
wip quotaholder client in backend
Hotfix pithos 500 error
Temporary fix to prevent pithos failing with "AttributeError:'ModularBackend' object has no attribute 'messages'" 500 error.
Log 5xx API faults
Move PithosBackendPool to snf-pithos-backend
Move PithosBackendPool from snf-pithos-app to snf-pithos-backend
Fix references to settings not yet in master
Fix references from pithos.api.settings to settingsnot yet implemented in the master branch.
socket verification for pooled pithos backends
Merge remote-tracking branch 'origin' into dev
Fix bug in PithosBackendPool
Get _trans from the DBWrapper
cleanup pithos backend pools, new pool api support
Conflicts: snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/base.py
Pool pithos backends using ObjectPool
Use ObjectPool functionality from synnefo.lib.poolto pool backend objects.
This reduces the per-request overhead significantly,since each backend object is only initialized once,and connections to the DB are persistent....
Reverse back Revision 7fbf8aa20c647e2c98c2ba53f80dcfa0e971a499
Refs: #2611
change backend to raise custom exceptions
Ignore public parameter in case of mass copy/delete
Progess I
move get_user in api_method
fix feedback response in case of URLError
pass umask parameter in ModularBackend
Calculate the length of the last block properly.
Fixes #2321
Add dispatcher function for updating object checksums asynchronously.
Refs #1792
Remove lib package.
Merge commit 'v0.9.0' into packaging
Conflicts: pithos/__init__.py pithos/api/management/commands/__init__.py pithos/backends/lib/rabbitmq/__init__.py pithos/backends/lib/rabbitmq/queue.py pithos/lib/user.py pithos/middleware/user.py pithos/settings.py...
Merge branch 'master' into packaging
Conflicts: pithos/__init__.py
Conflicts: pithos/settings.py snf-pithos-app/pithos/middleware/log.py snf-pithos-app/pithos/urls.py snf-pithos-backend/pithos/backends/__init__.py snf-pithos-tools/setup.py
Split pithos components in separate packages
- splitted pithos modules in separate reusable components- python packaging for all packages- snf-webproject support (entry_points) for pithos django applications