1. 05 Jun, 2017 2 commits
    • Leigh Stoller's avatar
      Working on issue #269 ... · ad2a3e70
      Leigh Stoller authored
      Add new script to "deprecate" images:
      
      	boss> wap deprecate_image
      	Usage: deprecate_image [-e|-w] <image> [warning message to users]
      	Options:
      	       -e     Use of image is an error; default is warning
      	       -w     Use of image is a warning
      
      When an image is deprecated with just warnings, new classic experiments
      generate warnings in the output. Swapping in an experiment also
      generates warnings in the output, but also sends email to the user.
      When the image set for error, both new experiment and swapin will fail
      with prejudice.
      
      Same deal on the Geni path; we generate warnings/errors and send email.
      Errors are reflected back in the Portal interface.
      
      At the moment the image server knows nothing about deprecated images, so
      the Portal constraint checker will not be bothered nor tell the user
      until later when the cluster throws an error. As a result, when we
      deprecate an image, we need to do it on all clusters. Needs to think
      about this a bit more.
      ad2a3e70
    • Mike Hibler's avatar
      Get rid of a left join that was producing an all NULL row for wires. · a93d043e
      Mike Hibler authored
      Mysql 5.7 refuses to load it since it tries to load NULL in a non-NULL field.
      Apparently mysql 5.5 was okay with this.
      a93d043e
  2. 01 Jun, 2017 1 commit
  3. 31 May, 2017 3 commits
  4. 22 May, 2017 1 commit
  5. 18 May, 2017 1 commit
  6. 17 May, 2017 1 commit
  7. 05 May, 2017 1 commit
  8. 03 May, 2017 1 commit
  9. 19 Apr, 2017 2 commits
  10. 17 Apr, 2017 3 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
      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
  11. 11 Apr, 2017 1 commit
  12. 06 Apr, 2017 1 commit
  13. 30 Mar, 2017 1 commit
  14. 22 Mar, 2017 1 commit
  15. 16 Mar, 2017 1 commit
    • Kirk Webb's avatar
      Extend port identification hack in H3C module for breakout ports. · b4262d21
      Kirk Webb authored
      Breakout ports are identified with a ':\d+' suffix in their port
      description. This extension of the existing hack for submodules lets
      breakout ports be referenced by their ifindex instead of trying to
      encode the combination of module, submodule, port, and subport into a
      single port number in the database.  This is total crap, and makes me
      hate the mod/port DB encoding we have even more.  It is on my TODO list
      to move snmpit to using device-specific port identification based on
      port description strings instead.
      
      NOTE: The module number semantics have changed for the submod/subport
      hack.  Instead of using whatever module the port is on (plus one...),
      the module is set to '0'. This is what should be used in the 'wires' DB
      table.
      b4262d21
  16. 09 Mar, 2017 1 commit
  17. 06 Mar, 2017 1 commit
  18. 24 Feb, 2017 1 commit
  19. 15 Feb, 2017 2 commits
  20. 10 Feb, 2017 5 commits
    • Mike Hibler's avatar
      It is Cleanup Friday! · f624f158
      Mike Hibler authored
      Get rid of ELVIN_COMPAT and CONFIG_OPSVM from elabinelab land.
      These options still exist throughout the install code, didn't touch that.
      f624f158
    • Mike Hibler's avatar
      A bunch of cleanups. · b313b8e5
      Mike Hibler authored
      Add a couple of variables at the top for the server/node hardware types
      and server OS image.
      
      Fix all the elabinelab_X(Y) references. Turns out that:
          elabinelab_fixnodes("boss")
      (with quotes) is not the same array element as:
          elabinelab_fixnodes(boss)
      (without quotes). And do to the way we coded things, only
      elabinelab_X("boss") (or "ops" or "fs") worked, elabinelab_X(boss) would
      not. But, only elabinelab_X(mypc1) would work and not elabinelab_X("mypc1")!
      Now you should be able to use the unquoted versions of boss/ops/fs/mypcN.
      Fun times with TCL.
      b313b8e5
    • Mike Hibler's avatar
      Add a TODO item. · 5a945ab6
      Mike Hibler authored
      5a945ab6
    • Mike Hibler's avatar
      Syntax is overrated... · c1673a5b
      Mike Hibler authored
      c1673a5b
    • Mike Hibler's avatar
      Loosen up restrictions on swapped-out changes to FW by admins. · 1658ab8c
      Mike Hibler authored
      Let them change the type and style (but still not remove entirely).
      
      Also, recode a section to avoid perl "jump into construct" warning.
      1658ab8c
  21. 09 Feb, 2017 1 commit
  22. 02 Feb, 2017 1 commit
  23. 01 Feb, 2017 3 commits
  24. 20 Jan, 2017 2 commits
  25. 19 Jan, 2017 1 commit
    • Gary Wong's avatar
      Fix admission control when an experiment has nodes already allocated. · eaeed4b0
      Gary Wong authored
      (The original approach was reusing the existing experiment record when
      trying to repeat admission control.  This did properly decrement the
      "used nodes" count, so that reallocating the same node to the same
      experiment wasn't counted twice; but unfortunately it didn't
      effectively increase the "free nodes" count and so it was still
      possible to encounter spurious failures.  This could affect both
      swapmod and RedeemTicket.)
      eaeed4b0
  26. 17 Jan, 2017 1 commit