- 22 May, 2013 1 commit
-
-
Giorgos Korfiatis authored
Add library synnefo.util.units for parsing numerical values with an optional unit suffix and printing integer values based on a given style. Styles `b', `kb', `mb', etc allow printing in the respective multiples of byte, style `auto' in a human-readable manner, while `none' omits units altogether. Add option `--unit-style' in all astakos management commands that print resource limits and quota usage. Consult the resource definitions to find out which unit, if any, to show. For resources with unit `bytes', all commands default to MB.
-
- 21 May, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 20 May, 2013 1 commit
-
-
Giorgos Korfiatis authored
Lock project's chain for every operation affecting either a project or an application. Subsequently, lock user when needing to sync or to issue commission to update pending_app quota. In views, replace locking qh_add_pending_app with check_pending_app_quota, which will only query quota, so that to respect the above mentioned order. Order by id when locking multiple users.
-
- 15 May, 2013 1 commit
-
-
Giorgos Korfiatis authored
- Split code that lists and syncs quotas - Merge the latter with qh_sync_users - Move qh_sync_projects in quotas.py; sync only active members - Add missing select for update in project suspend - Clean up quotas.py
-
- 14 May, 2013 2 commits
-
-
Giorgos Korfiatis authored
Also replace `quotas' with `quota' in strings and command line options.
-
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 1 commit
-
-
Giorgos Korfiatis authored
Refs #3530 Use the same utility function as astakos-quota. Update the latter to a SynnefoCommand.
-
- 22 Apr, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 19 Apr, 2013 2 commits
-
-
Giorgos Korfiatis authored
The following indicators are returned for each holding: "limit": the quota limit (as before) "usage": the current usage (pessimistically, includes any pending allocations) "pending": the difference of max and min allocation, indicates that there are pending commissions on this holding
-
Giorgos Korfiatis authored
-
- 17 Apr, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 08 Apr, 2013 1 commit
-
-
Sofia Papagiannaki authored
-
- 05 Apr, 2013 4 commits
-
-
Giorgos Korfiatis authored
Intention is to collect all quota-related code to a single file.
-
Giorgos Korfiatis authored
Adjust astakos code to the new nested dict structure of quotas.
-
Giorgos Korfiatis authored
Simplifications due to removal of quantity and merging capacity into holding. Also make sure that holders and resources are represented as strings in quotaholder calls.
-
Giorgos Korfiatis authored
Import directly quotaholder.callpoint in endpoint/qh.py instead of an HTTP client. Remove code related to entities, such as registering users and services. Remove sync_projects logic.
-
- 22 Mar, 2013 1 commit
-
-
Giorgos Korfiatis authored
Inform specifically which users, if any, have been synced, instead of listing the whole diff. The latter can be recovered by giving the option --verify.
-
- 08 Mar, 2013 1 commit
-
-
Giorgos Korfiatis authored
Print a message about astakos-quota calculating all user quotas, which on a big system takes some time.
-
- 07 Mar, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 06 Mar, 2013 1 commit
-
-
Giorgos Korfiatis authored
Refs #3389
-
- 14 Feb, 2013 1 commit
-
-
Giorgos Korfiatis authored
-
- 28 Jan, 2013 1 commit
-
-
Georgios D. Tsoukalas authored
-
- 21 Jan, 2013 2 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
-
- 18 Jan, 2013 2 commits
-
-
Giorgos Korfiatis authored
-
Giorgos Korfiatis authored
Factor out trigger_sync() as lock_sync() to be used for other sync processes in addition to sync_projects(). Implement sync_users(), which registers users and their quotas. Use both sync processes in astakos-qh-sync management command.
-
- 10 Jan, 2013 1 commit
-
-
Georgios D. Tsoukalas authored
Astakos-qh-sync will create quotas for all eligible users. Users that have unverified emails are not considered eligible. When users are activated by an admin via user-update --set-active, their email is also marked as verified, therefore they become eligible.
-
- 06 Dec, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 20 Nov, 2012 1 commit
-
-
Olga Brani authored
-
- 19 Nov, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 07 Nov, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 05 Nov, 2012 2 commits
-
-
Olga Brani authored
-
Sofia Papagiannaki authored
-
- 03 Oct, 2012 2 commits
-
-
Sofia Papagiannaki authored
-
Sofia Papagiannaki authored
-
- 17 Sep, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 10 Sep, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 02 Sep, 2012 1 commit
-
-
Sofia Papagiannaki authored
* integration with quota holder * new credit event for integration with aquarium
-
- 31 Jul, 2012 1 commit
-
-
Sofia Papagiannaki authored
-
- 22 May, 2012 1 commit
-
-
Sofia Papagiannaki authored
* new model Service * new management commands for handling the services * remove ASTAKOS_CLOUD_SERVICES setting * change get_services API call to return the Service objects * separate admin from service API calls * introduce send_feedback service API call Refs: #2413
-