Georgios D. Tsoukalas [Tue, 27 Nov 2012 15:47:12 +0000 (17:47 +0200)]
fix quotaholder imports
Sofia Papagiannaki [Tue, 20 Nov 2012 10:13:07 +0000 (12:13 +0200)]
Intergation with updated quotaholder module
Sofia Papagiannaki [Mon, 12 Nov 2012 13:50:39 +0000 (15:50 +0200)]
If PITHOS_QUOTAHOLDER_URL is None do not try to connect to the quotaholder
Sofia Papagiannaki [Mon, 12 Nov 2012 13:48:22 +0000 (15:48 +0200)]
Fix indent and add logging in case of QuotaError
Sofia Papagiannaki [Mon, 12 Nov 2012 11:04:21 +0000 (13:04 +0200)]
If PITHOS_QUOTAHOLDER_URL is None, perform internal pithos quota checking
root [Mon, 12 Nov 2012 10:44:30 +0000 (12:44 +0200)]
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
Sofia Papagiannaki [Fri, 9 Nov 2012 18:15:44 +0000 (20:15 +0200)]
Merge branch 'dev' of https://code.grnet.gr/git/pithos into dev
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
Sofia Papagiannaki [Fri, 9 Nov 2012 18:04:51 +0000 (20:04 +0200)]
By default report size change in object delete/update (do not include older version size)
Sofia Papagiannaki [Thu, 4 Oct 2012 11:44:35 +0000 (14:44 +0300)]
Fix undefined variable
Sofia Papagiannaki [Wed, 19 Sep 2012 12:44:50 +0000 (15:44 +0300)]
Change test warning exception message
Sofia Papagiannaki [Wed, 19 Sep 2012 12:17:17 +0000 (15:17 +0300)]
Raise warning exceptions in there are no other valid accounts for testing sharing and permissions behavior.
Sofia Papagiannaki [Wed, 19 Sep 2012 12:14:46 +0000 (15:14 +0300)]
Fix sqlalchemy warning: IN-predicate invoked with an empty sequence.
Sofia Papagiannaki [Fri, 14 Sep 2012 12:12:54 +0000 (15:12 +0300)]
Send versions as string in resource events queue
Sofia Papagiannaki [Thu, 13 Sep 2012 12:06:54 +0000 (15:06 +0300)]
Include version information in aquarium messages
Sofia Papagiannaki [Wed, 12 Sep 2012 12:54:55 +0000 (15:54 +0300)]
Comment out sqlalchemy echo
Sofia Papagiannaki [Wed, 12 Sep 2012 12:52:12 +0000 (15:52 +0300)]
Catch explicitly ContainerExists in container_create instead of NameError
Sofia Papagiannaki [Tue, 11 Sep 2012 13:54:13 +0000 (16:54 +0300)]
Change QuotaholderSync to QuotaholderSerial
Sofia Papagiannaki [Tue, 11 Sep 2012 12:50:21 +0000 (15:50 +0300)]
Change QuotaholderSync to QuotaholderSerial
Sofia Papagiannaki [Tue, 11 Sep 2012 12:09:32 +0000 (15:09 +0300)]
incorporate AMQPClient instead of synnefo.lib.queue methods for sending queue messages
Sofia Papagiannaki [Tue, 11 Sep 2012 11:24:58 +0000 (14:24 +0300)]
fix backends.lib.sqlite.config.Config set_value
Sofia Papagiannaki [Tue, 11 Sep 2012 11:09:11 +0000 (14:09 +0300)]
fix backend variable name
Sofia Papagiannaki [Tue, 11 Sep 2012 10:57:40 +0000 (13:57 +0300)]
fix access to backend library classes Config and QuotaholderSync
Sofia Papagiannaki [Tue, 11 Sep 2012 10:53:40 +0000 (13:53 +0300)]
fix mispelling
Sofia Papagiannaki [Tue, 11 Sep 2012 10:43:55 +0000 (13:43 +0300)]
New database tables to keep track of quota holder commisions
Sofia Papagiannaki [Mon, 10 Sep 2012 13:09:51 +0000 (16:09 +0300)]
Fix code formatting to conform to the PEP 8 style guide
root [Wed, 3 Oct 2012 11:03:12 +0000 (14:03 +0300)]
add socket verification for pooled pithos backends
root [Fri, 21 Sep 2012 10:01:48 +0000 (13:01 +0300)]
rename resource to pithos+.diskspace
root [Wed, 19 Sep 2012 12:42:11 +0000 (15:42 +0300)]
make sure backend hasattr 'messages'
root [Tue, 18 Sep 2012 16:12:50 +0000 (19:12 +0300)]
fix: initialize per-request quotaholder seriallist
root [Fri, 14 Sep 2012 15:32:58 +0000 (18:32 +0300)]
use astakos resource name in issue_commission
root [Fri, 14 Sep 2012 13:42:48 +0000 (16:42 +0300)]
quotaholder serial handling fix
root [Thu, 13 Sep 2012 14:34:51 +0000 (17:34 +0300)]
accept/reject commission on backend_method deco
root [Thu, 13 Sep 2012 13:37:15 +0000 (16:37 +0300)]
wip issue_commision(). no accept or reject yet
Georgios D. Tsoukalas [Wed, 12 Sep 2012 08:33:39 +0000 (11:33 +0300)]
wip quotaholder client in backend
Sofia Papagiannaki [Fri, 26 Oct 2012 09:28:24 +0000 (12:28 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos
Stratos Psomadakis [Tue, 16 Oct 2012 12:44:35 +0000 (15:44 +0300)]
Hotfix pithos 500 error
Temporary fix to prevent pithos failing with "AttributeError:
'ModularBackend' object has no attribute 'messages'" 500 error.
Christos Stavrakakis [Thu, 11 Oct 2012 09:06:51 +0000 (12:06 +0300)]
Log 5xx API faults
Sofia Papagiannaki [Tue, 9 Oct 2012 08:36:43 +0000 (11:36 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Tue, 9 Oct 2012 08:33:47 +0000 (11:33 +0300)]
fix UnboundLocalError
Christos Stavrakakis [Fri, 5 Oct 2012 10:19:31 +0000 (13:19 +0300)]
Move PithosBackendPool to snf-pithos-backend
Move PithosBackendPool from snf-pithos-app to snf-pithos-backend
Sofia Papagiannaki [Thu, 4 Oct 2012 11:44:35 +0000 (14:44 +0300)]
Fix undefined variable
Vangelis Koukis [Thu, 4 Oct 2012 09:36:56 +0000 (12:36 +0300)]
Fix references to settings not yet in master
Fix references from pithos.api.settings to settings
not yet implemented in the master branch.
root [Wed, 3 Oct 2012 11:03:12 +0000 (14:03 +0300)]
socket verification for pooled pithos backends
Sofia Papagiannaki [Wed, 19 Sep 2012 12:44:50 +0000 (15:44 +0300)]
Change test warning exception message
Sofia Papagiannaki [Wed, 19 Sep 2012 12:17:17 +0000 (15:17 +0300)]
Raise warning exceptions in there are no other valid accounts for testing sharing and permissions behavior.
Sofia Papagiannaki [Wed, 19 Sep 2012 12:14:46 +0000 (15:14 +0300)]
Fix sqlalchemy warning: IN-predicate invoked with an empty sequence.
Sofia Papagiannaki [Tue, 18 Sep 2012 13:58:23 +0000 (16:58 +0300)]
Merge remote-tracking branch 'origin' into dev
Sofia Papagiannaki [Fri, 14 Sep 2012 12:12:54 +0000 (15:12 +0300)]
Send versions as string in resource events queue
Sofia Papagiannaki [Thu, 13 Sep 2012 12:06:54 +0000 (15:06 +0300)]
Include version information in aquarium messages
Sofia Papagiannaki [Wed, 12 Sep 2012 12:54:55 +0000 (15:54 +0300)]
Comment out sqlalchemy echo
Sofia Papagiannaki [Wed, 12 Sep 2012 12:52:12 +0000 (15:52 +0300)]
Catch explicitly ContainerExists in container_create instead of NameError
Christos Stavrakakis [Wed, 12 Sep 2012 10:11:42 +0000 (13:11 +0300)]
Fix bug in PithosBackendPool
Get _trans from the DBWrapper
Sofia Papagiannaki [Tue, 11 Sep 2012 13:54:13 +0000 (16:54 +0300)]
Change QuotaholderSync to QuotaholderSerial
Sofia Papagiannaki [Tue, 11 Sep 2012 12:50:21 +0000 (15:50 +0300)]
Change QuotaholderSync to QuotaholderSerial
Sofia Papagiannaki [Tue, 11 Sep 2012 12:09:32 +0000 (15:09 +0300)]
incorporate AMQPClient instead of synnefo.lib.queue methods for sending queue messages
Sofia Papagiannaki [Tue, 11 Sep 2012 11:24:58 +0000 (14:24 +0300)]
fix backends.lib.sqlite.config.Config set_value
Georgios D. Tsoukalas [Tue, 11 Sep 2012 11:10:59 +0000 (14:10 +0300)]
cleanup pithos backend pools, new pool api support
Sofia Papagiannaki [Tue, 11 Sep 2012 11:09:11 +0000 (14:09 +0300)]
fix backend variable name
Sofia Papagiannaki [Tue, 11 Sep 2012 10:57:40 +0000 (13:57 +0300)]
fix access to backend library classes Config and QuotaholderSync
Sofia Papagiannaki [Tue, 11 Sep 2012 10:53:40 +0000 (13:53 +0300)]
fix mispelling
Sofia Papagiannaki [Tue, 11 Sep 2012 10:43:55 +0000 (13:43 +0300)]
New database tables to keep track of quota holder commisions
Sofia Papagiannaki [Mon, 10 Sep 2012 14:39:15 +0000 (17:39 +0300)]
Merge remote-tracking branch 'origin' into dev
Conflicts:
snf-pithos-app/pithos/api/util.py
snf-pithos-backend/pithos/backends/base.py
Sofia Papagiannaki [Mon, 10 Sep 2012 13:09:51 +0000 (16:09 +0300)]
Fix code formatting to conform to the PEP 8 style guide
Vangelis Koukis [Thu, 6 Sep 2012 14:40:43 +0000 (17:40 +0300)]
Pool pithos backends using ObjectPool
Use ObjectPool functionality from synnefo.lib.pool
to 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.
Also bump snf-common dependency to reflect need for
updated snf-common with ObjectPool support.
Signed-off-by: Georgios D. Tsoukalas <gtsouk@cslab.ece.ntua.gr>
Signed-off-by: Vangelis Koukis <vkoukis@grnet.gr>
Vangelis Koukis [Sat, 25 Aug 2012 13:07:08 +0000 (16:07 +0300)]
Revert "Have BaseBackend inherit from ArgBasedSingleton"
This reverts commit
d2869078476a590d2f875b45801fceee37234344.
The ModularBackend object has not been designed to be used
by multiple contexts concurrenctly, and shouldn't inherit
from ArgBasedSingleton.
Subsequent patches will enable pooling of ModularBackend objects,
using the ObjectPool facility of synnefo.lib.pool.
Vangelis Koukis [Tue, 24 Jul 2012 15:58:30 +0000 (18:58 +0300)]
Have BaseBackend inherit from ArgBasedSingleton
Have the base pithos+ backend inherit from
synnefo.lib.singleton.ArgBasedSingleton.
This makes repeated attempts to re-instantiate any pithos+ backend with
the same arguments reuse the pre-existing backend object.
Sofia Papagiannaki [Thu, 19 Jul 2012 13:51:10 +0000 (16:51 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Thu, 19 Jul 2012 13:50:51 +0000 (16:50 +0300)]
include path in messages sent to aquarium
Kostas Papadimitriou [Thu, 19 Jul 2012 11:46:54 +0000 (14:46 +0300)]
Update Changelog for snf-pithos-backend
Sofia Papagiannaki [Thu, 19 Jul 2012 11:44:16 +0000 (14:44 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Thu, 19 Jul 2012 11:43:20 +0000 (14:43 +0300)]
fix nodes latest_version revision
Kostas Papadimitriou [Wed, 18 Jul 2012 17:36:39 +0000 (20:36 +0300)]
Include alembic dir in python package
Kostas Papadimitriou [Wed, 18 Jul 2012 17:16:23 +0000 (20:16 +0300)]
Workaround to identify proper alchemy url
Not all apps use the same setting name for the pithos backend connection
Kostas Papadimitriou [Wed, 18 Jul 2012 15:08:30 +0000 (18:08 +0300)]
Bump versions for v0.10.0 release
- in setup.py required packages
- in Changelog entry
Kostas Papadimitriou [Wed, 18 Jul 2012 14:59:43 +0000 (17:59 +0300)]
pithos-migrate fixes
- Handle empty args
- initdb feedback
- Proper engine initialization from synnefo settings
PITHOS_BACKEND_DB_CONNECTION value
Kostas Papadimitriou [Wed, 18 Jul 2012 14:56:55 +0000 (17:56 +0300)]
Do not set default url in alembic.ini
sqlalchemy url will be dynamically set in alembic config object based on
synnefo.settings.PITHOS_BACKEND_DB_CONNECTION.
Sofia Papagiannaki [Wed, 18 Jul 2012 14:42:25 +0000 (17:42 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos
Sofia Papagiannaki [Wed, 18 Jul 2012 14:41:57 +0000 (17:41 +0300)]
use alembic to initialize the backend database
Kostas Papadimitriou [Wed, 18 Jul 2012 12:14:28 +0000 (15:14 +0300)]
Update backend Changelog
include migration quick guide using pithos-migrate
Sofia Papagiannaki [Wed, 18 Jul 2012 12:13:07 +0000 (15:13 +0300)]
Merge branch 'master' of https://code.grnet.gr/git/pithos
Merge with pithos-migrate
Conflicts:
snf-pithos-backend/pithos/backends/lib/sqlalchemy/alembic.ini
Kostas Papadimitriou [Tue, 17 Jul 2012 19:10:15 +0000 (22:10 +0300)]
Update pithos-backend setup.py
- Include alembic in required packages
- Entry point for migration tool
Sofia Papagiannaki [Tue, 17 Jul 2012 19:09:55 +0000 (22:09 +0300)]
Update alembic .ini
Sofia Papagiannaki [Tue, 17 Jul 2012 19:09:11 +0000 (22:09 +0300)]
Update Changelog
Kostas Papadimitriou [Tue, 17 Jul 2012 19:07:11 +0000 (22:07 +0300)]
Migrate against synnefo.settings backend by default
use ``PITHOS_BACKEND_DB_CONNECTION`` as default value for alembic sqlalchemy.url
option.
Kostas Papadimitriou [Tue, 17 Jul 2012 19:06:32 +0000 (22:06 +0300)]
Pithos alembic migration wrapper tool
Sofia Papagiannaki [Tue, 17 Jul 2012 18:50:25 +0000 (21:50 +0300)]
fix tests in case there are no initial containers
Sofia Papagiannaki [Tue, 17 Jul 2012 18:02:08 +0000 (21:02 +0300)]
Remove index on cluster
Refs: #2675
Sofia Papagiannaki [Tue, 17 Jul 2012 18:01:20 +0000 (21:01 +0300)]
Write more realistic tests
Refs: #2675
Sofia Papagiannaki [Tue, 17 Jul 2012 17:57:49 +0000 (20:57 +0300)]
Refs: #2675
Introduce alembic
Sofia Papagiannaki [Tue, 17 Jul 2012 01:23:48 +0000 (04:23 +0300)]
fix default value for PITHOS_URL environmental variable
Sofia Papagiannaki [Tue, 17 Jul 2012 01:22:49 +0000 (04:22 +0300)]
eliminate nested sql aggregations
Refs: #2675
Sofia Papagiannaki [Mon, 2 Jul 2012 12:57:17 +0000 (14:57 +0200)]
fix indent
Sofia Papagiannaki [Mon, 2 Jul 2012 11:14:30 +0000 (13:14 +0200)]
Fix broken compatibility with cloud files
Sofia Papagiannaki [Fri, 29 Jun 2012 15:57:01 +0000 (18:57 +0300)]
Sofia Papagiannaki [Fri, 29 Jun 2012 15:34:48 +0000 (18:34 +0300)]
Call for delete container contents
Refs: #2611
Sofia Papagiannaki [Fri, 29 Jun 2012 10:21:16 +0000 (13:21 +0300)]
Rewrite tests for mass operations
Refs: #2611
Sofia Papagiannaki [Thu, 28 Jun 2012 16:52:45 +0000 (19:52 +0300)]
Fix size & type of copied objects (sqlite)
Refs: #2611
Sofia Papagiannaki [Thu, 28 Jun 2012 16:33:09 +0000 (19:33 +0300)]
Fix size & type of copied files
Refs: #2611
Sofia Papagiannaki [Thu, 28 Jun 2012 12:51:01 +0000 (15:51 +0300)]
change backend to raise custom exceptions
Sofia Papagiannaki [Wed, 27 Jun 2012 15:35:22 +0000 (18:35 +0300)]
Merge branch 'next'