Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-backend / pithos / backends @ c77af544

# Date Author Comment
c77af544 03/28/2013 10:57 pm Sofia Papagiannaki

Change pithos backend DEFAULT_PUBLIC_URL_SECURITY

Change value from 8 to 16, to conform with the default
PITHOS_PUBLIC_URL_SECURITY setting.

4a105ce2 03/28/2013 05:21 pm Sofia Papagiannaki

Change pithos public URL implementation

Refs: commit: 56f3c759

Do not include encoded serial in the public URL.

Change PITHOS_PUBLIC_URL_MIN_LENGTH setting to
PITHOS_PUBLIC_URL_SECURITY.

Log public set/unset functions.

56f3c759 03/27/2013 06:51 pm Sofia Papagiannaki

Change pithos public implementation

Public URLs should consist of a random part.
A public URL should be unique and should not be
equal to any deleted public URL.
Finally publishing a public object has no effect.
Therefore, to generate a new public URL for an...

78348987 03/19/2013 01:24 pm Sofia Papagiannaki

Eliminate mutable default arguments

0a92ff85 03/19/2013 11:22 am Sofia Papagiannaki

Fix pithos purging accounting

Refs: #3442
Refs: #1733

Pithos has two different version accounting
policies:
  • free: do not include object history version size
    to the total account usage
  • debit: include object history version size to
    the total account usage...
b336e6fa 03/11/2013 06:18 pm Georgios D. Tsoukalas

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...

2bbf1544 03/06/2013 05:44 pm Georgios D. Tsoukalas

Fix UUID bug breaking image list and VM creation

latest_uuid(uuid) returned the latest version with the given uuid.
This is called from pithos backend method get_uuid(),
which is called from plankton backend method get_image().

For the use in get_image() the uuid alone is not enough,...

97341ccb 03/05/2013 05:02 pm Georgios D. Tsoukalas

Fix serious inefficiency in pithos 0.13 migration

As was run on production during migration.

The migration looped over all rows (node, muser) from versions,
and update muser in each one.

However, the tuples (node, muser) are not unique in the table,
and more important, the muser values are much fewer than the nodes...

e95431e5 02/19/2013 12:01 pm Georgios D. Tsoukalas

set DJANGO_SETTINGS_MODULE for pithos-migrate

1f3f907f 02/19/2013 12:00 pm Sofia Papagiannaki

Explicitly enabled/disable pithos quotaholder component

Use PITHOS_USE_QUOTAHOLDER setting

e4d84803 02/18/2013 10:23 pm Sofia Papagiannaki

Update pithos migration

Display progress

0e1fce89 02/18/2013 06:03 pm Sofia Papagiannaki

Improve pithos migrate

Cache also non existing accounts.

8ed3f04c 02/15/2013 01:53 pm Sofia Papagiannaki

Pithos stop unnecessary contacts with quotaholder

Do not issue commission if there is not size change

442bc80c 02/14/2013 04:27 pm Sofia Papagiannaki

Fix pithos purging

Error if there were no objects to purge

94bff756 02/14/2013 04:27 pm Sofia Papagiannaki

Provide command for managing pithos duplicate accounts

42ea7e66 02/14/2013 04:26 pm Sofia Papagiannaki

Migrate pithos object modification user

4860a34d 01/29/2013 05:25 pm Filippos Giannakos

Merge branch 'feature-rados' into develop

Conflicts:
snf-pithos-app/README

e3a9d32a 01/29/2013 04:44 pm Filippos Giannakos

Remove automatic RADOS pool creation.

If a specified RADOS pool does not exist, do not try and create it. Throw an
exception instead.

460d9f6a 01/29/2013 04:42 pm Georgios D. Tsoukalas

Merge branch 'feature-projects' into develop

ccfd4e44 01/29/2013 01:31 pm Sofia Papagiannaki

Pithos: handle quotaholder exception errors

e31e4274 01/28/2013 03:43 pm Sofia Papagiannaki

Change error handling in uuid to displayname pithos path migration.

Stop migraton if it fails to retrieve a uuid/displayname.

6eb0de11 01/25/2013 04:04 pm Sofia Papagiannaki

Remove trailing space

2a7276e7 01/24/2013 02:47 pm Sofia Papagiannaki

Expose /user_catalogs service api call

Change migration scripts to use this instead of the user api call

890c2065 01/23/2013 06:51 pm Sofia Papagiannaki

Change feedback & user_catalogs astakos && pithos api calls

  • Substitute ``username`` with ``displayname``
11c079c8 01/23/2013 06:12 pm Filippos Giannakos

Fix exception handling in RADOS blocker/mapper

Handle only KeyError exception in blocker/mapper initialization, and propagate
all other, as they indicate errors.

b0b87c56 01/22/2013 01:49 pm Stratos Psomadakis

snf-pithos-backend: Fix backend.meesages attribute

backend.messages attribute was not initialized correctly, resulting in
an AttributeError exception in _pool_cleanup.

e20a751d 01/16/2013 02:47 pm Sofia Papagiannaki

Restore container policy check

b8098f77 01/16/2013 02:47 pm Sofia Papagiannaki

Debit pithos object owner not the request user

43411855 01/15/2013 05:06 pm Sofia Papagiannaki

Optionally import rados

7f1f0464 01/15/2013 04:46 pm Georgios D. Tsoukalas

fix radosblocker merge, fix some tabs/whitespace

7dc78140 01/15/2013 04:01 pm Sofia Papagiannaki

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

478f763e 01/15/2013 03:34 pm Sofia Papagiannaki

Fix pithos backend external_quota argument initialization

07fcdb96 01/14/2013 02:18 pm Sofia Papagiannaki

Return quotaholder holding in pithos backend

0ed09c7c 01/11/2013 04:07 pm Sofia Papagiannaki

Fix pithos get_account_meta.

Do now show usage if request user is other than the owner

c846fad1 01/11/2013 12:00 am Sofia Papagiannaki

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

1dd34bdd 01/07/2013 04:13 am Sofia Papagiannaki

Fix pithos versioning

Do not remove previous object version in case of free versioning policy

fff37615 01/07/2013 04:13 am Sofia Papagiannaki

Fix pithos versioning (better implementation)

32454501 01/07/2013 04:13 am Sofia Papagiannaki

Change pithos sharing to work with account uuids

50149cc8 01/03/2013 06:18 pm Sofia Papagiannaki

Migrate username to uuid in pithos permissions

56a42b0b 01/02/2013 03:50 pm Sofia Papagiannaki

fix indentation in pithos.backend.modular

096a7c3b 01/02/2013 11:45 am Sofia Papagiannaki

Fix negative population in statistics table

cd5033bd 12/28/2012 02:41 pm Sofia Papagiannaki

Provide error feedback during pithos database path migration to container uuid instead of email

c700f742 12/27/2012 06:29 pm Sofia Papagiannaki

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

3173699c 12/20/2012 10:41 am Sofia Papagiannaki

Pithos backend should send the token to the quotaholder

019d9e19 12/20/2012 02:54 am Sofia Papagiannaki

Pithos issue_commission using user uuid instead of id

bf45cb4a 12/14/2012 04:22 pm Sofia Papagiannaki

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

d62295ba 12/14/2012 03:26 pm Sofia Papagiannaki

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

b3119c3e 11/27/2012 05:47 pm Georgios D. Tsoukalas

fix quotaholder imports

df8debbb 11/26/2012 04:21 pm Filippos Giannakos

fix pool creation

2492a42c 11/26/2012 03:27 pm Filippos Giannakos

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...

47462eda 11/26/2012 02:46 pm Filippos Giannakos

make rados storage configurable

c30635bf 11/23/2012 06:25 pm Filippos Giannakos

add support to store blocks on RADOS

b6c16e87 11/20/2012 12:13 pm Sofia Papagiannaki

Intergation with updated quotaholder module

73fbe301 11/12/2012 03:50 pm Sofia Papagiannaki

If PITHOS_QUOTAHOLDER_URL is None do not try to connect to the quotaholder

d3655326 11/12/2012 03:48 pm Sofia Papagiannaki

Fix indent and add logging in case of QuotaError

b2691c21 11/12/2012 01:04 pm Sofia Papagiannaki

If PITHOS_QUOTAHOLDER_URL is None, perform internal pithos quota checking

8313c681 11/12/2012 12:44 pm root

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

21a85c0b 11/09/2012 08:15 pm Sofia Papagiannaki

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

b1dadd0e 11/09/2012 08:04 pm Sofia Papagiannaki

By default report size change in object delete/update (do not include older version size)

e7117103 11/09/2012 07:34 pm Sofia Papagiannaki

Fix undefined variable

fe3252ab 11/09/2012 07:34 pm Sofia Papagiannaki

Fix sqlalchemy warning: IN-predicate invoked with an empty sequence.

2d8e6f94 11/09/2012 07:34 pm Sofia Papagiannaki

Send versions as string in resource events queue

9d4502a8 11/09/2012 07:34 pm Sofia Papagiannaki

Include version information in aquarium messages

8e9432e8 11/09/2012 07:34 pm Sofia Papagiannaki

Comment out sqlalchemy echo

b7faa11e 11/09/2012 07:34 pm Sofia Papagiannaki

Change QuotaholderSync to QuotaholderSerial

f75a34ee 11/09/2012 07:34 pm Sofia Papagiannaki

Change QuotaholderSync to QuotaholderSerial

4cfccdd2 11/09/2012 07:34 pm Sofia Papagiannaki

incorporate AMQPClient instead of synnefo.lib.queue methods for sending queue messages

70f5bc56 11/09/2012 07:33 pm Sofia Papagiannaki

fix backends.lib.sqlite.config.Config set_value

49f44d54 11/09/2012 07:33 pm Sofia Papagiannaki

fix backend variable name

5823f8e1 11/09/2012 07:33 pm Sofia Papagiannaki

fix access to backend library classes Config and QuotaholderSync

31aa43c8 11/09/2012 07:33 pm Sofia Papagiannaki

fix mispelling

1af183f2 11/09/2012 07:33 pm Sofia Papagiannaki

New database tables to keep track of quota holder commisions

d50ed8d4 11/09/2012 07:33 pm Sofia Papagiannaki

Fix code formatting to conform to the PEP 8 style guide

90311d98 11/09/2012 11:02 am root

rename resource to pithos+.diskspace

a7f7699d 11/09/2012 11:02 am root

make sure backend hasattr 'messages'

ecd01afd 11/09/2012 11:02 am root

fix: initialize per-request quotaholder seriallist

470984e0 11/09/2012 11:02 am root

use astakos resource name in issue_commission

85352a77 11/09/2012 11:02 am root

quotaholder serial handling fix

5578064f 11/09/2012 11:02 am root

accept/reject commission on backend_method deco

7ed99da8 11/09/2012 11:02 am root

wip issue_commision(). no accept or reject yet

0307b47f 11/09/2012 11:02 am Georgios D. Tsoukalas

wip quotaholder client in backend

26fbaf40 10/09/2012 11:36 am Sofia Papagiannaki

Merge branch 'master' of https://code.grnet.gr/git/pithos

a8b82467 10/09/2012 11:33 am Sofia Papagiannaki

fix UnboundLocalError

edb7875c 10/05/2012 01:19 pm Christos Stavrakakis

Move PithosBackendPool to snf-pithos-backend

Move PithosBackendPool from snf-pithos-app to snf-pithos-backend

eecad161 10/04/2012 02:44 pm Sofia Papagiannaki

Fix undefined variable

c53502b1 09/19/2012 03:14 pm Sofia Papagiannaki

Fix sqlalchemy warning: IN-predicate invoked with an empty sequence.

094e8815 09/14/2012 03:12 pm Sofia Papagiannaki

Send versions as string in resource events queue

388ea25f 09/13/2012 03:06 pm Sofia Papagiannaki

Include version information in aquarium messages

dd0cc7a8 09/12/2012 03:54 pm Sofia Papagiannaki

Comment out sqlalchemy echo

6a5ca445 09/11/2012 04:54 pm Sofia Papagiannaki

Change QuotaholderSync to QuotaholderSerial

cb787cc4 09/11/2012 03:50 pm Sofia Papagiannaki

Change QuotaholderSync to QuotaholderSerial

f4fbb0fa 09/11/2012 03:09 pm Sofia Papagiannaki

incorporate AMQPClient instead of synnefo.lib.queue methods for sending queue messages

e647d184 09/11/2012 02:24 pm Sofia Papagiannaki

fix backends.lib.sqlite.config.Config set_value

22e305b5 09/11/2012 02:09 pm Sofia Papagiannaki

fix backend variable name

5a6a68f3 09/11/2012 01:57 pm Sofia Papagiannaki

fix access to backend library classes Config and QuotaholderSync

2c690fe9 09/11/2012 01:53 pm Sofia Papagiannaki

fix mispelling

6540c590 09/11/2012 01:43 pm Sofia Papagiannaki

New database tables to keep track of quota holder commisions

717adf72 09/10/2012 05:39 pm Sofia Papagiannaki

Merge remote-tracking branch 'origin' into dev

Conflicts:
snf-pithos-app/pithos/api/util.py
snf-pithos-backend/pithos/backends/base.py

2715ade4 09/10/2012 04:09 pm Sofia Papagiannaki

Fix code formatting to conform to the PEP 8 style guide

8ee4ec50 08/25/2012 04:07 pm Vangelis Koukis

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....