1. 21 May, 2015 2 commits
    • Mike Hibler's avatar
      subboss targets · 64c34d7a
      Mike Hibler authored
    • Mike Hibler's avatar
      Realpath strikes again. · e822de15
      Mike Hibler authored
      Perl realpath returns undef or '' (take your pick) if the path does not
      exist, rendering it pretty much useless for our check. So we run realpath
      on the directory part of the path (which should exist) and then do some
      other paranoid checks on the filename part (no funky chars, cannot be a
  2. 20 May, 2015 2 commits
  3. 19 May, 2015 1 commit
  4. 18 May, 2015 7 commits
  5. 15 May, 2015 9 commits
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
      Add 40Gb. · f39f3177
      Leigh Stoller authored
    • Leigh Stoller's avatar
      Checkpoint. · 3e18f84d
      Leigh Stoller authored
    • Leigh Stoller's avatar
      Minor bug fix. · e3885710
      Leigh Stoller authored
    • Kirk Webb's avatar
      Add custom module offset hack for snmpit_h3c (Comware) module · 0e672400
      Kirk Webb authored
      The hard-coded per-model offsets aren't always correct.  Need to deal
      with this in a different way, but this is a quick hack to move things along
      with the Utah stitcher aggregate.
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
      Minor bug fix. · f1d1fc0b
      Leigh Stoller authored
    • Leigh Stoller's avatar
      Fix syntax error. · f2f298fb
      Leigh Stoller authored
    • Leigh Stoller's avatar
      Directory based image paths. · 3a21f39e
      Leigh 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.
  6. 14 May, 2015 4 commits
    • David Johnson's avatar
      Ubuntu 15 support. · 2baf7655
      David Johnson authored
      Similar to Ubuntu 14, but new and different UIDs, and...
      systemd!  systemd has made it into Ubuntu.  This affects our control net
      discovery.  Our /etc/network/interfaces hack marks eth[0-9] as "auto".
      New Ubuntu versions have systemd (or upstart, if your Ubuntu 15 uses
      that -- our images will not) job that waits for any interfaces marked
      auto to come up, and doesn't timeout for 2 mins.  This doesn't work for
      us, because our use of auto is abuse :).
      So, we enter a new level of abuse.  We change the systemd unit
      dependencies, making the network-online.target service want (depend on)
      our special ifup-wait-emulab-cnet.service (which looks for /run/cnet to
      get written), instead of on ifup-wait-all-auto.service.  This means
      network-online.target happens as soon as the control net is up, which is
      the primary thing we're concerned about.
      Now, if experimenters would ever add their own special "auto" interfaces
      to /etc/network/interfaces, the rest of the startup scripts that depend
      on network-online.target could possibly race (although you would think
      that our control net discovery will be slower than any static
      But for now, this solution appealed more that "faking" that eth[0-9] are
      all up by writing the right files --- or by finding a better mechanism
      instead of abusing "auto".
    • Jonathon Duerig's avatar
    • Mike Hibler's avatar
      Forgot the "tail" of sysctl.conf. · 8774c96c
      Mike Hibler authored
    • Mike Hibler's avatar
      New style handling of rp_filter disabling. · b3260667
      Mike Hibler authored
      The previous commit to disable it per-interface doesn't work when forwarding
      packets. Apparently the kernel looks at the "all" value when doing this.
      Now we just append the settings to /etc/sysctl.conf which is present in
      Ubuntu and CentOS.
  7. 13 May, 2015 14 commits
  8. 12 May, 2015 1 commit