Statistics
| Branch: | Tag: | Revision:

root / snf-cyclades-app / synnefo / quotas @ 54625a34

Name Size
  management
__init__.py 13.5 kB
enforce.py 8.6 kB
models.py 0 Bytes
resources.py 1.8 kB
tests.py 8.8 kB
util.py 4.7 kB

Latest revisions

# Date Author Comment
3af1fb4b 12/20/2013 01:59 pm Christos Stavrakakis

cyclades: Fixes causing unsynced quotas

  • clear QuotaHolderSerial objects when resolving pending commissions.
  • Fix wrong name of Ganeti opcodes.
  • Do not update vm's flavor before issuing new commission
12e8c717 12/19/2013 04:22 pm Giorgos Korfiatis

cyclades: Exclude users from quota enforcement

6aa9924d 12/19/2013 04:08 pm Giorgos Korfiatis

cyclades: Limit quota enforcement operations

Add option in enforce-resources-cyclades to specify the maximum number of
operations to perform per backend.

Also ensure that quota are always checked in the same order.

d14155e3 11/22/2013 04:44 pm Giorgos Korfiatis

cyclades: Enforce quota

Introduce command enforce-resources-cyclades, which checks for quota
violations and applies actions to enforce the limits. By default, it
operates only on these resources: cpu, ram, floating_ip.

90e7da53 11/22/2013 04:44 pm Giorgos Korfiatis

Remove resource import/export commands

They have been subsumed by the respective service import/export commands.

1fdd8d69 11/20/2013 08:08 pm Christos Stavrakakis

cyclades: Fix bugs relative with quotas

  • Reject previous unaccepted serials if action is 'DESTROY'. This is
    required because multiple DESTROY actions may be pending for the same
    resource (e.g. VM). The one who succeeds will be accepted, while all
    others will be rejected. This isn't optimal since it causes circular...
87726194 11/15/2013 02:55 pm Giorgos Korfiatis

cyclades: Fix reference to QuotaLimit

5083fc47 11/15/2013 02:13 pm Christos Stavrakakis

Rename 'cpu' and 'ram' resources

Rename CPU and RAM relative resources to avoid data migrations.
Specifically, the resources that are renamed are the following:

  • cpu -> total_cpu
  • ram -> total_ram
  • active_cpu -> cpu
  • active_ram -> ram
44183264 11/15/2013 02:08 pm Christos Stavrakakis

cyclades: Rename FloatingIP to IPAddress

FloatingIP table has been removed. Instead floating IPs are stored in
the IPAddress table and are distinguished from other IP addresses by
the 'floating_ip' attribute.

0dc4b304 11/15/2013 01:38 pm Giorgos Korfiatis

cyclades: Handle qh errors in a context manager

Replace decorator handle_astakosclient_error with a more flexible
context manager, AstakosClientExceptionHandler.

View revisions

Also available in: Atom