1. 06 Jul, 2006 2 commits
  2. 05 Jul, 2006 13 commits
    • Leigh B. Stoller's avatar
      Minor bug fix to Delete(). · 3c26fffb
      Leigh B. Stoller authored
      3c26fffb
    • Leigh B. Stoller's avatar
      We have been using the p5-Mysql port for our perl Mysql interface. · c593400d
      Leigh B. Stoller authored
      Apparently that port is long (long) dead, and somewhere along the line
      the stuff that sits below it changed, which caused our stuff to break.
      
      The modern and maintained version of the same API is now
      /usr/ports/databases/p5-DBD-mysql (/usr/ports/databases/p5-DBD-mysql50
      when using mysql 5.0).
      c593400d
    • Leigh B. Stoller's avatar
    • Kevin Atkinson's avatar
      · 43c0b17f
      Kevin Atkinson authored
      Fixed perl warning about Use of uninitialized value in numeric gt.
      43c0b17f
    • David Johnson's avatar
      dfe1fc75
    • Kirk Webb's avatar
      · 3130edf3
      Kirk Webb authored
      Load up the madwifi driver after the wired ones and after dhcp is finished
      to avoid the latter succeeding on the wifi interface (this behavior has been
      seen several times).
      3130edf3
    • Kirk Webb's avatar
      · c0472b3f
      Kirk Webb authored
      Fix a couple of typos.
      c0472b3f
    • Leigh B. Stoller's avatar
      Oops, need to exit non-zero status ... · e7d88f4d
      Leigh B. Stoller authored
      e7d88f4d
    • Leigh B. Stoller's avatar
      Turn this script off in an inner Emulab until I get some XMLRPC · 5cb7a48b
      Leigh B. Stoller authored
      support in place.
      5cb7a48b
    • Kevin Atkinson's avatar
      · 183040de
      Kevin Atkinson authored
      Many changes to tblog code.  Database update needed:
      
      1) Added summary of failed nodes is os_setup.  The cause of the error is now
      classified as "user" if it is only user images that failed and the user
      image failed on every pc of a particular type.  Otherwise I leave the cause
      as "unknown" since it is really hard to tell what the real cause is.
      
      2) Raised the confidence threshold for most errors so that they will appear
      on the top.
      
      3) Added a special error when an experiment is canceled.  The cause is
      "canceled" and testbed-ops won't see these errors.
      
      4) Fixed a bug in assign_wrapper where it will incorrectly report "This
      experiment cannot be instantiated on this testbed..." when really the user
      canceled the swapin.
      
      5) Fixed a bug where os_setup errors where being incorrectly reported as
      assign errors.  This happens when os_setup fails for some reason and
      tbswap tries again, but the second time around there are not enough nodes.
      So the last error is coming from assign even though the true cause of the
      error is due to failed nodes.  The fix for this involved added a new column
      to the log table, "attempt", which will be 1 for the first attempt and then
      incremented for each new attempt.  tblog_find_error will then simply ignore
      any errors with "attempt > 1".
      
      6) Also fixed a potential problem when there is an error during the cleanup
      phase by adding another column "cleanup".  tblog_find_error will
      also ignore any errors with the cleanup bit set.
      183040de
    • Leigh B. Stoller's avatar
      Add TBCOOKIESUFFIX so that rc.mkelab sets to the eid. This will avoid · e5101688
      Leigh B. Stoller authored
      browser confusion that results when the same cookie name is used on
      multiple elabinelab experiments.
      e5101688
    • Leigh B. Stoller's avatar
      488bf732
    • Leigh B. Stoller's avatar
      Deal with an odd interaction bewteen mysql 5.0 and FreeBSD 6.1 ... · ce260a1d
      Leigh B. Stoller authored
      mysqld does not properly detach, and the funky shell script startup
      that is uses causes mysqld to not detach properly, and when the parent
      exits, the process group gets a SIGHUP. Well, in mysql 5.0 a HUP
      causes the mysqld to reload its grant tables, even though it was
      started with --skip-grant-tables, which causes everything on boss to
      completely break.
      
      So, on FreeBSD6, start mysqld with "daemon" utility program, which
      does the proper detach.
      ce260a1d
  3. 04 Jul, 2006 1 commit
  4. 03 Jul, 2006 5 commits
  5. 01 Jul, 2006 1 commit
  6. 30 Jun, 2006 4 commits
  7. 29 Jun, 2006 7 commits
  8. 28 Jun, 2006 7 commits
    • Leigh B. Stoller's avatar
      Finish up "support" for ssh-mime (ssh to node) on Mac OSX. · 5f5a1ca8
      Leigh B. Stoller authored
      Rather then use Tim's code (which requires that I learn about creating
      packages on the Mac), I hacked up a little AppleScript widget. Sorta
      goes like this:
      
      * Copy ssh-mime.pl to your ~/bin directory on your Mac.
      
      * mkdir ~/Library/Scripts/Folder\ Action\ Scripts
      
      * Copy ssh-mime.scpt to the above directory.
      
      * Start up Firefox and go into the Preferences->Downloads menu to figure
        out where files are being saved (typically ~/Desktop).
      
      * Go into the Finder and find that folder. Right Click on that folder.
        (If you do not have a 3 button external mouse for your Mac like I do,
        then you select the folder, and do Control-Click).
      
      * You will see an option to "Attach Folder Action" in the menu. Select
        that option.
      
      * A finder file chooser pops up. Go to your
      
              ~/Library/Scripts/Folder\ Action\ Scripts
      
        and choose the ssh-mime.scpt entry.
      
      Okay, so how does this work? The AppleScript ssh-mime.scpt file is now going
      to be run whenever a file is downloaded (copied) into your firefox downloads
      directory. The script will look at the name of the file and if it ends
      in .tbssh, it will invoke ssh-mime.pl on it. Yep, its a hack, but its a lot
      easier then learning the Xcode development environment!
      5f5a1ca8
    • Kirk Webb's avatar
      · a7c7c58e
      Kirk Webb authored
      Support for setting up GNU Radio on the node-side of things.
      
      This operates pretty much the same way that wifi setup does, except that
      the interface does not exist when rc.ifconfig runs.  Instead, it is
      created as part of the generated rc.ifc script.  This required a couple of
      little (non-invasive) hacks to libsetup.pm and rc.ifconfig.
      
      Note that we are not passing gain and carrier sense threshold
      parameters through to the radio interface setup, but they are easy to add.
      a7c7c58e
    • Leigh B. Stoller's avatar
      A couple of changes requested by Jay (Flyspray Task ID #80); show the · 09edbfc4
      Leigh B. Stoller authored
      number of pcs in use by the project at the top of the project page.
      
      I also changed to the project listing page to show both all nodes and
      PCs in use, sortable on either.
      09edbfc4
    • Mike Hibler's avatar
      Just print a summary message about nodes not supporting Linktest rather · 267ec2cd
      Mike Hibler authored
      than a message per node.  This is less annoying if say your experiment
      consists of 600 planetlab nodes.
      267ec2cd
    • Mike Hibler's avatar
      Mike does javascript! · 22ce420b
      Mike Hibler authored
      ts_sort_prefixed_numeric had an unusal meaning in that it sorted by any
      trailing digits in a word, thus for example, sorting by the name column
      in the reserved node list would get you stuff like:
      	pc2 pc3 ixp4 pc5 pcwf6 pc8 plab9 pc10 ...
      This didn't seem terribly intuitive.  Perhaps there was a specific context
      where this makes sense, but I haven't found it!  So now it sorts first by
      leading non-numeric value and then by numeric suffix.
      22ce420b
    • Leigh B. Stoller's avatar
      Arrange to order sets to the OPT array so that they are evaluated at · 9ef82e31
      Leigh B. Stoller authored
      the node in the order they were specified in the NS file.  Lots of
      hackery.
      9ef82e31
    • Mike Hibler's avatar
      Handle undefined pid in template stuff · 1644454f
      Mike Hibler authored
      1644454f