1. 21 Jan, 2016 1 commit
    • Leigh B Stoller's avatar
      A couple of fixes for guest users: · c363234d
      Leigh B Stoller authored
      1. Do not allow guest users to use anything but the APT cluster. We had
         talked about this a while back, and today it caused a problem:
      
      2. Because a guest tried to use the Mothership (cause of a URN in the
         profile), we had GeniUser lookup confusion. We store guest users in the
         geni-sa geni_users table, but because PROTOGENI_LOCALUSER=1, we end up
         creating a nonlocal account on the Geni path, and that conflicts.
         Changed how we do lookups.
      c363234d
  2. 06 Jan, 2016 1 commit
  3. 04 Jan, 2016 1 commit
  4. 21 Dec, 2015 1 commit
  5. 16 Dec, 2015 1 commit
  6. 01 Dec, 2015 1 commit
    • Leigh B Stoller's avatar
      Add support for cancelation; stopping an experiment setup early, instead of · 32c3d934
      Leigh B Stoller authored
      waiting till it finished setting up (or fails). This is really nice when a
      1000 node experiment has gone awry and it is pointless to wait for it to
      finish. When we do this, we mark the instance as canceled in the DB, and
      then wait for create_instance() to notice it. When it does, it stops
      waiting and invokes terminate with a new cancel option at the backend.
      32c3d934
  7. 16 Nov, 2015 1 commit
  8. 13 Nov, 2015 2 commits
  9. 29 Oct, 2015 1 commit
  10. 28 Oct, 2015 2 commits
  11. 27 Oct, 2015 1 commit
    • Leigh B Stoller's avatar
      Add simple (initial) support passing encrypted secrets to the cluster CM, · 46757729
      Leigh B Stoller authored
      to be decrypted using the per-exp ssl keypair we create and store on the
      nodes. In this case, you can add this to your rspec in the node element.
      You can add as many as you want, use the name attribute. We generate a
      random password and encrypt the plain text:
      
        <emulab:password></emulab:password>
      
      which becomes:
      
          <emulab:password name="foo" encrypted="true">-----BEGIN PKCS7-----
      MIIBpAYJKoZIhvcNAQcDoIIBlTCCAZECAQAxggFMMIIBSAIBADCBsDCBqDELMAkG
      A1UEBhMCVVMxDTALBgNVBAgTBFV0YWgxFzAVBgNVBAcTDlNhbHQgTGFrZSBDaXR5
      MR0wGwYDVQQKExRVdGFoIE5ldHdvcmsgVGVzdGJlZDEPMA0GA1UECxMGQVBUTEFC
      MRcwFQYDVQQDEw53d3cuYXB0bGFiLm5ldDEoMCYGCSqGSIb3DQEJARYZdGVzdGJl
      ZC1vcHNAZmx1eC51dGFoLmVkdQIDAs8NMA0GCSqGSIb3DQEBAQUABIGAKeyo7mPO
      rHRF2G9t0h8/ALBBh7ChD1zCYvRFi2qvvUIIv/kfCNPhujRfodIYR65dP3tfM+BH
      VTRxjJrMYH63m8Fz9KMZlVYn+DhMeiwerqTxvVs823zyxcDrOUzTzzakWmJVSqvl
      33Po/7CYZ2iq67ATF1Xym3DsRQbQSuwgzu8wPAYJKoZIhvcNAQcBMB0GCWCGSAFl
      AwQBKgQQRw0kmvwhIur/ZlfFbB75qoAQXTKjzwN1HDJW4x5GAcWNPA==
      -----END PKCS7-----
          </emulab:password>
      
      which can then be decrypted using the private key to get the plaintext
      password.
      46757729
  12. 25 Oct, 2015 1 commit
  13. 22 Oct, 2015 1 commit
  14. 21 Oct, 2015 1 commit
  15. 20 Oct, 2015 1 commit
  16. 19 Oct, 2015 1 commit
  17. 15 Oct, 2015 2 commits
    • Leigh B Stoller's avatar
      Remove debugging code. · 5295bf87
      Leigh B Stoller authored
      5295bf87
    • Leigh B Stoller's avatar
      Two unrelated changes. · 6762e839
      Leigh B Stoller authored
      1. Use information from sliverstatus to indicate that nodes have startup
         execution services running, and then tell then when they have finished,
         and they exited with non-zero status, indicate that they failed. We also
         hold saying the "ready" in the upper panel until all the services have
         exited, we say "booted" instead, and also say that nodes are running
         startup services.
      
      2. For snapshot, when we know an image has to be copied back to its origin
         cluster, tell the web interface, so that we can add another step to the
         imaging modal ("copying"). We know the copy is done when the origin
         cluster has posted the new image data to the IMS, so we do an additional
         poll in the backend waiting for the image server to get the data, and
         then we mark the image as ready for use.
      6762e839
  18. 05 Oct, 2015 1 commit
  19. 25 Sep, 2015 1 commit
  20. 24 Sep, 2015 1 commit
  21. 22 Sep, 2015 1 commit
  22. 15 Sep, 2015 1 commit
  23. 14 Sep, 2015 1 commit
  24. 08 Sep, 2015 1 commit
  25. 03 Sep, 2015 1 commit
  26. 31 Aug, 2015 2 commits
  27. 21 Aug, 2015 3 commits
  28. 12 Aug, 2015 1 commit
  29. 04 Aug, 2015 1 commit
  30. 30 Jul, 2015 1 commit
  31. 29 Jul, 2015 1 commit
  32. 27 Jul, 2015 1 commit
  33. 07 Jul, 2015 2 commits