1. 29 Jan, 2013 2 commits
  2. 22 Jan, 2013 1 commit
  3. 18 Jan, 2013 2 commits
    • Leigh B Stoller's avatar
      More Logfile changes. For protogeni we want store for a short time, · c07def92
      Leigh B Stoller authored
      the metadata even if there is nothing in the logfile. Mostly so that
      the URL link works and we can get the header info if needed.
      Also add slice_urn and slice_idx to the metadata so we find all the
      logs associated with a slice.
    • Kirk Webb's avatar
      Tweak to make "libossetup_blockstore" stub class work. · c351215e
      Kirk Webb authored
      This stub was previously using libossetup_subnode as its base class,
      but the constructor was calling the base class constructor with a
      "type" parameter, where the base class did not have a corresponding
      argument.  This commit changes the stub class for blockstores to
      refer directly to libossetup_handler instead.  We can sort out
      whether going through some sort of "libossetup_subnode" base class
      makes sense a bit later.
      (cherry picked from commit 89fb668999deb76913957a8abd8950f8b60eccaf)
  4. 17 Jan, 2013 3 commits
    • Leigh B Stoller's avatar
      Various changes and fixes to libaudit. · 8ac3f988
      Leigh B Stoller authored
      Add TBLOGS option to send LOGONLY logs to testbed-logs instead of
      default tbops (except when an error).
      Do not delete logfiles when NODELETE is given; we were not being
      careful about that.
      Changes and fixes to AuditFork to support new usage from ProtoGeni
      XMLRPC (the only place we use it).
    • Leigh B Stoller's avatar
      Add long term storage of log files in /usr/testbed/logs/logfiles. · b0cfd986
      Leigh B Stoller authored
      New Store() method will gzip and move the file from current location
      to long term storage, and update the DB row to reflect the change.
      Change spewlogfile to handle these compressed files. Also added a
      "public" flag that says a log file can be requested by an anonymous
      user that knows the logid (md5 of bits). Change spewlogfile to allow
      anonymous requests.
      Add logfile_metadata to hold key,value pairs associated with a
      logfile, eventually for search but initially to include when returning
      the contents of a logfile via spewlogfile.
    • Leigh B Stoller's avatar
  5. 14 Jan, 2013 1 commit
  6. 11 Jan, 2013 1 commit
  7. 10 Jan, 2013 2 commits
  8. 07 Jan, 2013 1 commit
  9. 03 Jan, 2013 2 commits
  10. 02 Jan, 2013 4 commits
  11. 26 Dec, 2012 1 commit
  12. 21 Dec, 2012 1 commit
  13. 20 Dec, 2012 1 commit
  14. 18 Dec, 2012 1 commit
  15. 14 Dec, 2012 1 commit
  16. 07 Dec, 2012 2 commits
  17. 29 Nov, 2012 3 commits
  18. 28 Nov, 2012 2 commits
  19. 27 Nov, 2012 2 commits
    • Leigh B Stoller's avatar
      Start saving the virtual and physical state after each swapin/swapmod · 229d2bcc
      Leigh B Stoller authored
      so that we can do post-mortem debugging. I'm adding this so I can
      track down the current snmpit failures, but might useful later too.
      Sadly, mysql dump files have no table metadata so once the schema
      changes, these files will become less useful if we ever want to load
      them into a running DB. It would be nie to dump them in a format that
      allows this, but will be a bunch more work.
    • Kirk Webb's avatar
      Pacify the verification parser for blockstores. · 07f6693e
      Kirk Webb authored
      This is a hack.  The "blockstore" procedure is just returning a node
      object, which causes skew in the resulting topology vs. what is generated
      by the implicitly created node objects in the real testbed parser.  Harmless,
      but not a good validity test.  Need to revisit.
  20. 26 Nov, 2012 2 commits
  21. 21 Nov, 2012 1 commit
  22. 19 Nov, 2012 2 commits
  23. 17 Nov, 2012 2 commits
    • Mike Hibler's avatar
      More PRObE inspired improvements to the swapin path. · 5a2810f2
      Mike Hibler authored
      Replace an exec of the perl os_select script with a call to the OSSelect()
      node method. This cut in half the time spent in the DB setup for each node.
      Note that this change had already been made to libosload_new.
      Reworked the code that setup the partitions table entries. We were potentially
      updating each DB row for each image loaded. Now we just work out all the changes
      in a perl data struct and make one set of DB changes at the end. The code is
      more comprehensible now as well (I hope!)
      Finally, disable the "swapinfo" stuff which was the first step in doing stateful
      swapout of disk state. That code never got finished.
    • Mike Hibler's avatar