- 14 May, 2013 3 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Replace `available' with `usage' and `limit' in NoQuantityError to make it similar to NoCapacityError.
-
Giorgos Korfiatis authored
To change base quota for a specified user: snf-manage user-modify user --set-base-quota resource limit To import base quota in batch from a file: snf-manage astakos-quota --import-base-quota filename Rename `initial' to `base quota' in command output. Move code that creates/removes AstakosUserQuota entries in file quotas.py; sync user to quotaholder after such a change. Refs #3411
-
- 13 May, 2013 14 commits
-
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Giorgos Korfiatis authored
Refs #3530 Use the same utility function as astakos-quota. Update the latter to a SynnefoCommand.
-
Giorgos Korfiatis authored
Refs #3717 Replace instances of DateField in ProjectMembership and ProjectMembershipHistory.
-
Giorgos Korfiatis authored
This reverts commit 7ce770be9fd9668fff4088eff2421cbeb0cc311e. Update astakos tests to use membership id.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Do not create private networks when adding a new backend. Since, "lazy networks" this is no longer needed.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Implement "lazy networks", which are not created to all Ganeti backends upon creation, but only when an instance that resides in a Ganeti is connected to that network. Update 'create_network' to create the Network object in DB without creating network in Ganeti, or correspoding BackendNetwork entries. The state of the Network becomes 'ACTIVE' upon creation, instead of 'PENDING' that was until now. Also, update 'delete_network' function to delete the network only from the backends that it is not in 'DELETED' state. The state of the network will become 'DELETED' only when all corresponding backend networks become 'DELETED' (including offline backends). Extend code that connects a VM to a network to check if the network already exists and is in 'ACTIVE' state in the Ganeti backend that hosts the VM. If not, it will create the network and then connect the VM (using Ganeti chained-jobs to ensure correct ordering of jobs). Update 'reconcile-networks' management command to work with lazy networks. Specifically, do not check if private networks exist in all backends. Update 'network-add' management command to create the network in the Ganeti, only if a backend is specified. Finally, when using Ganeti chained-jobs to impose ordering of jobs, do not depend only on 'success' of a job, but also on 'error' and 'cancel'. This is needed to cover case that a job fails (e.g. create network) because the resource already exists.
-
Christos Stavrakakis authored
Conflicts: docs/dev-guide.rst
-
Christos Stavrakakis authored
Update create/remove management commands to issue commission when needed.
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
- 10 May, 2013 9 commits
-
-
Sofia Papagiannaki authored
If option parameter ``usage`` is passed then the response should contain also the resource presentation information (as it used to be in the past)
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
Replace all AstakosCallpoint references
-
Sofia Papagiannaki authored
User request.user field (set by user_for_token decorator)
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
user_for_token after successful user authentication sets the request user attribute The wrapped methods no more need the ``user`` argument: they can get the token holder by the request object
-
Sofia Papagiannaki authored
Refs: #3340
-
- 09 May, 2013 11 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Fix race condition in one of Astakos tests.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Do not user 'assertItemsEqual' method of unittest is only supported in python 2.7. Also, some arguments have been renamed.
-
Christos Stavrakakis authored
Search based on 'person__id' and not 'id'.
-
Sofia Papagiannaki authored
-
Christos Stavrakakis authored
Mock 'resolve_commissions' call.
-
Christos Stavrakakis authored
Use 'urljoin' to compute the 'config_url' parameter.
-
Constantinos Venetsanopoulos authored
Minor Conflict: docs/cyclades-api-guide.rst
-
Constantinos Venetsanopoulos authored
-
- 08 May, 2013 3 commits
-
-
Giorgos Korfiatis authored
add_member, remove_member were not used.
-
Giorgos Korfiatis authored
Left-justifying resulted in long wrapped empty lines, when a value exceeded the line size.
-
Giorgos Korfiatis authored
-