Statistics
| Branch: | Tag: | Revision:

root / snf-pithos-app / pithos @ a3fcee5b

# Date Author Comment
a3fcee5b 06/10/2013 09:37 pm Sofia Papagiannaki

pithos: change X-Object-Public header

The header value should contain the absolute public url

06e7d2f0 06/10/2013 09:37 pm Sofia Papagiannaki

pithos: fix UnboundLocalError in object read

6b560707 06/10/2013 11:06 am Sofia Papagiannaki

snf_django: Optionally use other default serialization than json

Pithos api default serialization for listing is text insted of json.
However the common api decorator if not specified otherwise used to
json as the default serialization.
So we introduced a new optional argument (defaults to json) to override...

5f2072f4 06/07/2013 12:56 am Kostas Papadimitriou

pithos: Use api_patterns to register API urls

2e45abfd 06/06/2013 04:12 pm Kostas Papadimitriou

webproject: common 404, 500 handling

- Move 404, 500 templates from astakos to webproject
- Remove 404, 500 templates from pithos-app
- Webproject now includes static files to serve jquery as an asset in 404, 500
pages.
- Custom 500 handler. Use RequestContext if possible.

11b7870d 06/05/2013 05:38 pm Georgios D. Tsoukalas

Merge branch 'feature-reconfigure-urls' into develop

Conflicts:
docs/pithos-api-guide.rst

923e6582 06/05/2013 05:31 pm Georgios D. Tsoukalas

Rename astakos_keystone to astakos_identity

1a3eff62 06/05/2013 02:06 pm Sofia Papagiannaki

pithos: Weaken X-Object-Public exposure requirement

8a0c7040367761cd5d5383ac53dfe1c0161c1d02
has restricted the X-Object-Public exposure
in container detailed list requests
only to the object owner and if public parameter is supplied.
Now we have weaken this requirement so this information...

dfc4d3d7 06/04/2013 08:38 pm Kostas Papadimitriou

pithos: Fill endpoints to astakos_services object

47d421ae 06/04/2013 05:31 pm Georgios D. Tsoukalas

Incorporate all resources into service definitions

- Add 'service_origin' key in resources, as the normative name of
the service that exported it.
- Keep resources backwards compatible, export-resource-service
reads resources from the service list.

89d091bf 06/03/2013 03:33 pm Giorgos Korfiatis

cyclades, pithos: Update resource definitions

Include service_type in each resource dict.

b55b9692 06/03/2013 02:09 pm Giorgos Korfiatis

common: Export only services specified as public

Employ helper function `filter_public' in service-export-* commands.
Also set `pithos_ui' service to non-public and clear version of
`astakos_ui'.

a30e4fff 06/03/2013 01:51 pm Kostas Papadimitriou

pithos: Include additional prefixes settings

- Include settings for astakos accounts/views/keystone prefixes
- Renamed ASTAKOS_ACCOUNT_PREFIX > ASTAKOS_ACCOUNTS_PREFIX
Prepend BASE_ASTAKOS_PROXY_PATH with BASE_PATH by default

2a54b2dd 06/03/2013 11:50 am Georgios D. Tsoukalas

pithos: initialize prefixes from service catalog

4080a1df 06/03/2013 11:50 am Georgios D. Tsoukalas

service catalogs: autofill endpoints from BASE_URL

fe4ad54f 06/03/2013 11:50 am Georgios D. Tsoukalas

pithos: add service-export-pithos command

e3ff6830 06/03/2013 11:49 am Georgios D. Tsoukalas

make synnefo URLs consistent and configurable

https://service.deployment.vendor.tld/service-base/api-prefix/hard/path |___________________________________| |__________| |________| |_______|
BASE_HOST BASE_PATH PREFIX Hardcoded...

3506f6a0 05/28/2013 03:57 pm Sofia Papagiannaki

docs: Update list of pithos commands

Also list in a separate section the pithos-manage-accounts commands

205cc8d3 05/16/2013 06:41 pm Giorgos Korfiatis

Catch QuotaLimit exception when reconciling resources

This can happen, if the actual usage registered by a service exceeds
the quota limit.
Advise the user to try the --force option.

1896d3e4 05/16/2013 02:47 pm Sofia Papagiannaki

pithos: fix tests

Change erroneous import

d2c9adac 05/15/2013 06:36 pm Christos Stavrakakis

Use custom method for joining urls

Implement 'join_urls' method for joining a base URL with a path,
without worrying about redundant or missing "/". Do not use
'urlparse.urljoin', since it has different semantics.

aa153e99 05/15/2013 06:20 pm Sofia Papagiannaki

pithos: use common proxy functionality for astakos services

Remove pithos.api.delegate module
Keep top level api urls for this version

02de6286 05/15/2013 06:18 pm Sofia Papagiannaki

pithos: change resource usage retrieval

Replace ``astakosclient.get_info()`` with ``astakosclient.get_quotas()``

79b5d61b 05/10/2013 12:45 pm Sofia Papagiannaki

astakos: WIP move all api calls under ``/astakos/api``

Refs: #3340

d7c850a0 05/10/2013 12:45 pm Sofia Papagiannaki

pithos: use AstakosClient to delegate user services to astakos

c8a79b3a 05/01/2013 06:00 pm Giorgos Korfiatis

pithos, cyclades: Name reconciling commissions

Use commission name "RECONCILE" to distinguish such operations
in the quotaholder provision log.

30aca88f 05/01/2013 05:35 pm Sofia Papagiannaki

pithos: Change reconcile-resources-pithos command

in order to conform with the respective Cyclades
command

82e123f9 05/01/2013 03:33 pm Giorgos Korfiatis

pithos: Define and export resources in json format

Provide management command resource-export-pithos.

df9177e8 05/01/2013 02:35 pm Giorgos Korfiatis

pithos: Add name in reconciling commission

93d963c4 05/01/2013 12:15 pm Sofia Papagiannaki

Merge branch 'feature-quotas-pithos' into feature-quotas

Conflicts:
snf-cyclades-app/synnefo/plankton/backend.py
snf-pithos-app/README
snf-pithos-app/pithos/api/util.py

71585c27 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Update merged code

ae6199c5 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Update pithos management commands

Refs: #3625

8414859f 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: manage_accounts support for both sqlalchemy and sqlite

16f2673e 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Rename backend quotaholder properties

Refer to astakosclient instead of quotaholder

b17e5550 05/01/2013 12:00 pm Giorgos Korfiatis

WIP astakosclient for quotas in pithos

d1e7d2b4 05/01/2013 12:00 pm Sofia Papagiannaki

pithos: Utilize astakosclient for quota handling

Refs: #3625, #3650

e6fb591c 04/30/2013 05:03 pm Ilias Tsitsimpis

snf-pithos-app: Use astakosclient

a5fbc00d 04/30/2013 05:03 pm Christos Stavrakakis

pithos: remove redundant settings

Remove 'PITHOS_USER_CATALOG_URL' and 'PITHOS_USER_FEEDBACK_URL' and
'PITHOS_USER_LOGIN_URL' settings, since all of them can be derived from
'ASTAKOS_URL' setting.

ad0efdb3 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

67100dd2 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

479c3051 04/30/2013 05:03 pm Ilias Tsitsimpis

PEP8 style fixes

c72c19e4 04/17/2013 06:21 pm Sofia Papagiannaki

pithos: Change default container quota policy

Set PITHOS_BACKEND_CONTAINER_QUOTA to 0
(to disable by default the container quota check)
instead of setting to something big

Refs: #3543

18cd931f 04/17/2013 06:20 pm Sofia Papagiannaki

pithos dispatcher: change erroneous import

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...
e9d94604 04/16/2013 08:44 pm Sofia Papagiannaki

pithos: Change conflict handling in object write

Pithos in case of missing blocks during smart object write
(using hashmap) used to raise an api fault with payload
the list with the missing blocks serialized in json format.

However, the common api_method decorator in case of api fault...

b698d39d 04/16/2013 08:22 pm Christos Stavrakakis

Fix API decorator response Content-Type

Remove check for response Content-Type, since 'django.http.HttpResponse'
has always a default Content-Type of 'text/html; charset=utf-8'. Views
defining their response 'Content-Type' should set the
'override_serialization' attribute of response to 'True'.

b32d9fae 04/16/2013 03:37 pm Sofia Papagiannaki

pithos: optionally fix unresolved commissions

provide --fix option for the pithos-reconcile-commissions command

Refs: #3594

8108c68c 04/16/2013 02:35 pm Sofia Papagiannaki

Fix pithos-usage command help

Refs: #3591

989576a6 04/16/2013 02:15 pm Sofia Papagiannaki

Update pithos-usage command to list/reset diverging quotas

Refs: #3591

e1e37cf9 04/16/2013 11:59 am Sofia Papagiannaki

Fix pithos-reconcile-commissions command

Get pending commissions specifically for pithos

Refs: #3594

f0fdf427 04/15/2013 07:18 pm Sofia Papagiannaki

Provide a pithos-reconcile-commissions command

Refs: #3594

47ef53d5 04/15/2013 05:17 pm Christos Stavrakakis

Make 'api_method' to take astakos_url as argument

6dd0fc7c 04/15/2013 04:53 pm Christos Stavrakakis

Add ASTAKOS_URL to pithos.api.settings

4ab620b6 04/15/2013 04:11 pm Christos Stavrakakis

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 in
commit 8df4fae).

Modify 'ASTAKOS_URL' to point to the node hosting the Astakos service...

9c0c8aa9 04/12/2013 12:35 pm Sofia Papagiannaki

Improve pithos-usage command performance

  • Compute statistics only for the current object versions
    (not history and deleted)
  • Deactivate by default the statistics table consistency
    verification (use --verify option to enable it)
f0001470 04/11/2013 11:34 am Christos Stavrakakis

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

591e1df0 04/09/2013 10:54 am Sofia Papagiannaki

Deactivate pithos md5 update by default

Refs: #3554

61c5b615 04/08/2013 07:10 pm Sofia Papagiannaki

Make pithos backend pool size configurable

Refs: #3561

04a1b675 04/08/2013 06:17 pm Christos Stavrakakis

Move astakos lib from snf-common to snf-django-lib

1a736ca8 04/08/2013 04:27 pm Christos Stavrakakis

Use 'python-objpool' instead of 'synnefo.lib.pool'

Use the python-objpool package for pooling resources as object, instead
of the pooling code that existed in snf-common ('synnefo.lib.pool')

Refs #3524

896754a6 04/08/2013 11:07 am Christos Stavrakakis

Move parsedate module to snf_django

bcfd8e6b 04/08/2013 11:07 am Christos Stavrakakis

Add ASTAKOS_URL setting to PITHOS

Common 'api_method' decorator, needs the ASTAKOS_URL setting to
authenticate with Astakos. Create this setting for Pithos based
on PITHOS_AUTHENTICATION_URL.

8df4fae6 04/08/2013 11:07 am Christos Stavrakakis

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 by
tests to bypass communication with astakos, a mocking library should
be used.

65bbcd43 04/08/2013 11:06 am Christos Stavrakakis

Use common 'api_method' decorator in pithos api

Update all pithos API methods to use the new common 'api_method'
decorator. However, this decorator is not enough for pithos since
pithos methods require some extra tasks:
  • Create a PithosBackend connection...
cf5f17b6 04/08/2013 11:06 am Christos Stavrakakis

Add fault.xml template to pithos and astakos

bd40abfa 04/08/2013 11:06 am Christos Stavrakakis

Move cloud faults to 'snf_django.lib.api.faults'

Gather all faults from all synnefo projects into common
'snf_django.lib.api.faults'.

8a0c7040 03/29/2013 12:17 pm Georgios D. Tsoukalas

minor refactor object_list for clarity

6fe32fb6 03/28/2013 10:57 pm Sofia Papagiannaki

Change pithos api public object handling

Expose public URL information only to the object owners.

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.

4ab1af1a 03/27/2013 06:59 pm Georgios D. Tsoukalas

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

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

3e1b20d6 03/19/2013 11:22 am Sofia Papagiannaki

Integrate Pithos usage listing and reseting,
globally and per-user.

Refs: #3309

Substitute pithos-reset-usage with
pithos-usage management command
and extend it to list also account usage.

7273ee62 03/19/2013 11:22 am Sofia Papagiannaki

Fix pithos get object metadata response headers

X-Object-Modified-By header was accidentally
eliminated in the response

66643114 03/15/2013 02:46 pm Sofia Papagiannaki

Remove pithos logger from pithos settings

Loggers for all synnefo components should be configured in
snf-webproject setting file '10-snf-webproject-logging.conf'.

f5a1e653 03/15/2013 01:53 pm Sofia Papagiannaki

Clear pithos InternalServerError response

Do not include in the InternalServerError response
the actual error.

b9818693 03/13/2013 04:43 pm Christos Stavrakakis

Fix inadvertent use of shared objects

Fix inadvertent use of shared objects in synnefo/lib/astakos.py and
pithos/api/delegate.py, since current use is racy when running multiple
requests under gunicorn. Create a private, per-request copy instead.

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

4dcfe1c4 02/28/2013 07:01 pm Georgios D. Tsoukalas

fix and better document quota export/import

9521d937 02/22/2013 04:38 pm Georgios D. Tsoukalas

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.

e30537f1 02/21/2013 07:47 pm Sofia Papagiannaki

Bug fixing

77a345fc 02/19/2013 12:04 pm Georgios D. Tsoukalas

cleanup astakos settings

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

cleanup pithos settings

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

Explicitly enabled/disable pithos quotaholder component

Use PITHOS_USE_QUOTAHOLDER setting

61ae9b74 02/18/2013 10:23 pm Sofia Papagiannaki

Add missing pithos setting documentation

12fca521 02/18/2013 06:09 pm Sofia Papagiannaki

More pithos documentation

fe3d6077 02/18/2013 06:03 pm Sofia Papagiannaki

Fix pithos configuration

384dee7e 02/18/2013 02:52 pm Sofia Papagiannaki

Update pithos-reset-usage command

Enable reset pithos usage for specific accounts

fa8b2092 02/18/2013 02:52 pm Sofia Papagiannaki

Change default pithos url settings

Point to astakos host.

7c740d3c 02/14/2013 06:12 pm Georgios D. Tsoukalas

rename to pithos-reset-usage.py

4a9e3f32 02/14/2013 04:28 pm Sofia Papagiannaki

Fix pithos sharing translation

Perform only one split to separate group owner from name

f483f65d 02/14/2013 04:28 pm Sofia Papagiannaki

Add missing uuid translation

Translate X-Source-Account if TRANSLATE_UUIDS is set

46c7945b 02/14/2013 04:27 pm Georgios D. Tsoukalas

pep8 compliance

99c11993 02/14/2013 04:27 pm Sofia Papagiannaki

Change pithos-manage-accounts options

a4f3b17c 02/14/2013 04:27 pm Sofia Papagiannaki

Do not call user_catalogs if AUTHENTICATION_USERS is set

0325be55 02/14/2013 04:27 pm Sofia Papagiannaki

Check for None in is_uuid

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

Provide command for managing pithos duplicate accounts

09e69b8a 02/14/2013 04:27 pm Georgios D. Tsoukalas

pep8 compliance

2150482f 02/14/2013 04:26 pm Sofia Papagiannaki

Fix get_user argument

f5b1b80e 02/14/2013 04:26 pm Sofia Papagiannaki

Change pithos service user_catalogs url