1. 24 Apr, 2017 17 commits
  2. 20 Apr, 2017 1 commit
  3. 19 Apr, 2017 4 commits
  4. 18 Apr, 2017 2 commits
  5. 17 Apr, 2017 16 commits
    • Leigh B Stoller's avatar
      Forgot about this change ... image aliases and advertisements. · 4dc11abb
      Leigh B 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.
    • Leigh B Stoller's avatar
      rspecs are so passe ... · 7c38809d
      Leigh B 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
      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.
    • Leigh B Stoller's avatar
      Fix! · 57c22f07
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Make the message modal static. · 49fc81f5
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Minor UI tweak to previous revision. · 582fe18f
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Attempt to operate in an admin mode for reservations · 188f041f
      Leigh B 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.
    • Leigh B Stoller's avatar
      Watch for reservation system violations and say something better to the · ff59b87e
      Leigh B 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.
    • 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
      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.
    • Leigh B Stoller's avatar
      Bug fix from David. · c41adae1
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Updates for HVM and XEN46 ... · 35df4e20
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Add FindFirstNS(). · 454cc541
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Add profile_converted to apt_profile_versions for tracking profiles that · 46519974
      Leigh B Stoller authored
      have been machine converted from rspecs to geni-lib scripts.
    • Leigh B Stoller's avatar
      Add copious amounts of error checking to ssh keys in AddKeys(). · bf336f5d
      Leigh B Stoller authored
      This closes issue #222.
    • Leigh B Stoller's avatar
      Fix comment. · 195b7c5d
      Leigh B Stoller authored
    • Leigh B Stoller's avatar
      Add IsUser() to hrn object. · c0437a90
      Leigh B Stoller authored
    • 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.