1. 24 Jul, 2017 1 commit
  2. 14 Jul, 2017 1 commit
  3. 13 Jul, 2017 1 commit
    • Leigh B Stoller's avatar
      Work on issue #302: · 92c8e4ba
      Leigh B Stoller authored
      Add new table experiment_keys to hold RSA priv/pub key pair and an SSH
      public key derived from the private key.
      
      Initialized when experiment is first created, I have not done anything
      to set the keys for existing experiments yet.
      
      But for testing, you can do this:
      
      	use lib "/usr/testbed/lib";
      	use Experiment;
      
      	my $experiment = Experiment->Lookup("testbed", "layers");
      	$experiment->GenerateKeys();
      92c8e4ba
  4. 07 Jul, 2017 1 commit
    • Leigh B Stoller's avatar
      Deal with user privs (issue #309): · d1516912
      Leigh B Stoller authored
      * Make user privs work across remote clusters (including stitching). I
        took a severe shortcut on this; I do not expect the Cloudlab portal
        will ever talk to anything but an Emulab based aggregate, so I just
        added the priv indicator to the user keys array we send over. If I am
        ever proved wrong on this, I will come out of retirement and fix
        it (for a nominal fee of course).
      
      * Do not show the root password for the console to users with user
        privs.
      
      * Make sure users with user privs cannot start experiments.
      
      * Do show the user trust values on the user dashboard membership tab.
      
      * Update tmcd to use the new privs slot in the nonlocal_user_accounts
        table.
      
      This closes issue #309.
      d1516912
  5. 06 Jul, 2017 1 commit
  6. 13 Jun, 2017 1 commit
  7. 12 Jun, 2017 3 commits
  8. 09 Jun, 2017 1 commit
  9. 07 Jun, 2017 1 commit
  10. 05 Jun, 2017 1 commit
    • Leigh B Stoller's avatar
      Working on issue #269 ... · ad2a3e70
      Leigh B Stoller authored
      Add new script to "deprecate" images:
      
      	boss> wap deprecate_image
      	Usage: deprecate_image [-e|-w] <image> [warning message to users]
      	Options:
      	       -e     Use of image is an error; default is warning
      	       -w     Use of image is a warning
      
      When an image is deprecated with just warnings, new classic experiments
      generate warnings in the output. Swapping in an experiment also
      generates warnings in the output, but also sends email to the user.
      When the image set for error, both new experiment and swapin will fail
      with prejudice.
      
      Same deal on the Geni path; we generate warnings/errors and send email.
      Errors are reflected back in the Portal interface.
      
      At the moment the image server knows nothing about deprecated images, so
      the Portal constraint checker will not be bothered nor tell the user
      until later when the cluster throws an error. As a result, when we
      deprecate an image, we need to do it on all clusters. Needs to think
      about this a bit more.
      ad2a3e70
  11. 04 Jun, 2017 1 commit
  12. 01 Jun, 2017 1 commit
  13. 31 May, 2017 2 commits
  14. 24 May, 2017 2 commits
  15. 22 May, 2017 1 commit
  16. 17 May, 2017 1 commit
  17. 16 May, 2017 1 commit
  18. 09 May, 2017 2 commits
  19. 08 May, 2017 2 commits
  20. 05 May, 2017 2 commits
  21. 03 May, 2017 1 commit
  22. 25 Apr, 2017 1 commit
  23. 19 Apr, 2017 1 commit
  24. 17 Apr, 2017 2 commits
    • Leigh B Stoller's avatar
      Three changes: · 27340905
      Leigh B Stoller authored
      1. Fix up multi architecture code wrt auxtypes (say, pvcm). I was
         failing to treat "d710-vm" as a node with a specified type, and so
         were doing multiple mapper runs with different architectures. This is
         cause an auxtype is not really a first class type object, but it is
         now, enough to recognize it as such.
      
         Aside; vtypes are still a potential problem, need to give this more
         thought.
      
      2. Use the reservation MaxSwapInMap() to determine if the request is
         asking for more nodes of a specific type then allowed; do not bother
         to run assign, bail right away. We can do this we now track how many
         nodes of a specific type have been requested, for the multi
         architecture stuff. So might as well put to another good use.
         This close issue #236.
      
      3. Add reservation system information dump to resinfo.log for post
         mortem debugging.
      27340905
    • Leigh B Stoller's avatar
      Start using the new general/export_active sitevar to control when we · 990a2933
      Leigh B Stoller authored
      need to call exports_setup.
      990a2933
  25. 10 Apr, 2017 1 commit
    • Mike Hibler's avatar
      Expand the portrange used for vnodes. · 6334efc1
      Mike Hibler authored
      This should not even be used any more, but until we have a chance to
      confirm that, I have increased the range (and reduced the ports-per-range).
      Since we now have over 100 active vnodes, we hit this limit!
      6334efc1
  26. 05 Apr, 2017 2 commits
  27. 04 Apr, 2017 2 commits
  28. 22 Mar, 2017 1 commit
  29. 20 Mar, 2017 1 commit
  30. 14 Mar, 2017 1 commit
    • Leigh B Stoller's avatar
      Minor cleanup and fixes: · ad48bbdb
      Leigh B Stoller authored
      1. Small bits of cleanup to remove hardwired paths and test for images
         that live in /usr/testbed and need special handling.
      
      2. Make sure that the image directory exists in /proj when taking a
         snapshot of a system image that lives in /usr/testbed since that is
         were we always write new images.
      
      3. When deleting an image, remove the DB state for the highest numbered
         version if it never came ready/released.
      ad48bbdb