1. 04 Apr, 2011 1 commit
    • David Johnson's avatar
      Add dynamic, per-experiment blobs. Add tables for client side service blobs. · 40039320
      David Johnson authored
      Per-experiment blobs can be created by the parser, and are inserted into
      the blobs table at swapin based on what's in virt_blobs.  We go to some
      effort to keep any existing filename<->uuid mapping in teh blobs table
      so that any caching already done by the server and client in a previous
      download of a blob remains intact.  We also remove blobs on experiment
      modify that are no longer necessary.  Finally, we remove dynamic blobs
      at swapout.
      40039320
  2. 01 Apr, 2011 2 commits
  3. 31 Mar, 2011 1 commit
  4. 28 Mar, 2011 1 commit
    • Leigh B Stoller's avatar
      Begin the transition away from the ancient Mysql.pm module to the more · 5030b44d
      Leigh B Stoller authored
      current and maintained DBI::mysql module. A couple of things make this
      a little more work then you might think.
      
      Mysql exports a slightly different API then DBI, both at the DB *and*
      the statement level. The former required some restructuring of
      emdbi.pm, partly cause we want external sites to continue using Mysql
      for a while longer. So, emdbi suppports both interfaces, via the
      configure variable TBUSEDBI.
      
      I also took the opportunity to also scrap the existing fork()
      detection code and redo it in an easier to understand manner.
      Actually, I had no idea what the previous code was trying to do, so it
      was easier to just get rid of it, rather then try to make it work for
      the DBI API.
      
      There are also API differences in the "statement" class, but
      fortunately this can be hidden by wrapping the statement class with a
      wrapper that adds the routines we need to avoid making silly changes
      to 1000s of queries. They are all trivial little things since mostly
      its a matter of naming (numrows --> rows).
      
      I also changed the library we use on ops (db/libtbdb.pm.in) to use
      DBI, but in this case I just switched it over. Seemed like overkill to
      worry about supporting both APIs on ops. If it works it works, and so
      far it does. 
      
      Lastly, the following modules still use Mysql directly. They all need
      to be changed, but none of these are on the critical path to swapin
      and swapout, so they can change later.
      
      db/dumperrorlog.proxy.in
      db/showgraph.in
      db/sitevarscheck.in
      bgmon/find-asymmetric
      db/pelab_opspush.proxy.in
      slothd/sdisrunning.in
      utils/export_tables.in
      utils/setbuildinfo.in
      pelab/bgmon/libpelabdb.pm
      pelab/dbmonitor/libtbdb.pm
      5030b44d
  5. 24 Mar, 2011 2 commits
  6. 21 Mar, 2011 2 commits
  7. 10 Mar, 2011 1 commit
    • Mike Hibler's avatar
      (Hopefully) temporary hack to detect null chars in node_ids in the nodes table. · 84ea58dc
      Mike Hibler authored
      This is completely reactive and based on no reasoning. A common case of the
      somebodys-been-messin-with-my-memory bug, is that we start seeing node_ids
      with null chars at the end. Here we will send a stack trace to testbed-ops
      if this happens (and we strip off the null). I am hoping to narrow down
      where this happens.
      84ea58dc
  8. 08 Mar, 2011 2 commits
  9. 07 Mar, 2011 1 commit
  10. 23 Feb, 2011 1 commit
  11. 22 Feb, 2011 1 commit
  12. 18 Feb, 2011 1 commit
  13. 17 Feb, 2011 2 commits
    • Robert Ricci's avatar
      Add 'notprereserved' flag to avail · a368fb2c
      Robert Ricci authored
      ... to make it easier to see which nodes are available for
      pre-reserving to a project.
      
      Incedentally, 'avail' has the worst argument processing ever.
      a368fb2c
    • Robert Ricci's avatar
      Tweaks to inuse · 3b926d6e
      Robert Ricci authored
      Always print out node types, and only print out the reservation
      time if the caller asks for it.
      3b926d6e
  14. 16 Feb, 2011 2 commits
  15. 14 Feb, 2011 1 commit
  16. 09 Feb, 2011 1 commit
  17. 08 Feb, 2011 2 commits
  18. 07 Feb, 2011 1 commit
  19. 04 Feb, 2011 1 commit
  20. 02 Feb, 2011 2 commits
  21. 01 Feb, 2011 1 commit
  22. 27 Jan, 2011 1 commit
  23. 18 Jan, 2011 2 commits
  24. 14 Jan, 2011 1 commit
  25. 13 Jan, 2011 1 commit
  26. 11 Jan, 2011 1 commit
  27. 06 Jan, 2011 2 commits
  28. 21 Dec, 2010 1 commit
  29. 10 Dec, 2010 2 commits