1. 28 Sep, 2010 1 commit
  2. 23 Sep, 2010 1 commit
  3. 22 Sep, 2010 1 commit
  4. 08 Sep, 2010 1 commit
  5. 03 Sep, 2010 1 commit
    • Ryan Jackson's avatar
      XML-RPC: Run frisbeelauncher as root for subboss · 59857b38
      Ryan Jackson authored
      Subbosses authenticate to the XML-RPC server as elabman, which means the
      resulting server process runs as the elabman user.  Unfortunately, this
      doesn't work well when the subboss wants to launch a frisbeed for an
      image for which elabman doesn't have read permission (like images under
      /proj).
      
      To fix this, a setuid wrapper script is run instead of trying to run
      frisbeelauncher directly.  This script makes sure the calling user is
      elabman, and then becomes root and execs frisbee_launcher.
      59857b38
  6. 17 Aug, 2010 1 commit
    • Ryan Jackson's avatar
      Run frisbeelauncher as admin for subbosses · c27127bb
      Ryan Jackson authored
      Subbosses make XMLRPC requests as the user 'elabman' which doesn't
      belong to any projects, and therefore has no rights to non-global
      images.  The easiset way to solve this is to run frisbeelauncher with
      admin privileges when a subboss requests it.
      
      We already check to make sure the requesting user has permission to use
      the image in libosload well before we hand the request to the subboss,
      so if the subboss requests the image we can trust it.
      c27127bb
  7. 02 Jul, 2010 1 commit
  8. 29 Jun, 2010 1 commit
  9. 23 Jun, 2010 2 commits
  10. 18 Jun, 2010 1 commit
  11. 28 May, 2010 1 commit
    • Leigh Stoller's avatar
      Fixes to elabinelab vlan creation. I am not actually sure why things · ed69a9bf
      Leigh Stoller authored
      broke, but I decided that relying on stdout vs stderr in the xmlrpc
      server, to return results is a bad plan. Instead, the rpc server
      passes a new option to specify an output file that snmpit.proxyv2
      should write the results to. After the proxy runs, grab the contents
      of that file and send back to the calling elabinelab.
      
      Note that you will need to update tbsetup/snmpit_remote.in and install
      it, in your elabinelab.
      ed69a9bf
  12. 17 May, 2010 1 commit
  13. 15 Apr, 2010 1 commit
  14. 23 Mar, 2010 1 commit
  15. 22 Mar, 2010 1 commit
    • Leigh Stoller's avatar
      Finish up user deletion. The big visible change is that when a user is · 2965922b
      Leigh Stoller authored
      deleted, they still remain in the user table with a status of
      "archived", but since all the queries in the system now use uid_idx
      instead of uid, it is safe to reuse a uid since they are no longer
      ambiguous. 
      
      The reason for not deleting users from the users table is so that the
      stats records can refer to the original record (who was that person
      named "mike"). This is very handy and worth the additional effort it
      has taken.
      
      There is no way to ressurect a user, but it would not be hard to add.
      2965922b
  16. 03 Mar, 2010 1 commit
  17. 19 Jan, 2010 1 commit
  18. 01 Dec, 2009 1 commit
  19. 30 Nov, 2009 1 commit
  20. 21 Aug, 2009 1 commit
  21. 19 Jul, 2009 1 commit
  22. 29 Jun, 2009 1 commit
  23. 25 Jun, 2009 1 commit
  24. 18 Jun, 2009 2 commits
  25. 09 Jun, 2009 3 commits
  26. 03 Jun, 2009 1 commit
    • Kevin Atkinson's avatar
      Add support for returning more detailed information in the case of a · 340f10a4
      Kevin Atkinson authored
      swap failure in the xmlrpc server.  To use it, the extra option
      "extrainfo" needs to be set to true.  This will cause "value" to be a
      structure (in the XML-RPC sence) with useful information instead of
      just the exit value of the script.  The structure will contain at
      least the following fields:
        cause: "temp", "user", etc
        cause_desc
        mesg: more specific error information
        exitval: script return value
        log: activity log
      Note, that value may still be an integer in the case of some other
      failure that is not swap related.
      
      To support this, the "-X" option was added to swapexp and batchexp
      which will output a RPC-XML method response to stdout when possible.
      340f10a4
  27. 28 May, 2009 1 commit
    • Kevin Atkinson's avatar
      Add "-N" option to batchexp/swapexp/endexp to suppress most email to · 649cd68c
      Kevin Atkinson authored
      testbed-ops and the user.  Important email that requires testbed-ops
      attention, such as on a recursive cleanup error, will still be sent.
      In addition mail normally sent to testbed-logs will still be sent.
      
      Also, add "noemail" option to xmlrpc server methods corresponding to
      those commands, and "-N" option to related commands in script_wrapper.
      649cd68c
  28. 07 Jan, 2009 1 commit
  29. 15 Dec, 2008 1 commit
    • Leigh Stoller's avatar
      Add a second vlans function, which will eventually replace the · 0a686447
      Leigh Stoller authored
      original, but for now the second version is to develop my changes;
      instead of processing the arguments and sending things through on
      the command line, take the blob of xml and send it through to the
      proxy (via a file) and let it convert the xml to a data structure
      (the same data structure that the client inside the elabinelab sent).
      Much easier and less error prone.
      0a686447
  30. 17 Nov, 2008 1 commit
  31. 01 Oct, 2008 1 commit
  32. 15 Aug, 2008 1 commit
  33. 18 Jul, 2008 1 commit
  34. 01 Jul, 2008 1 commit
  35. 26 Jun, 2008 1 commit
  36. 06 Mar, 2008 1 commit