Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-backend / pithos / backends / modular.py @ d1e7d2b4

History | View | Annotate | Download (67.2 kB)

# Date Author Comment
b17e5550 05/01/2013 12:00 pm Giorgos Korfiatis

WIP astakosclient for quotas in pithos

9b264076 05/01/2013 11:58 am Sofia Papagiannaki

pithos:Ensure serial registration before commission

Commit transaction before accepting the commission
and delete registered serials after successful commission.

Refs: #3594

e77b7a99 04/22/2013 10:10 am Sofia Papagiannaki

pithos backend: update get_domain_objects method

Rename and change it to backend method
(add the backend_method decorator)

5576e6dd 04/22/2013 10:10 am Sofia Papagiannaki

Pithos backend: Return objects in a specific domain

Refs: #3510

fed9c5c7 04/17/2013 06:20 pm Sofia Papagiannaki

pithos: Fix container quota violation control

Pithos backend before performing the quota violation checks
creates a new version of object and updates the
usage of the ancestor nodes (the container).

In Postgresql SELECT does see the effects
of previous updates executed within its own transaction...

19ddd41b 04/17/2013 06:17 pm Sofia Papagiannaki

Change pithos default container policy quota to unlimited

Refs: #3543

  • Substitute the PITHOS_BACKEND_QUOTA setting with two
    distinct settings: PITHOS_BACKEND_ACCOUNT_QUOTA &
    PITHOS_BACKEND_CONTAINER_QUOTA
  • Set PITHOS_BACKEND_CONTAINER_QUOTA default value...
613659fc 04/15/2013 07:14 pm Sofia Papagiannaki

pithos: Register commission serials to allow for recoery

Refs: #3594

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

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

Explicitly enabled/disable pithos quotaholder component

Use PITHOS_USE_QUOTAHOLDER setting

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

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

Pithos: handle quotaholder exception errors

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

Remove trailing space

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

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

fix radosblocker merge, fix some tabs/whitespace

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)

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

fix indentation in pithos.backend.modular

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

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)

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

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

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

fix backend variable name

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

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

fix UnboundLocalError

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

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

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

fix backend variable name

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

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

Fix code formatting to conform to the PEP 8 style guide

b82d3277 07/19/2012 04:50 pm Sofia Papagiannaki

include path in messages sent to aquarium

31e1acd3 07/17/2012 09:01 pm Sofia Papagiannaki

Write more realistic tests

Refs: #2675

e46b2bcf 06/29/2012 06:34 pm Sofia Papagiannaki

Call for delete container contents

Refs: #2611

07867f70 06/28/2012 07:33 pm Sofia Papagiannaki

Fix size & type of copied files

Refs: #2611

7efc9f86 06/28/2012 03:51 pm Sofia Papagiannaki

change backend to raise custom exceptions

56ac7c81 06/26/2012 07:06 pm Sofia Papagiannaki

optimize sorts

3f767854 06/26/2012 06:55 pm Sofia Papagiannaki

Fix change object content type (move object)

Refs: #2611

cf4a7a7b 06/26/2012 04:43 pm Sofia Papagiannaki

Do not include children of public objects in listings

Refs: #2394

4d15c94e 06/25/2012 07:50 pm Sofia Papagiannaki

Progess I

Refs: #2611

fe2db49d 06/21/2012 12:18 pm Sofia Papagiannaki

include user in logs

2535deff 05/23/2012 03:55 pm Sofia Papagiannaki

extend client library and write tests for listing public container/objects

Refs: #2394

c53c4def 05/22/2012 08:00 pm Sofia Papagiannaki

fix list_containers

Refs: #2394

90ee1eb3 05/22/2012 05:51 pm Sofia Papagiannaki

change API calls to include public objects in shared by me

Refs: #2394

f3b65e8f 04/30/2012 04:34 pm Antony Chazapis

Add umask option.

a74ba506 04/10/2012 12:15 pm Sofia Papagiannaki

Send sharing notifications.

Fixes #2295

73673127 04/10/2012 11:32 am Antony Chazapis

Include instance in queue messages.

8d9a3fbd 04/03/2012 06:45 pm Antony Chazapis

Different queue message types use different keys.

39ef6f41 04/03/2012 01:17 am Antony Chazapis

Report object changes to the queue.

Refs #1792

f9ea264b 04/02/2012 04:26 pm Antony Chazapis

Fixes for non-automatic container versioning policy.

Refs #2030

692485cc 03/23/2012 03:25 pm Antony Chazapis

Check Content-Type up to semicolon.

Fixes #2240

6e147ecc 02/23/2012 03:11 pm Antony Chazapis

Remove lib package.

88353602 02/22/2012 12:36 pm Kostas Papadimitriou

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

ab0982ad 01/23/2012 03:34 pm Kostas Papadimitriou

Merge branch 'master' into packaging

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

8c306eab 01/17/2012 06:42 pm Kostas Papadimitriou

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