1. 27 Aug, 2014 7 commits
    • Leigh B Stoller's avatar
      Large set of changes for using the Geni trusted signer tool, to · 980f6cbd
      Leigh B Stoller authored
      authenticate Geni users to CloudLab (who do not have Emulab accounts).
      CloudLab users must have an account to do anything (unlike APT which allows
      guest users). But instead of requiring them to go through the Emulab
      account creation (high bar), let then use their Geni credentials to prove
      who they are. We then build a local account for that new user, and save off
      the speaksfor credential so that we can act on their behalf when talking to
      the backend clusters (and their MA to get their ssh keys).
      
      These users do not have a local account password, so they cannot log into
      the web interface using the Emulab login page, nor do they have a shell on
      ops.
      
      Once authenticated, we put the appropriate cookies into the browser via
      javascript, so they can use the Cloud (okay, APT) web interface (they
      appear logged in).
      
      I make use of the nonlocal_id field of the users table, which was not being
      used for anything else. Officially, these are "nonlocal" users in the code
      (IsNonLocal()).
      
      When a nonlocal user instantiates a profile, we use their speaksfor
      credential to ask their home MA for their ssh keys, which we then store in
      the DB, and then provide to the aggregate via the CreateSliver call.
      Note that no provision has been made for users who edit their profile and
      add keys; I am not currently expecting these users to stumble into the web
      interface (yet).
      980f6cbd
    • Leigh B Stoller's avatar
      b8fb1917
    • Leigh B Stoller's avatar
      Add expires() to abac credential object. · 7a2d123c
      Leigh B Stoller authored
      7a2d123c
    • Leigh B Stoller's avatar
      More tweaks to email from address. · a57e6737
      Leigh B Stoller authored
      a57e6737
    • Leigh B Stoller's avatar
      Add small delay if mysqld socket does not exist; this script runs to soon · 2ded1b43
      Leigh B Stoller authored
      after mysqld starts, and the socket is not there for a few seconds.
      2ded1b43
    • Leigh B Stoller's avatar
      Ignore purge flag (delete image file) when a system image, until · f94f924c
      Leigh B Stoller authored
      we figure out what deletion with deltas means. Still a problem for
      users, but at the moment we have not enabled provenance for mere
      users.
      
      Aside: Need to change purge so that we delete all image files
      (file for each version). Forgot to do that.
      f94f924c
    • Leigh B Stoller's avatar
  2. 26 Aug, 2014 12 commits
  3. 25 Aug, 2014 3 commits
  4. 21 Aug, 2014 4 commits
  5. 20 Aug, 2014 8 commits
  6. 19 Aug, 2014 6 commits