1. 23 Sep, 2003 3 commits
    • Kirk Webb's avatar
      Reverting vnode_setup to revision 1.28. All the forking going on here is · 2c96581a
      Kirk Webb authored
      causing problems.  Will investigate tomorrow.
    • Kirk Webb's avatar
      Quick change to not terminate vnode_setup when pladnode() function · 34216cbe
      Kirk Webb authored
      finds that the pid returned from wait() doesn't match the one returned
      from fork() earlier - this shouldn't happen, but it is.  I am checking for
      errors - parhaps I'm missing something though.  This affects plabnode free
      in vnode_setup since it vnode_setup doesn't fork when it runs this.
    • Kirk Webb's avatar
      · c0d7f4ea
      Kirk Webb authored
      Updated vnode_setup to fork+exec plabnode (alloc|free) rather than invoking
      it with system().  Now when the parent receives a SIGTERM from its parent
      (the top-level vnode_setup), it will kill off it's plabnode child process before
      exiting itself.  invocation of plabnode is now done via the plabnode()
      function.  Needs some commenting.
      Tested thoroughly.
  2. 22 Sep, 2003 1 commit
    • Leigh B. Stoller's avatar
      Minor allocstate changes to try and cope with plab nodes that either · 6d4187a5
      Leigh B. Stoller authored
      fail in "plabnode alloc" or in the remote vnodesetup call. In the
      former case, we do not want to "plabnode free" it later. In the later,
      we want to plabnode free it right away, and make sure we do not try to
      remote vnode teardown or plabfree it later. In either case, os_setup
      needs to check so that it does not bother waiting for the node since
      it is wasted time. I use an alternate dead state for this, but the
      real solution is to move much of the vnode specific code from os_setup
      to vnode_setup.
      Note that this stuff is mostly untested since I need nodes to fail!
      The normal path works fine though.
  3. 18 Sep, 2003 1 commit
  4. 17 Sep, 2003 2 commits
  5. 16 Sep, 2003 1 commit
  6. 15 Sep, 2003 1 commit
  7. 12 Sep, 2003 1 commit
  8. 27 Aug, 2003 1 commit
  9. 25 Aug, 2003 1 commit
  10. 22 Aug, 2003 1 commit
  11. 25 Jul, 2003 1 commit
  12. 22 Jul, 2003 1 commit
  13. 18 Jul, 2003 2 commits
  14. 17 Jul, 2003 2 commits
  15. 15 Jul, 2003 1 commit
    • Leigh B. Stoller's avatar
      A set of changes to make swapmod work on jailed nodes (note, swapmod · 92ff875a
      Leigh B. Stoller authored
      does not yet work with remove virtual nodes; that will take even more
      Added a new allocstate called RES_TEARDOWN. assign_wrapper no longer
      deallocates unused nodes, but rather moves them into the new state for
      the wrapper (tbswap) to deal with. Thats cause deleted vnodes need to
      be torn down, since its possible that the node on which they were
      living will not be deallocated (say, if there are other vnodes on
      it). We do not want to be doing that from assign_wrapper, so tbswap
      looks for those nodes.
      Made vnode_setup allocstate aware in the same way that os_setup is;
      do not reboot vnodes or try to set up vnodes when they are already in
      the RES_READY state, as they will be when doing a swapmod. In
      addition, if os_setup is going to reboot the underlying physnode, move
      the vnodes on that node into RES_READY too, since there they will
      setup automatically. Might need an interim state here, for correctness.
  16. 16 Apr, 2003 1 commit
  17. 13 Jan, 2003 1 commit
  18. 07 Jan, 2003 1 commit
  19. 31 Dec, 2002 1 commit
    • Leigh B. Stoller's avatar
      Clean up permission check. · c832fa47
      Leigh B. Stoller authored
      Remove the sanity check of the experiment state.
      Add check for a local node and do not setup/teardown since the reboot
      will take care of that (jailed nodes setup at boot time, and obviously
      they are going to get torn down when the node goes down!).
  20. 18 Dec, 2002 1 commit
  21. 10 Sep, 2002 1 commit
  22. 07 Jul, 2002 1 commit
  23. 05 Jun, 2002 1 commit
    • Leigh B. Stoller's avatar
      Changes to sshtb. Remove sshremote, and convert sshtb into a perl · 231fc2b1
      Leigh B. Stoller authored
      script that checks the database to see if local or remote. The problem
      with this is that the ssh syntax makes it hard to determine the host
      name by inspection. Would need to parse all the ssh args (bad idea),
      ot work backwards and try to figure out the difference between the
      command (which is not a string but a sequence of args) and the host
      and the preceeding ssh args. Hell with that! Changed sshtb to require
      a specific -host argument. Read the args and look for it. Error out of
      not found, to catch improper usage.
      The moral of this update: "sshtb [ssh args] -host <host> [more args ...]
  24. 29 May, 2002 1 commit
  25. 24 May, 2002 1 commit
  26. 08 May, 2002 1 commit