1. 27 Mar, 2013 6 commits
  2. 26 Mar, 2013 9 commits
  3. 22 Mar, 2013 6 commits
  4. 21 Mar, 2013 5 commits
  5. 20 Mar, 2013 7 commits
  6. 19 Mar, 2013 5 commits
    • Sofia Papagiannaki's avatar
      Deactivate pithos disk space usage tests · e9df4ee9
      Sofia Papagiannaki authored
      Pithos usage tests require special setup
      since test accounts should be created and configured properly
      in astakos and quotaholder components.
      
      Also, these tests should know the server's version accounting policy.
      For the time being, pithos server does not return this information.
      So the tests check the PITHOS_BACKEND_FREE_VERSIONING setting
      to discover the server's policy.
      However, this works only if the tests run against a server
      running in the same host, but not also for a remote server.
      
      For the above reasons, the specific tests are deactivated
      until there will be available a proper pithos testing framework.
      e9df4ee9
    • Sofia Papagiannaki's avatar
      Eliminate mutable default arguments · 3ad2d844
      Sofia Papagiannaki authored
      3ad2d844
    • Sofia Papagiannaki's avatar
      Integrate Pithos usage listing and reseting, · 8a5cfda8
      Sofia Papagiannaki authored
      globally and per-user.
      
      Refs: #3309
      
      Substitute pithos-reset-usage with
      pithos-usage management command
      and extend it to list also account usage.
      8a5cfda8
    • Sofia Papagiannaki's avatar
      Fix pithos purging accounting · 0b752cff
      Sofia Papagiannaki authored
      Refs: #3442
      Refs: #1733
      
      Pithos has two different version accounting
      policies:
      * free: do not include object history version size 
      to the total account usage
      * debit: include object history version size to 
      the total account usage
      This configurable by
      PITHOS_BACKEND_FREE_VERSIONING setting.
      
      Pithos delete container function purges 
      the history versions of the including objects.
      and should send to the quota holder component
      the released disk space *only*  
      in the case of debit version accounting policy.
      
      Also the purging function used to return 
      the negative of the computed released disk space 
      but to the quotaholder component was sent 
      its negative.
      So, erroneously, the released disk space was
      added to the total quota usage.
      
      Provide tests for the following distinct cases:
      * free version accounting policy (PITHOS_BACKEND_FREE_VERSIONING=True) 
      and `auto` container versioning policy
      * free version accounting policy
      (PITHOS_BACKEND_FREE_VERSIONING=True) 
      and `none` container versioning policy
      * debit version accounting policy
      (PITHOS_BACKEND_FREE_VERSIONING=False) 
      and `auto` container versioning policy
      * debit version accounting policy(PITHOS_BACKEND_FREE_VERSIONING=False) 
      and `none` container versioning policy
      0b752cff
    • Sofia Papagiannaki's avatar
      Fix pithos get object metadata response headers · 467d5b8f
      Sofia Papagiannaki authored
      X-Object-Modified-By header was accidentally 
      eliminated in the response
      467d5b8f
  7. 15 Mar, 2013 2 commits