Fix pithos-usage command help
Refs: #3591
Update pithos-usage command to list/reset diverging quotas
Fix pithos-reconcile-commissions command
Get pending commissions specifically for pithos
Refs: #3594
Provide a pithos-reconcile-commissions command
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...
Improve pithos-usage command performance
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
Deactivate pithos md5 update by default
Refs: #3554
Make pithos backend pool size configurable
Refs: #3561
Move astakos lib from snf-common to snf-django-lib
Use 'python-objpool' instead of 'synnefo.lib.pool'
Use the python-objpool package for pooling resources as object, insteadof the pooling code that existed in snf-common ('synnefo.lib.pool')
Refs #3524
Move parsedate module to snf_django
Add ASTAKOS_URL setting to PITHOS
Common 'api_method' decorator, needs the ASTAKOS_URL setting toauthenticate with Astakos. Create this setting for Pithos basedon PITHOS_AUTHENTICATION_URL.
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
Add fault.xml template to pithos and astakos
Move cloud faults to 'snf_django.lib.api.faults'
Gather all faults from all synnefo projects into common'snf_django.lib.api.faults'.
minor refactor object_list for clarity
Change pithos api public object handling
Expose public URL information only to the object owners.
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.
pool context manager, http pool AssertionError fix
Refs #3492
- Introduce a generic PooledObject class to act both as a context manager for getting and putting back an object from a pool.
- Implement a class PooledHTTPConnection(PooledObject) as a sublcass of the one in (1)...
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...
Eliminate mutable default arguments
Integrate Pithos usage listing and reseting,globally and per-user.
Refs: #3309
Substitute pithos-reset-usage withpithos-usage management commandand extend it to list also account usage.
Fix pithos get object metadata response headers
X-Object-Modified-By header was accidentallyeliminated in the response
Remove pithos logger from pithos settings
Loggers for all synnefo components should be configured insnf-webproject setting file '10-snf-webproject-logging.conf'.
Clear pithos InternalServerError response
Do not include in the InternalServerError responsethe actual error.
Fix inadvertent use of shared objects
Fix inadvertent use of shared objects in synnefo/lib/astakos.py andpithos/api/delegate.py, since current use is racy when running multiplerequests under gunicorn. Create a private, per-request copy instead.
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...
fix and better document quota export/import
Rename synnefo.local -> example.synnefo.org
As determined by a spontaneous committee, based on
- .local is used
- 'example' strongly hints to configuration action
- synnefo.org is under control.
Bug fixing
cleanup astakos settings
cleanup pithos settings
Explicitly enabled/disable pithos quotaholder component
Use PITHOS_USE_QUOTAHOLDER setting
Add missing pithos setting documentation
More pithos documentation
Fix pithos configuration
Update pithos-reset-usage command
Enable reset pithos usage for specific accounts
Change default pithos url settings
Point to astakos host.
rename to pithos-reset-usage.py
Fix pithos sharing translation
Perform only one split to separate group owner from name
Add missing uuid translation
Translate X-Source-Account if TRANSLATE_UUIDS is set
pep8 compliance
Change pithos-manage-accounts options
Do not call user_catalogs if AUTHENTICATION_USERS is set
Check for None in is_uuid
Provide command for managing pithos duplicate accounts
ui compatibility: translate uuids to display names
Fix get_user argument
Change pithos service user_catalogs url
Change pithos user catalog api call path
Pithos set usage send only current quota (not history/deleted)
pithos-set-quota: rename and refactor for clarity and correctness
Quotaholder error handling during sending existing pithos usage
If quotaholder fails if a pithos account is not registered,retry by sending the usage for the rest.
Catch quota errors in pithos server
Fix pithos settings
Pithos: handle quotaholder exception errors
Change default astakos service urls in pithos settings.
Update docs and settings
Fix urls
Change astakos /login/redirect path to /login
Fix name error
Change feedback & user_catalogs astakos && pithos api calls
Fix unicode urlencoding in feedback call
Change pithos-set-quota: send computed quota anyway
Debit pithos object owner not the request user
Fix get_pithos_usage if no usage is returned by astakos.
Fix detailed pithos object listing
Refs: #3149
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
Limit lines length to 80
Delete pithos account_name call
Extend account_list pithos api call
Provide account name (not only uuid)
Hide pithos account_name api call
Provide pithos call for getting account name from uuid
Replace account uuid with username in response headers
Reset erroneous commit
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
Provide commands for importing/exporting existing user resource policies
Check whether account is already uuid before transforming
Catch correct Exception
Change pithos sharing to work with account uuids
Fix piths Object GET versionlist: catch ItemNotExists exception
Migrate pithos user quota
Update Astakos API to provider calls for retrieving uuid from the username and vice versa, extend astakos client library (snf-common) and update pithos to use uuids instead of email for account identification
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
Conflicts: snf-pithos-app/pithos/api/dispatch.py snf-pithos-app/pithos/api/management/commands/storagequota.py snf-pithos-app/pithos/api/util.py snf-pithos-backend/pithos/backends/modular.py