1. 15 May, 2015 1 commit
    • Leigh B Stoller's avatar
      Directory based image paths. · 3a21f39e
      Leigh B Stoller authored
      Soon, we will have images with both full images and deltas, for the same
      image version. To make this possible, the image path will now be a
      directory instead of a file, and all of the versions (ndz,sig,sha1,delta)
      files will reside in the directory.
      A new config variable IMAGEDIRECTORIES turns this on, there is also a check
      for the ImageDiretories feature. This is applied only when a brand new
      image is created; a clone version of the image inherits the path it started
      with. Yes, you can have a mix of directory based and file based image
      When it is time to convert all images over, there is a script called
      imagetodir that will go through all image descriptors, create the
      directory, move/rename all the files, and update the descriptors.
      Ultimately, we will not support file based image paths.
      I also added versioning to the image metadata descriptors so that going
      forward, old clients can handle a descriptor from a new server.
  2. 08 Oct, 2014 1 commit
    • Leigh B Stoller's avatar
      Finally, deal with image provenance and image deletion; need to deal with · 1bd81403
      Leigh B Stoller authored
      all versions of an image when doing a delete, and since we never actually
      delete, we have to move the ndz/sig files out of the way (unless we have
      used the purge option, which is ignored for emulab-ops images anyway). To
      facilitate moving the images out of the way, mkdir a new home for all of
      the files, with the name $imagename:$imageid. We change the path in the DB
      as we move off each version of the image.
  3. 27 Aug, 2014 1 commit
  4. 14 Jul, 2014 1 commit
  5. 01 Jul, 2014 1 commit
  6. 07 May, 2014 1 commit
  7. 14 Nov, 2012 1 commit