1. 09 Jul, 2018 1 commit
  2. 06 Oct, 2016 1 commit
  3. 21 Mar, 2016 1 commit
  4. 20 Mar, 2016 1 commit
  5. 19 Jun, 2015 1 commit
    • Leigh Stoller's avatar
      New support for importing image backed datasets from other clusters. This · 613d90dd
      Leigh Stoller authored
      is just like importing images (by using a url instead of a urn), which
      makes sense since image backed datasets are just images with a flag set.
      
      Key differences:
      
      1. You cannot snapshot a new version of the dataset on a cluster it has
         been imported to. The snapshot has to be done where the dataset was
         created initially. This is slightly inconvenient and will perhaps
         confuse users, but it is far less confusing that then datasets getting
         out of sync.
      
      2. No image versioning of datasets. We can add that later if we want to.
      613d90dd
  6. 05 Mar, 2015 1 commit
  7. 04 Feb, 2015 1 commit
  8. 05 Dec, 2014 1 commit
    • Leigh Stoller's avatar
      More image version fixes and changes. · 3802c0dc
      Leigh Stoller authored
      1. Fixes to allow specific versions of images to be exported; the existing
         path was reverting back to the highest numbered version. So far this has
         not come up, but will with APT and Cloud.
      
      2. Add version argument to image_metadata.php, mostly as a convenience. So
         rather then using the version specific uuid, you can use the image uuid,
         with a version argument. This is actually more sensible, except for one
         important fact; it is not possible to locate a deleted image this way,
         since the image descriptor is gone (only the version descriptors are in
         the DB).
      
         But I went ahead and did it cause there is still some question as to
         whether we care about being able to export a deleted image. We do not
         expose these URLs at this time, but you can use one.
      3802c0dc
  9. 12 Nov, 2014 1 commit
  10. 28 Oct, 2014 1 commit
  11. 08 Oct, 2014 1 commit
  12. 02 Oct, 2014 2 commits
  13. 30 Sep, 2014 1 commit
  14. 19 Aug, 2014 1 commit
  15. 14 Aug, 2014 1 commit
  16. 31 Jul, 2014 1 commit
  17. 29 Jul, 2014 1 commit
  18. 22 Jul, 2014 1 commit
  19. 16 Jul, 2014 1 commit
  20. 12 Jul, 2014 1 commit
  21. 11 Jul, 2014 1 commit
  22. 10 Jul, 2014 1 commit
  23. 09 Jul, 2014 1 commit
  24. 01 Jul, 2014 1 commit
  25. 16 Dec, 2013 1 commit
  26. 06 Nov, 2013 1 commit
  27. 11 Jul, 2013 1 commit
  28. 04 Jul, 2013 1 commit
  29. 31 May, 2013 1 commit
    • Leigh Stoller's avatar
      Do not default XEN guest images to "packages". Lets make the default · 3b352486
      Leigh Stoller authored
      a single slice image, since we can now pull the kernel (ramdisk) out
      from the guest filesystem (using pygrub for linux, or just mounting
      BSD filesystems). This is a lot faster and easier to deal with. I
      added an option to the newimage page so that people can set this, but
      in general we need a better way to guess that we need it. Always set
      for EC2 images.
      3b352486
  30. 14 May, 2013 1 commit
    • Leigh Stoller's avatar
      Add prototype EC2 image import plumbing. · 980aa180
      Leigh Stoller authored
      To create a new descriptor that will be an import from EC2 (and thus
      run under XEN), add ?ec2=1 to newimage_ez.php3. Eventually will link
      it in someplace. The form will create a XEN based VM, but instead of
      node to snapshot from, provide user@host for the EC2 instance.
      
      On the image snapshot page, instead of node use user@host for the EC2
      instance.
      
      The backend script (create_image) will call over to ops and invoke
      Srikanth's code. I have called that script ec2import-image.pl. See
      create_image for how arguments are passed to the script.
      980aa180
  31. 14 Jan, 2013 1 commit
    • Leigh Stoller's avatar
      Add creator_urn to images table so we can track actual creator · 23ad8819
      Leigh Stoller authored
      when created via the ProtoGeni interface; we run everything as
      GeniUser and so lose that info. We want to know this for history
      information and so we can manage permissions on image deletion
      effectively.
      
      Also add updater, updater_idx, and updater_urn to track last change
      to the image.
      
      CAVEAT: For system images, we do not actually overwrite the image, but
      store it out in /proj/$pid/images and then sometime later maybe we
      copy it back to boss. This wrecks the tracking info quite effectively
      since the image may never be copied back. Needs more thought.
      23ad8819
  32. 03 Oct, 2012 1 commit
  33. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      
      This commit is intended to clear up that confusion.
      
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      (AGPLv3).
      
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      license.
      
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
      (LGPL).
      6df609a9
  34. 30 Aug, 2012 1 commit
    • Leigh Stoller's avatar
      More bits and pieces for exporting images from one Emulab to another. · 4c444cd5
      Leigh Stoller authored
      image_metadata.php will return an Emulab style image descriptor in XML
      format. A remote emulab, given an image URL, will grab this XML
      description and use it to create a local descriptor. Inside the
      descriptor is an additional URL that is used to download ndz file.
      
      The dumpdescriptor script is now web accessible, and takes a new -e
      (export) option that adds the extra URL and other bits that are needed
      to import the descriptor and the image.
      
      On the Show Image page, show the metadata URL, which is suitable for
      using in an NS file or an rspec (when that code is committed).
      4c444cd5
  35. 15 May, 2012 1 commit
  36. 22 Dec, 2011 1 commit
  37. 13 Oct, 2011 1 commit
  38. 10 Oct, 2011 1 commit
    • Leigh Stoller's avatar
      Add support for sharing images between projects. New table called · 646b64f6
      Leigh Stoller authored
      image_permissions stores access info for images. You can share an
      image with a user or a group (project), and you can specify write
      access to allow updating the image in place. Note that write access
      does not allow the descriptor to be modified, only the image itself.
      Well, that is how it will be after Mike changes mfrisbeed.
      
      The front end script to modify permissions is grantimage:
      
      	boss> grantimage -u stoller -w tbres,myimage
      	boss> grantimage -u stoller -w tbres,myimage
      
      which grants write access to stoller. Or:
      
      	boss> grantimage -g testbed,testbed tbres,myimage
      
      which grants access to the testbed project. Notice that you can
      specify subgroups this way.
      
      	boss> grantimage -l tbres,myimage
      
      will give you a list of current permissions. To revoke, just add -r
      option:
      
      	boss> grantimage -g testbed,testbed -r tbres,myimage
      
      Who is allowed to grant access to an image? 1) An adminstrator of
      course, 2) the image creator, and 3) any group_root in the group that
      the image belongs to. Being granted access to use an image does not
      confer permission to grant access to others.
      
      One last task; while the web interface displays the permissions, there
      is no web interface to modify the permissions; users will still have
      to ask us for now.
      646b64f6
  39. 18 Jan, 2011 1 commit