1. 19 Dec, 2005 7 commits
    • Kevin Atkinson's avatar
      · 45f997fd
      Kevin Atkinson authored
      Updates to to Error Logging API Code.
      
      You should start seeing much better error messages coming from my
      system.  Errors coming from parse.proxy and assign (the two most
      frequent sources of errors) should now be concise and to the point.
      Errors coming from libosload/libreboot (the next most frequent source
      of errors) should now also be much better, but not perfect.  Getting
      perfect errors will likely a rework of how errors are handled in
      libosload/libreboot, just adding tberror/tbwarn/tbnotice calls is not
      enough.  I can do this at a latter date if necessary.
      
      A few minor database changes.
      
      Some changes to the API.  A few bug fixes. Lots of tberror/tbwarn/tbnotice
      added to scripts.
      
      Since assign is a C program, and at this time my API is perl only, I wrote a
      second wrapper around assign, assign_wrapper2.  When assign fails errors are
      now parsed in assign_wrapper2, sent to stderr and logged.  This means that
      RunAssign() just returns when assign fails rather than echoing some of
      assign.log output and then quiting.  The output to the activity log remains
      unchanged.
      
      Since "parse.proxy" is run from ops I couldn't use my API in it, even though
      it is a perl program.  Instead I parse the errors coming form it in
      parse-ns.
      45f997fd
    • Leigh B. Stoller's avatar
      Add some simple support for capturing external files that are included · 95ec7066
      Leigh B. Stoller authored
      into the main NS files via the "source" command, and stuffing them
      into the experiment archive.
      95ec7066
    • Leigh B. Stoller's avatar
      Add support for moving deleted users to a deleted users table. This · b4231fbf
      Leigh B. Stoller authored
      would be no big deal, except that we want to retain user_stats for
      deleted users, and rather then a deleted_user_stats table, I want to
      retain stats for deleted users in the user_stats table, since that
      is a more natural place for them.
      
      The main problem is that we use the login (uid) as the cross table
      reference slot all over the DB, which is fundamentally incorrect, if
      we want to be able reuse uids and still know what historical data
      refers to.
      
      So, I have taken a few baby steps towards weaning us off the uid, and
      towards permanently unique key for users, using the unix_uid integer
      for now, but probably something slightly different later.
      
      The user_stats is now indexed on this new key (called uid_idx in the
      users_stats table) instead of the plain uid.
      
      The unix_uid slot in the users table is no longer an auto_increment
      field, but instead uses the emulab_indicies table for the next
      available index.
      b4231fbf
    • Mike Hibler's avatar
      Subject all "testbed" experiments to swapout state saving · d29f8858
      Mike Hibler authored
      (actually just stats gathering right now, no images are produced)
      d29f8858
    • Timothy Stack's avatar
      909ee037
    • Mike Hibler's avatar
      64526bc6
    • Mike Hibler's avatar
      070cd1f0
  2. 18 Dec, 2005 1 commit
    • Leigh B. Stoller's avatar
      Move the bulk of what was in showlogfile, into showlogfile_sup, so · 41f4d6a5
      Leigh B. Stoller authored
      that it can be "included" into other scripts; showlogfile, beginexp,
      swapexp, modifyexp, endexp.
      
      Each of these scripts now appends the showlog directly to the page,
      instead of providing a link to a different page.
      
      Also changed the showlog code to place the output into an inner iframe
      so that it can be sized to fit in the window, without the outer stuff
      (like the menus) getting scrolled away.
      41f4d6a5
  3. 16 Dec, 2005 17 commits
  4. 15 Dec, 2005 9 commits
    • Kirk Webb's avatar
      · 24d186a4
      Kirk Webb authored
      Create a hosts file containing entries for boss and ops
      for plab slivers and put it into the rootball.  This
      will (hopefully) avoid flakiness due to flaky DNS servers.
      24d186a4
    • Timothy Stack's avatar
      Wire the archiving stuff to the nfstracing stuff. I'm not sure if the · 5b28189b
      Timothy Stack authored
      files are being added to the archive at the correct places, but it
      seems to work.
      5b28189b
    • Timothy Stack's avatar
      Next phase of nfstrace support, transfer the set of files accessed by · 94dfc872
      Timothy Stack authored
      the experiment from ops' db to boss'.  File names are stored in the
      accessed_files table and are associated with the experiment via the
      fs_resources table.
      94dfc872
    • Leigh B. Stoller's avatar
      Add some simple support for capturing external files that included · d2c02774
      Leigh B. Stoller authored
      into the main NS files via the "source" command.
      d2c02774
    • Kirk Webb's avatar
      · d5c04fa1
      Kirk Webb authored
      Bump the plab rootball version up.
      d5c04fa1
    • Kirk Webb's avatar
      · 41c54939
      Kirk Webb authored
      The revived Plab interface is here!
      
      Lots of updates to the plab backend, including improved plab <-> elab node
      id translation and update handling.  Includes support for the current PLC
      API, and the new pl_conf node manager interface API.  Several more db library
      routines were ported from the perl library to the python one to support the
      new code (mostly the node_id tracking stuff).  Fixes to the client side and
      also a rootball creation cleanup (binaries removed from the CVS repo).
      
      There are also enhancements to the experiment view page for experiments
      including plab nodes: site and widearea hostname are now displayed along
      with the other node information.
      
      Note that the way setup timeout for vnodes is calculated has been changed a
      bit.  Instead of using a hardwired base timeout, the base timeout is now
      based on the reload_waittime database field, which comes from the 'OS'
      (e.g., FBSD-JAIL, RHL-PLAB) the vnode runs.
      
      The default max duration for a plab slice created through the plab_ez interface
      is set to 1 year, and linktest is currently disabled and hidden through
      the ez interface.
      
      There is still work to do, but this checkin brings with it a functional
      plab portal!
      41c54939
    • Leigh B. Stoller's avatar
      2d003fcc
    • Leigh B. Stoller's avatar
      Commit the current archive support. Currently exposed to only · 6a0a1eb7
      Leigh B. Stoller authored
      studly users in the testbed project on the mainsite.
      6a0a1eb7
    • Timothy Stack's avatar
      Add some tables for recording the set of files accessed by an · 17ef9b1b
      Timothy Stack authored
      experiment, still likely to change.
      17ef9b1b
  5. 14 Dec, 2005 5 commits
  6. 13 Dec, 2005 1 commit