1. 18 Apr, 2017 1 commit
  2. 17 Apr, 2017 21 commits
    • Leigh Stoller's avatar
      Forgot about this change ... image aliases and advertisements. · 4dc11abb
      Leigh Stoller authored
      When spitting out an advertisement and the default osid is an
      image alias, be sure to stick the alias name into the advertisement,
      not the first of the images the alias points to. This is wht we
      were getting -X86 in Jacks from the moonshot cluster.
      4dc11abb
    • Leigh Stoller's avatar
      rspecs are so passe ... · 7c38809d
      Leigh Stoller authored
      Redo the rspectogenilib converter with the goal of supporting both
      translation *and* regression testing. A new library is responsible for
      taking the output of libXML and creating a data structure representing
      the rspec. While this is being done, we look for any constructs or
      attributes we cannot handle with geni-lib and report that as an error;
      we are not going to convert an rspec unless we can do it correctly. and
      completely.
      
      Regression testing is done with another part of this library, that knows
      how to compare each element of two rspecs. Basically start at the root
      and compare all the way down, failing if the two "parses" of the XML are
      not equal at any level.
      
      rspectogenilib now has an option that does regression testing by running
      the new geni-lib and comparing the resulting rspec against the original.
      
      On the UI side, there is a new button on existing rspec based
      profiles (currently only for admin and studs) called "Convert to
      geni-lib" that runs the converter to convert the profile to geni-lib.
      The user does not have to accept the new script of course.
      
      However, a converted profile is marked in the database, and the user can
      still use Jacks on it, we just run rspectogenilib geni-lib again on the
      new rspec. If the user edits the geni-lib, we switch back to normal
      geni-lib (clear the flag) when the new version is saved, and Jacks is
      once again read-only. This is explained in the UI, and is one of the
      things people need to give comment on.
      
      There is also a mode on the Create Profile page for converting new rspec
      based profiles to geni-lib, but that is fully turned off for now, we can
      get to that later.
      7c38809d
    • Leigh Stoller's avatar
      Fix! · 57c22f07
      Leigh Stoller authored
      57c22f07
    • Leigh Stoller's avatar
      Make the message modal static. · 49fc81f5
      Leigh Stoller authored
      49fc81f5
    • Leigh Stoller's avatar
      Minor UI tweak to previous revision. · 582fe18f
      Leigh Stoller authored
      582fe18f
    • Leigh Stoller's avatar
      Attempt to operate in an admin mode for reservations · 188f041f
      Leigh Stoller authored
      So, one reason the fast RPC path is fast cause we do not normally
      operate with credentials, but with reservations we have to since we want
      the reservation creator to be a real user and of course the project has
      to exist. Need credentials for that. But when an admin is editing or
      creating a reservation in another project, we need the admin user to
      exist too, and we might need the project to be created. That requires
      different credentials. So in an attempt to deal more generally with the
      admin problem, export an entrypoint to create a user (the admin user)
      before trying to create a reservation. Not sure this is the best way to
      go but its one way to go.
      
      In general, I think we need a more explicit user/project management API
      for the Portal. Needs more thought.
      188f041f
    • Leigh Stoller's avatar
      Watch for reservation system violations and say something better to the · ff59b87e
      Leigh Stoller authored
      user (read: Mike) so the user (Uh, Mike) does not get all wigged out
      about not being able to use the nodes he (Mike?) want to use.
      ff59b87e
    • Leigh Stoller's avatar
      Three changes: · 27340905
      Leigh 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 Stoller's avatar
      Bug fix from David. · c41adae1
      Leigh Stoller authored
      c41adae1
    • Leigh Stoller's avatar
      Updates for HVM and XEN46 ... · 35df4e20
      Leigh Stoller authored
      35df4e20
    • Leigh Stoller's avatar
      Add FindFirstNS(). · 454cc541
      Leigh Stoller authored
      454cc541
    • Leigh Stoller's avatar
      Add profile_converted to apt_profile_versions for tracking profiles that · 46519974
      Leigh Stoller authored
      have been machine converted from rspecs to geni-lib scripts.
      46519974
    • Leigh Stoller's avatar
      Add copious amounts of error checking to ssh keys in AddKeys(). · bf336f5d
      Leigh Stoller authored
      This closes issue #222.
      bf336f5d
    • Leigh Stoller's avatar
      Fix comment. · 195b7c5d
      Leigh Stoller authored
      195b7c5d
    • Leigh Stoller's avatar
      Add IsUser() to hrn object. · c0437a90
      Leigh Stoller authored
      c0437a90
    • Leigh Stoller's avatar
      Start using the new general/export_active sitevar to control when we · 990a2933
      Leigh Stoller authored
      need to call exports_setup.
      990a2933
    • Leigh Stoller's avatar
      Use a mysql process lock to prevent concurrent creation of new projects · 89c6e499
      Leigh Stoller authored
      and groups on the geni path. This seems to happen more then I thought it
      might.
      89c6e499
    • Leigh Stoller's avatar
    • Leigh Stoller's avatar
      Separate user vs admin lockdown, previously they were intertwined. · 8e88917e
      Leigh Stoller authored
      User lockdown is as before, user can override that on the terminate
      page. Admin lockdown is like Classic lockdown; the flag must be cleared
      before the experiment can be terminated, there is no override on the
      termination page.
      
      UI changes on the status and admin extend page for the additional
      flag (instead of a single lockdown, there are now two).
      8e88917e
    • Leigh Stoller's avatar
      Small fix to imaging; make sure the webtask is refreshed after lock · 9c70c5ed
      Leigh Stoller authored
      in UpdateImageStatus().
      9c70c5ed
    • Leigh Stoller's avatar
      a0615b3b
  3. 14 Apr, 2017 1 commit
  4. 13 Apr, 2017 1 commit
  5. 11 Apr, 2017 5 commits
  6. 10 Apr, 2017 2 commits
  7. 07 Apr, 2017 2 commits
  8. 06 Apr, 2017 4 commits
  9. 05 Apr, 2017 2 commits
  10. 04 Apr, 2017 1 commit