- 14 May, 2013 19 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Handle the case the 'snf-ganeti-eventd' is not running in Ganeti master node, but in a master candidate. In such a case, we can not get a Ganeti client. Until Ganeti conf daemon is implemented, we manually load and parse the 'config.data' in order to find the instance's NICs.
-
Christos Stavrakakis authored
Update 'update_db' callback to handle instance NICs together with instance status. Also update the relevant tests.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Remove obsolete hooks from Cyclades Ganeti tools. Hooks were only used to send the notify Cyclades about the NICs of instances, which is now performed by eventd.
-
Christos Stavrakakis authored
Update eventd daemon to get the instance NICs by querying Ganeti and send them to Cyclades.
-
Christos Stavrakakis authored
Remove 'snf-events-net' queue (together with the corresponding routing key and binding) from the queues that snf-dispatcher is consuming messages. This queue is no longer needed, because messages for instance NICs will be sended by snf-ganeti-eventd to 'snf-events-op' queue. Also remove 'update_net' callback function.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Fix deadlock caused by 'get_or_create' method, since it acquires an implicit shared lock. Take an exclusive lock on network to fix this deadlock.
-
Christos Stavrakakis authored
Do not try to issue commission for networks without user (e.g. public networks), when deleting them.
-
Christos Stavrakakis authored
Refactor and simplify checks of reconcile-networks to take advantage of lazy networks.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
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 7 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
-