1. 22 Apr, 2014 1 commit
  2. 15 Apr, 2014 1 commit
    • Leigh B Stoller's avatar
      Latest attempt to improve vnode booting. See below. · 850b5ab7
      Leigh B Stoller authored
      1. Change hackwaitandexit on the client, to return zero if the guest
         has not finished setting up. We used to treat 30 seconds as too
         long must have failed, but this is really not the case, especially
         on busy machines.
      
      2. Fix up vnode_setup exit code handling, we were losing non-zero
         status cause of not shifting it down, and so failures were never
         being reported.
      
         New: If the vnode setup does return failure, set its event state to
         TBFAILED to cut short the wait in os_setup and the IG monitor
         process. On the surface this seems like an obviously good idea, but
         I'm sure it will come and bite me when I least expect it.
      
      3. Change GeniAggregate Start/Restart to ignore vnode_setup failures,
         and let the monitor watch for TBFAILED or timeout. There are just
         too many ways for it to fail, and we want to allow vnodes that did
         not fail to set up normally, and give the user the choice to
         restart the ones that failed.
      
      4. Don't let frisbee run forever, protect with timeout. I need to use
         Mike's new -T option, but not till I actually get new frisbee
         pushed out.
      850b5ab7
  3. 26 Mar, 2014 1 commit
  4. 08 Jan, 2014 1 commit
  5. 18 Nov, 2013 1 commit
  6. 24 Jul, 2013 1 commit
  7. 28 Jun, 2013 2 commits
  8. 19 Jun, 2013 1 commit
  9. 22 May, 2013 1 commit
  10. 14 May, 2013 1 commit
  11. 30 Apr, 2013 1 commit
  12. 30 Jan, 2013 1 commit
    • Kirk Webb's avatar
      Refactor generic vnode setup code a bit for OS independence · f7c51ea6
      Kirk Webb authored
      In order to hook in via the "generic vnode" path for setting up
      blockstores under FreeNAS, I've done a bit of shuffling in order to
      make things more OS-independent and reusable.
      
      * mkvnode.pl
      
      Moved to clientside/tmcc/common.  OS-dependent bits (really only some
      IPtables stuff) abstracted, and moved to tmcc/linux/libvnode.pm.
      
      * libvnode.pm
      
      Moved generic vnode stuff to a new module.  Moved miscellaneous
      utility functions to a new module.  Left OS-specific stuff.  Not
      really sure if what is left should be merged into libsetup/liblocsetup
      or left here - deferring this decision for now.
      
      * libgenvnode.pm
      
      New module currently containing generic vnode stuff.  Currently, the
      VNODE_* predicates are here.
      
      * libutil.pm
      
      New module containing miscellaneous utility functions (fatal,
      mysystem, mysystem2, setState, etc.)
      
      Files referencing libvnode.pm have been updated, as have the relevant
      Makefiles.
      f7c51ea6
  13. 03 Oct, 2012 1 commit
  14. 25 Sep, 2012 1 commit
  15. 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* state...
      6df609a9
  16. 29 Aug, 2012 1 commit
  17. 02 Jul, 2012 1 commit
  18. 04 Jan, 2012 1 commit
  19. 29 Nov, 2011 1 commit
  20. 21 Jul, 2011 1 commit
  21. 16 Feb, 2011 1 commit
  22. 03 Sep, 2010 1 commit
  23. 18 Jun, 2010 1 commit
  24. 07 Dec, 2009 1 commit
  25. 13 Nov, 2009 1 commit
  26. 16 Oct, 2009 1 commit
  27. 12 Oct, 2009 1 commit
    • David Johnson's avatar
      Add the ability to load images on virtnodes. For now, we just overload · c6c57bc9
      David Johnson authored
      the tb-set-node-os command with a second optional argument; if that is
      present, the first arg is the child OS and the second is the parent OS.
      We add some new features in ptopgen (OS-parentOSname-childOSname) based
      off a new table that maps which child OSes can run on which parents, and
      the right desires get added to match.  We setup the reloads in os_setup
      along with the parents.  Also needed a new opmode, RELOAD-PCVM, to handle
      all this.
      
      For now, users only have to specify that their images can run on pcvms, a
      special hack for which type the images can run on.  This makes sense in
      general since there is no point conditionalizing childOS loading on
      hardware type at the moment, but rather on parentOS.  Hopefully this stuff
      wiill mostly work on shared nodes too, although we'll have to be more
      aggressive on the client side garbage collecting old frisbee'd images for
      long-lived shared hosts.
      
      I only made these changes in libvtop, so assign_wrapper folks are left in
      the dark.
      
      Currently, the client side supports frisbee.  Only in openvz for now, and
      this probably breaks libvnode_xen.pm.  Also in here are some openvz
      improvements, like ability to sniff out which network is the public
      control net, and which is the fake virtual control net.
      c6c57bc9
  28. 03 Aug, 2009 1 commit
  29. 11 Jun, 2009 1 commit
  30. 06 Feb, 2009 1 commit
    • David Johnson's avatar
      openvz support. Main thing to note is that I ditched the · 169bd788
      David Johnson authored
      bootvnodes/vnodesetup/mkX.pl train in favor of my own strawman design for
      a more generic form of virt node support.  The strawman is incomplete and
      probably wrong in places, but I had to abandon the quest for anything
      better for now.  For now, uses same server side stuff as jails.
      169bd788