1. 30 Apr, 2013 4 commits
    • Christos Stavrakakis's avatar
      reconcile-resources: check that user exists in QH · a5dc77a5
      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's avatar
      cyclades: Rename quotas management commands · a0edc493
      Christos Stavrakakis authored
      Rename 'cyclades-reconcile-commissions' to 'reconcile-commissions-cyclades.'
      Rename 'cyclades-usage-verify' to 'reconcile-resources-cyclades.'
    • Christos Stavrakakis's avatar
      Varous fixes to cyclades-usage-verify command · ceb968d4
      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
    • Giorgos Korfiatis's avatar
  2. 16 Apr, 2013 1 commit
  3. 14 Mar, 2013 1 commit
  4. 14 Feb, 2013 1 commit
  5. 01 Feb, 2013 1 commit
  6. 03 Dec, 2012 1 commit
    • Christos Stavrakakis's avatar
      Implement quotas-init and quotas-verify · 2855792e
      Christos Stavrakakis authored
      Implement quotas-init and quotas-verify management commands.
      - quotas-init sets quotas of Quotaholder to the state of quotas in
        Cyclades DB
      - quotas-verify detects incosistencies between quotas in Quotaholder and
        Cycldes DB.