1. 05 Feb, 2016 1 commit
  2. 27 Jan, 2016 1 commit
    • Leigh B Stoller's avatar
      Anytime the state for a slice or sliver changes, inject a geni style event · bc8afd40
      Leigh B Stoller authored
      into the local event stream. These events are different then normal emulab
      events in that the SITE is set to the URN of the aggregate, and there is
      json representation of the slice/sliver status. There are other fields as
      well that are not in normal emulab events. These events can mix okay with
      emulab events on the local boss, nothing will care about them. But they
      will get forwarded to pubsubd at the portal if CLUSTER_PORTAL is set in the
      defs file.
  3. 01 Dec, 2015 1 commit
    • Leigh B Stoller's avatar
      Add cancel support. The idea is that a DeleteSlice() with our internal · 5bd9ad1a
      Leigh B Stoller authored
      cancel option, will stop a CreateSliver() in its tracks. We stop the
      monitor, then cleanup the slice. I also added an optimization for tearing
      down large numbers of VMs on shared nodes, previously we were doing them
      one at a time. Note that only the Portal is going to use this option, since
      it loosely depends on code in the XEN clientside (described in another
  4. 06 Oct, 2015 1 commit
  5. 21 Aug, 2015 1 commit
  6. 27 Jan, 2015 1 commit
  7. 15 Dec, 2014 1 commit
  8. 17 Sep, 2014 1 commit
  9. 18 May, 2014 1 commit
  10. 07 Apr, 2014 1 commit
  11. 02 Dec, 2013 1 commit
  12. 18 Nov, 2013 1 commit
  13. 14 Oct, 2013 1 commit
  14. 07 Oct, 2013 1 commit
  15. 09 Sep, 2013 1 commit
  16. 09 Aug, 2013 1 commit
    • Leigh B Stoller's avatar
      I added two new actions to PerformOperationalAction, which appear to · cfd1974a
      Leigh B Stoller authored
      work fine when the nodes are behaving themselves.
      1) geni_update_users: Takes a slice credential and a keys argument. Can
        only be invoked when the sliver is in the started/geni_ready state.
        Moves the slice to the geni_updating_users state until all of the
        nodes have completed the update, at which time the sliver moves back
        to started/geni_ready.
      2) geni_updating_users_cancel: We can assume that some nodes will be whacky
        and will not perform the update when told to. This cancels the
        update and moves the sliver back to started/geni_ready.
      A couple of notes:
      * The current emulab node update time is about three minutes; the
        sliver is in this new state for that time and cannot be restarted or
        stopped. It can of course be deleted.
      * Should we allow restart while in the updating phase? We could, but
        then I need more bookkeeping.
      * Some nodes might not be running the watch dog, or might not even be
        an emulab image, so the operation will never end, not until
        canceled. I could add a timeout, but that will require a monitor or
        adding DB state to store the start time.
  17. 25 Mar, 2013 1 commit
  18. 26 Sep, 2012 1 commit
    • Jonathon Duerig's avatar
      Various fixes for AM API v3. · c49a1df9
      Jonathon Duerig authored
      All incoming rspecs are now validated with rspeclint.
      Multiple Create calls are now permitted.
      Slivers now have URNs at allocation time.
      Delete now returns a list of ex-slivers.
      Advertisement now specifies an operational state machine.
      Other minor fixes.
  19. 24 Sep, 2012 1 commit
    • Eric Eide's avatar
      Replace license symbols with {{{ }}}-enclosed license blocks. · 6df609a9
      Eric Eide authored
      This commit is intended to makes the license status of Emulab and
      ProtoGENI source files more clear.  It replaces license symbols like
      "EMULAB-COPYRIGHT" and "GENIPUBLIC-COPYRIGHT" with {{{ }}}-delimited
      blocks that contain actual license statements.
      This change was driven by the fact that today, most people acquire and
      track Emulab and ProtoGENI sources via git.
      Before the Emulab source code was kept in git, the Flux Research Group
      at the University of Utah would roll distributions by making tar
      files.  As part of that process, the Flux Group would replace the
      license symbols in the source files with actual license statements.
      When the Flux Group moved to git, people outside of the group started
      to see the source files with the "unexpanded" symbols.  This meant
      that people acquired source files without actual license statements in
      them.  All the relevant files had Utah *copyright* statements in them,
      but without the expanded *license* statements, the licensing status of
      the source files was unclear.
      This commit is intended to clear up that confusion.
      Most Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the Affero GNU General Public License, version 3
      Most Utah-copyrighted files related to ProtoGENI are distributed under
      the terms of the GENI Public License, which is a BSD-like open-source
      Some Utah-copyrighted files in the Emulab source tree are distributed
      under the terms of the GNU Lesser General Public License, version 2.1
  20. 05 Jul, 2012 1 commit
  21. 03 Jul, 2012 1 commit
  22. 08 Feb, 2012 1 commit
  23. 07 Feb, 2012 1 commit
  24. 11 Nov, 2011 1 commit
  25. 06 Sep, 2011 1 commit
  26. 26 Aug, 2011 1 commit
  27. 25 Aug, 2011 1 commit
  28. 09 Aug, 2011 1 commit
  29. 18 Jul, 2011 1 commit
  30. 12 Jul, 2011 1 commit
    • Leigh B Stoller's avatar
      Add errorlog text field to aggregates and slivers so that non-node · 320c7d8a
      Leigh B Stoller authored
      slivers can store/return error info to the user in sliverstatus.
      This include the top level aggregate for a slice.
      Added an 'error' attribute to the top level sliverstatus return hash,
      to return this error.
      Put start/restart sliver into the background so that it runs async,
      just like it does when invoked from the CreateSliver() path. This is
      because start/restart can take an arbitrary length of time, and having
      the RPC sit in hold for that long is not an ideal interface. Users can
      get all the info they need from the sliverstatus call.
      Change Start/Restart so that all of the error message we were printing
      to STDERR for the mail log, also go back to the user in the toplevel
      error for the aggregate.
  31. 05 Jul, 2011 1 commit
  32. 17 Jun, 2011 1 commit
  33. 16 Jun, 2011 1 commit
  34. 17 Apr, 2011 1 commit
  35. 07 Apr, 2011 1 commit
  36. 30 Mar, 2011 1 commit
    • Leigh B Stoller's avatar
      Assorted changes to make sure that the uid we grab from the user URN · 56fef67b
      Leigh B Stoller authored
      is a valid Emulab user id (as for creating accounts on nodes) and for
      inserting into the Emulab DB.
      If the uid is not valid for us, make up a new one from a hash of the
      certificate. This will give us a (typically) unique but always
      consistent uid to use.
      Also add the uid to the services/login section of the manifest so that
      the client always knows what uid to use when logging in.
  37. 13 Jan, 2011 1 commit
  38. 13 Dec, 2010 1 commit
  39. 07 Dec, 2010 1 commit
  40. 09 Nov, 2010 1 commit
    • Leigh B Stoller's avatar
      Minor module shuffling. · 2fafb77e
      Leigh B Stoller authored
      Clean up GeniSliver::Node::Create(); remove duplicate code and unify
      the virtnode vs pnode cases. Also change the arguments; instead of a
      uuid for the node, just pass in the actual node object from the CM.