1. 12 Nov, 2014 1 commit
  2. 11 Nov, 2014 1 commit
    • Leigh Stoller's avatar
      Add gid to project_leases, and allow creation in subgroups. · d859078e
      Leigh Stoller authored
      This is not exposed to users, the main reason for this is so that the name
      space for leases (datasets) is per-group instead of per-project. We need
      this when creating datasets via the geni interface (backend to APT), since
      all leases are created in the holding project. Without a subgroup, we would
      run into name collisions on the backend. It also gives us finer access
      permission control for the same reason.
      
      Note that I yanked out the lease cache from Lease.pm (not worth the
      trouble), and I expanded Lookup to allow for the usual variety of
      possibilities that we allow in other Lookup methods.
      d859078e
  3. 09 Nov, 2014 1 commit
    • Mike Hibler's avatar
      Change of strategy: don't pass realpath-ed path to client side. · 67039354
      Mike Hibler authored
      We still use realpath to validate the path up front, but we pass the
      original (DB) path on to the client-side. Passing the resolved path was
      wrong anyway for clients that write images across NFS, because the path
      the client uses could be different than that computed on the server
      (e.g., /proj/foo vs. /.amd_mnt/ops/proj/foo) due to the way mounts are
      done. Note that the server will again validate the client-provided path,
      so if someone were to mess with a symlink in the path between when
      create_image verifies it and when it gets used, there is still no danger.
      
      This will probably eliminate the need for the AMD hack, but I'll leave
      it just to be safe.
      67039354
  4. 07 Nov, 2014 1 commit
  5. 05 Nov, 2014 1 commit
  6. 04 Nov, 2014 4 commits
  7. 28 Oct, 2014 3 commits
  8. 25 Oct, 2014 1 commit
  9. 08 Oct, 2014 3 commits
  10. 07 Oct, 2014 1 commit
  11. 03 Oct, 2014 1 commit
  12. 01 Oct, 2014 1 commit
  13. 15 Sep, 2014 1 commit
  14. 12 Sep, 2014 1 commit
  15. 10 Sep, 2014 1 commit
  16. 05 Sep, 2014 1 commit
  17. 03 Sep, 2014 1 commit
  18. 02 Sep, 2014 1 commit
  19. 27 Aug, 2014 1 commit
  20. 25 Aug, 2014 2 commits
  21. 14 Aug, 2014 1 commit
  22. 12 Aug, 2014 1 commit
  23. 11 Aug, 2014 1 commit
  24. 07 Aug, 2014 2 commits
  25. 06 Aug, 2014 1 commit
  26. 25 Jul, 2014 3 commits
  27. 22 Jul, 2014 1 commit
  28. 17 Jul, 2014 2 commits
    • Leigh Stoller's avatar
      Run the main ssh as root. Also a fix to how we get the · 9dbb7f0a
      Leigh Stoller authored
      parent image when provenance is on.
      9dbb7f0a
    • Mike Hibler's avatar
      Add support for auto-detecting when to create a delta image. · bc7c6e40
      Mike Hibler authored
      Uses the new-ish imagezip -P option. But first we had to get that option
      to imagezip. So the key-value interface between server and client now has
      an IZOPTS key where you can pass options to imagezip (This is now used to
      pass the -N that we have always specified as well).
      
      Also changed imagezip to print out a less ambiguous message when the option
      is in use, if will clearly say that it is full or delta. This matters because
      we have to parse the imagezip output on the server to figure out what kind
      of image it is!
      bc7c6e40