1. 06 Jan, 2016 1 commit
    • Leigh B Stoller's avatar
      Export linktest via the CM API. · 58640e2c
      Leigh B Stoller authored
      * Three actions are exported; start, stop, and status. The last is cause we
        have to poll to determine when linktest has actually finished or stopped.
        I hate all this polling.
      
      * For start, linktest can be performed synchronously, which is fine on a
        small experiment, but in general you want to use the async option and
        check back later. When using async, we return the spewlog URL to the
        caller so that linktest can be monitored.
      
      * A couple of minor changes to linktest itself for using a spew log.
      
      * Some simple test rspecs and a linktest.py driver.
      58640e2c
  2. 04 Jan, 2016 2 commits
  3. 29 Dec, 2015 1 commit
  4. 23 Dec, 2015 1 commit
  5. 21 Dec, 2015 1 commit
  6. 16 Dec, 2015 1 commit
  7. 14 Dec, 2015 2 commits
    • David Johnson's avatar
      937ab940
    • David Johnson's avatar
      Systemd units for testbed and tbprepare; consistent systemd install. · fcd7f0d6
      David Johnson authored
      Currently ubuntu15 and centos7 are our only systemd-based OSes; they
      both call into the clientside/tmcc/linux generic Makefile with the
      right magic bits to get the systemd sysetc-install/remove targets.
      For now, systemd is effectively the same on centos7 or ubuntu15, so
      we use the same scripts and install strategy from tmcc/linux for
      both (except for ntpd on centos7, which stays as it was).
      
      I used the same testbed/tbprepare sysv init scripts in tmcc/linux,
      but I installed them in BINDIR/initscripts in a lame attempt to
      avoid confusion ;).  I modified the testbed script slightly so
      it looks for a magic file in /etc/emulab/(uses-systemd) to know
      that systemd will start the testbed service, and that it should
      not get started from rc.local .  So those lines are now back in
      the generic linux testbed script -- just unused if the init is
      not systemd (in which case rc.local starts it).
      
      These units do print out to both the systemd journal and to the
      console.
      fcd7f0d6
  8. 01 Dec, 2015 2 commits
    • David Johnson's avatar
      Make systemd swap hack run on Ubuntu 15. · 6053a89b
      David Johnson authored
      So, the scripts are now in clientside/tmcc/linux since they're the same
      for any systemd-based Linux, and the centos7 and ubuntu15 makefiles
      install those files.
      
      Also had to improve fixup-fstab-swaps to handle the case where the / is
      something like /dev/disk/by-uuid/<UUID> which is a symlink to the real
      dev.  So try readlink -f to handle that.
      6053a89b
    • Leigh B Stoller's avatar
      Add an "interruptible" option to TBScriptLock(). When set, each time · 08ce72b6
      Leigh B Stoller authored
      through the loop we look to see if signals are pending, and if so we return
      early with an error. The caller (libvnode_xen) can use this to avoid really
      long waits, when the server has said to stop what its doing. For example, a
      vnode setup is waiting for an image lock, but the server comes along ands
      to stop setting up. Previously, we would wait for the lock, now we return
      early. This is to help with cancelation where it is nice if the server can
      stop a CreateSliver() in its tracks, when it is safe to do so.
      08ce72b6
  9. 30 Nov, 2015 4 commits
  10. 24 Nov, 2015 4 commits
  11. 20 Nov, 2015 4 commits
  12. 16 Nov, 2015 2 commits
  13. 13 Nov, 2015 1 commit
  14. 08 Nov, 2015 1 commit
  15. 06 Nov, 2015 1 commit
  16. 02 Nov, 2015 1 commit
  17. 27 Oct, 2015 4 commits
  18. 21 Oct, 2015 2 commits
  19. 14 Oct, 2015 2 commits
  20. 07 Oct, 2015 3 commits