minor fix and rename to cyclades-reset-usage
minor fixes and rename to cyclades-usage-verify
rename to cyclades-reconcile-commissions
correct quotaholder exception imports
Fix bug in DummyQuotaholderClient
DummyQuotaholderClient should count only positive commissions.
Add details to OverLimit exception
pep8 fixes
Filter out deleted vms/networks
Do not count deleted VMs and Networks when getting holdingsfrom the Cyclades DB.
cyclades: import quotaholder exceptions from kamaki
Because this is where the quotaholder client exceptions come from.
Import quotaholder settings only if needed
Implement quotas-init and quotas-verify
Implement quotas-init and quotas-verify management commands.- quotas-init sets quotas of Quotaholder to the state of quotas in Cyclades DB- quotas-verify detects incosistencies between quotas in Quotaholder and...
Fix renamed setting
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
Use CYCLADES_QUOTAHOLDER_URL
set quotaholder urls
- quotaholder base url is of the form 'http://host/quotaholder/v/'- cyclades setting name set to CYCLADES_QUOTAHOLDER_URL
Add USE_QUOTAHOLDER setting
Add setting indicating whether to use the Quotaholder service oruse the static limits.
Fix imports relative to quotas
Fix quotaholder exception handling
Currently, QuotaholderHTTP returns CallError, with the call_errorattribute indicating the error.
Implement reconciliation for pending quotas
Allocate resources from cyclades entity
Also fix commissioning key
Convert resource sizes in bytes
Rename disk to disk_size
Revert "Rename disk to disk_size"
This reverts commit 2d017fc046194d8316096c56d4a32cdf81ce5fcd.
update to use new quotaholder packaging api
Create quotas module
Create quotas module, containing functions for interacting withthe Quotaholder service.