- 30 Apr, 2013 30 commits
-
-
Christos Stavrakakis authored
Create 'mocked_quotaholder' context manager to bypass commission and use it in Cyclades tests. Also this commit does some various fixes to other tests.
-
Christos Stavrakakis authored
Extend 'issue_and_accept_commission' function to resolve previous unresolved commission, if exists. In order to resolve it, the commission must not be pending, because if it is there is not enough information to resolve it.
-
Christos Stavrakakis authored
Refactor Cyclades code that handles commissioning with Quotaholder. This commit removes the 'uses_commission' decorator. Instead it introduces the 'issue_and_accept_commission' function that is responsible for implenting the commission workflow. This function must be called exactly after and in the same transaction that creates/modifies the resource, because resource creation/modification must happen in the same transaction with issuing and storing the serial in the DB.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
* Merge 'accepted' and 'rejected' field to 'accept' field. * Add 'resolved' field, indicating whether this commission has been accepted/rejected to Quotaholder * Remove custom save() method. Handle 'pending' field manually. Also add the corresponding database migrations.
-
Christos Stavrakakis authored
Do not consider 0 usage for users and resources that are not included in Quotaholder resources list, since Quotaholder returns zero usage for all users and all resources. If a user/resource does not belong to QH respond then it can not be an Astakos user. Refs #3606 #3491 #3661
-
Christos Stavrakakis authored
Rename 'cyclades-reconcile-commissions' to 'reconcile-commissions-cyclades.' Rename 'cyclades-usage-verify' to 'reconcile-resources-cyclades.'
-
Christos Stavrakakis authored
Extend 'cyclades-usage-verify' management command to cover the usage of 'cyclades-reset-usage' and remove the second one. The new command reconciles resources(usage) by detecting inconsistencies between the usage of resources in Astakos and Cyclades DB and fixing them by issuing a commission with the difference of the usage in DB and Astakos. If there is a pending commission for a resource, reconciliation for this resource is skipped. Refs #3627 Also, make this command do not consider only users that exist in Cyclades DB, but also users that exist in Quotaholder. For such users, it is assumed that they have zero usage for all Cyclades resources. Refs #3606 #3491
-
Christos Stavrakakis authored
Remove from cyclades all settings that were relative with Quotaholder. Remove CYCLADES_USE_QUOTAHOLDER settings, since Cyclades can not work any more without quotas. Remove CYCLADES_QUOTAHOLDER_URL and CYCLADES_QUOTAHOLDER_TOKEN since Quotaholder is merged with Astakos.
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
-
Giorgos Korfiatis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Remove 'TRANSLATE_UUIDS' from plankton setting.
-
Christos Stavrakakis authored
Remove 'PITHOS_USER_CATALOG_URL' and 'PITHOS_USER_FEEDBACK_URL' and 'PITHOS_USER_LOGIN_URL' settings, since all of them can be derived from 'ASTAKOS_URL' setting.
-
Christos Stavrakakis authored
Remove 'CYCLADES_USER_CATALOG_URL' and 'CYCLADES_USER_FEEDBACK_URL' settings, since both of them can be derived from 'ASTAKOS_URL' setting.
-
Christos Stavrakakis authored
Distinguish exceptions while using AstakosClient to communicate with Astakos, from the rest API errors.
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Ilias Tsitsimpis authored
-
Christos Stavrakakis authored
-
Christos Stavrakakis authored
Make --flavor-id mandatory in 'snf-manage server-create' management command.
-
Christos Stavrakakis authored
Update 'network-create' management command, to require an owner when creating a private network.
-
Christos Stavrakakis authored
Make list command order results either by 'order_by' class attribute, or by primary key.
-
Giorgos Korfiatis authored
Provide console script astakos-migrate-0.14. Also update related upgrade notes.
-
Giorgos Korfiatis authored
-
- 29 Apr, 2013 10 commits
-
-
Giorgos Korfiatis authored
-
Ilias Tsitsimpis authored
This reverts commit da18207e2825b4a0a4cb3abc6a9fbef541eda05b. Issue resolved by commit 214058a911c5b4b8b3d9108ba891536a0b40dc49.
-
Giorgos Korfiatis authored
Unify these operations when registering a pending application, in order to make sure no commission can be left pending.
-
Giorgos Korfiatis authored
Sync number of pending applications to quotaholder.
-
Christos Stavrakakis authored
-
Ilias Tsitsimpis authored
In resolve_commissions, accept_serials and reject_serials may be empty lists. Don't do a validation check for this parameters and let the servers respond with an error if bad values was given.
-
Christos Stavrakakis authored
State of public NIC should be 'BUILDING'
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Migration 0001 should be faked on an existing database. Migration 0002 adds new fields. Migration 0003 populates the new fields based on the old ones. Migration 0004 deletes unneeded fields and tables.
-
Giorgos Korfiatis authored
In order to facilitate migrations.
-