Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / quotas / __init__.py @ 62c86226

History | View | Annotate | Download (8.7 kB)

# Date Author Comment
d0986bac 04/30/2013 05:05 pm Christos Stavrakakis

Cyclades: remove all quotaholder settings

Remove from cyclades all settings that were relative with Quotaholder.
Remove CYCLADES_USE_QUOTAHOLDER settings, since Cyclades can not work
any more without quotas.
Remove CYCLADES_QUOTAHOLDER_URL and CYCLADES_QUOTAHOLDER_TOKEN since...

ccfbf77b 04/30/2013 05:05 pm Christos Stavrakakis

Varous fixes to cyclades-usage-verify command

Extend 'cyclades-usage-verify' management command to cover the usage of
'cyclades-reset-usage' and remove the second one. The new command
reconciles resources(usage) by detecting inconsistencies between the
usage of resources in Astakos and Cyclades DB and fixing them by issuing...

629acc65 04/30/2013 05:04 pm Giorgos Korfiatis

cyclades: Use astakosclient for quotas and commissions

656cf771 04/30/2013 05:04 pm Christos Stavrakakis

Various fixes to quotas

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

642c426e 03/22/2013 05:19 pm Christos Stavrakakis

Fix bug in uses_commission decorator

Distinquish between exceptions in the decorated function and exceptions
in accepting/rejecting the commissions. The first one determines whether
serials should be accepted or rejected, while the second one is an error...

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

498b2bd0 02/14/2013 04:26 pm Georgios D. Tsoukalas

correct quotaholder exception imports

e8f8f4aa 02/13/2013 05:29 pm Christos Stavrakakis

Fix bug in DummyQuotaholderClient

DummyQuotaholderClient should count only positive commissions.

5a70b1a3 02/13/2013 05:29 pm Christos Stavrakakis

Add details to OverLimit exception

  • Add details to OverLimit exception, with the values provided by
    kamamaki.clients.quotaholder.exception.CommissionValueException.
  • Fix DummyQuotaholder exceptions
  • Fix DummyQuotaholder checks
68b952f9 02/01/2013 04:52 pm Christos Stavrakakis

pep8 fixes

7f849a28 01/30/2013 12:56 pm Georgios D. Tsoukalas

cyclades: import quotaholder exceptions from kamaki

Because this is where the quotaholder client exceptions come from.

6dbd90c0 12/10/2012 01:14 pm Christos Stavrakakis

Import quotaholder settings only if needed

718a601d 12/01/2012 04:35 pm root

Fix renamed setting

45855947 11/30/2012 02:43 pm Georgios D. Tsoukalas

cyclades: authenticate to quotaholder with token

- initialize quotaholder client with the token from
setting CYCLADES_QUOTAHOLDER_TOKEN

- rename setting USE_QUOTAHOLDER to CYCLADES_USE_QUOTAHOLDER

7ced3e6b 11/29/2012 04:29 pm Christos Stavrakakis

Use CYCLADES_QUOTAHOLDER_URL

e16cf080 11/27/2012 06:01 pm Georgios D. Tsoukalas

set quotaholder urls

- quotaholder base url is of the form 'http://host/quotaholder/v/'
- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL

b14f55b5 11/27/2012 04:13 pm Christos Stavrakakis

Add USE_QUOTAHOLDER setting

Add setting indicating whether to use the Quotaholder service or
use the static limits.

dba149f6 11/26/2012 06:22 pm Christos Stavrakakis

Fix imports relative to quotas

e8f2d02d 11/26/2012 12:40 pm Christos Stavrakakis

Fix quotaholder exception handling

Currently, QuotaholderHTTP returns CallError, with the call_error
attribute indicating the error.

11a54cb9 11/26/2012 12:40 pm Christos Stavrakakis

Implement reconciliation for pending quotas

4ac68aaf 11/26/2012 12:40 pm Christos Stavrakakis

Allocate resources from cyclades entity

Also fix commissioning key

5805fbb1 11/26/2012 12:40 pm Christos Stavrakakis

Convert resource sizes in bytes

900a9fc3 11/26/2012 12:40 pm Christos Stavrakakis

Rename disk to disk_size

457a8ada 11/26/2012 12:40 pm Christos Stavrakakis

Revert "Rename disk to disk_size"

This reverts commit 2d017fc046194d8316096c56d4a32cdf81ce5fcd.

3a334cab 11/26/2012 12:40 pm Georgios D. Tsoukalas

update to use new quotaholder packaging api

bfe7ba3c 11/26/2012 12:36 pm Christos Stavrakakis

Create quotas module

Create quotas module, containing functions for interacting with
the Quotaholder service.