- 25 Nov, 2013 11 commits
-
-
Dionysis Grigoropoulos authored
* Add a new class for snf-manage *-remove commands
-
Dionysis Grigoropoulos authored
-
Dionysis Grigoropoulos authored
* Add assertSuccess201 function * Use this new function in test/subnets.py
-
Dionysis Grigoropoulos authored
* Fix a potential crash if the gateway IP was the last available IP of the subnet * Create the corresponding test
-
Dionysis Grigoropoulos authored
-
Dionysis Grigoropoulos authored
-
Dionysis Grigoropoulos authored
* Fix a bug where snf-manage subnet-list printed deleted subnets too * Fix a query, that also returned deleted subnets
-
Dionysis Grigoropoulos authored
* Allow the creation of a network without specifying any subnets
-
Christos Stavrakakis authored
Fix handling of reboot type option. If 'hard' reboot type is specified this is mapped to zero shutdown timeout of OP_INSTANCE_REBOOT Ganeti job. This is only supported from Ganeti>=2.10 and snf-ganeti. In other versions this options will be ignored, and we will fall back to Ganeti's default shutdown timeout (120s).
-
Christos Stavrakakis authored
Add missing 'shutdown_timeout' option to reboot, shutdown and destroy methods of Ganeti RAPI client. The Ganeti RAPI daemon will ignore this options until Ganeti 2.10.
-
Sofia Papagiannaki authored
-
- 24 Nov, 2013 1 commit
-
-
Christos Stavrakakis authored
Consider as default owner for a port the owner of the machine that the port will be connected to.
-
- 23 Nov, 2013 2 commits
-
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Until now, NICs that did not exist in the Ganeti backend and were in BUILD state were removed after a timeout (BUILDING_NIC_TIMEOUT). This was dangerous, because if an OP_INSTANCE_CONNECT job had been "stuck" in Ganeti, the NIC and it's IP address would be released. This commit fixes this by removing such NICs only if the OP_INSTANCE_CONNECT has been finished and the NIC does not exist in the Ganeti backend. Because, querying Ganeti has a time overhead, this is only done for NICs that have not been created too recently.
-
- 22 Nov, 2013 26 commits
-
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Kostas Papadimitriou authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Add new action 'set_user_quota' to set base quota for existing users.
-
Giorgos Korfiatis authored
Update Changelog and upgrade notes.
-
Giorgos Korfiatis authored
When re-registering an existing resource, do not override the visibility flags. They may have been modified by the administrator. Also fix field naming in resource-list.
-
Giorgos Korfiatis authored
Migration 0031 accepted users to whom activation email had been sent, even if their email had not been verified. This is an inconsistent state. We set moderated = False for inactive users. If there are any active users in this state, we issue a warning but leave them untouched.
-
Giorgos Korfiatis authored
Restructure code to avoid an extra join and dict manipulations.
-
Giorgos Korfiatis authored
When registering a new resource or updating base quota for a single resource, compute and set holdings just for this resource.
-
Giorgos Korfiatis authored
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.
-
Giorgos Korfiatis authored
Add option `--all' in command user-modify to support setting base quota for all users. Exceptions can be specified with `--exclude'. Also select user for update in user-modify.
-
Giorgos Korfiatis authored
Enable filtering quota by resource, over limit status, usage and limit values.
-
Giorgos Korfiatis authored
Introduce quota-list and quota-verify.
-
Giorgos Korfiatis authored
Make available in the API only resources with api_visible=True.
-
Giorgos Korfiatis authored
Rename flag `allow_in_projects' to `ui_visible'. Add flag `api_visible'. The former entails the latter.
-
Giorgos Korfiatis authored
View the resource defaults as a skeleton to be consulted when accepting a new user. All users keep their quota in AstakosUserQuota. Operate resource-modify in bulk, in order to avoiding updating the quotaholder separately for each resource.
-
Giorgos Korfiatis authored
Use a more descriptive name for this resource-modify option. Also change resource-list column `limit' to `default_quota'.
-
Giorgos Korfiatis authored
Register new resources with unlimited quota.
-
Giorgos Korfiatis authored
By convention, infinite is represented by 2**63-1, the max value for a signed 64 bit field.
-
Giorgos Korfiatis authored
Any values that happen to be greater than the new max (2**63-1) are reduced to this value.
-
Giorgos Korfiatis authored
Avoid stateful update of holdings when a resource limit changes; rather recompute and set all affected users' quota.
-
Giorgos Korfiatis authored
Instead of updating every single holding, delete all after loading them, then reinsert them updated with bulk_create.
-
Giorgos Korfiatis authored
Also, remove unneeded param of astakos_users_quotas.
-
Giorgos Korfiatis authored
They have been subsumed by the respective service import/export commands.
-