1. 28 Jul, 2014 3 commits
  2. 18 Jul, 2014 2 commits
  3. 17 Jul, 2014 1 commit
  4. 16 Jul, 2014 1 commit
  5. 14 Jul, 2014 2 commits
  6. 12 Jul, 2014 1 commit
    • Mike Hibler's avatar
      Make sure we use -i for sendmail when we pipe into it. · 355f5aa8
      Mike Hibler authored
      This prevents a line with a single "." from meaning EOF to sendmail.
      How arcane!
      
      I discovered this when I ran a create_image and I didn't get the complete
      log mailed to me. This is because create_image did a frisbee download of an
      image with a single chunk, which of course printed out:
      
        Using Multicast 235.252.1.187
        Joined the team after 0 sec. ID is 1586355915. File is 1 chunks (963200 bytes)
        .
      
      Fortunately, "arcane" is my middle name, so it didn't take me long to find
      this...
      355f5aa8
  7. 11 Jul, 2014 1 commit
  8. 10 Jul, 2014 1 commit
  9. 02 Jul, 2014 1 commit
  10. 01 Jul, 2014 1 commit
  11. 20 Jun, 2014 1 commit
  12. 17 Jun, 2014 2 commits
  13. 16 Jun, 2014 1 commit
    • Mike Hibler's avatar
      Call libosload directly rather than invoking os_load script. · 361c7d7f
      Mike Hibler authored
      This is not so much for efficiency but because it gives us more precise
      knowledge about failures. Previously, if one node in the batch sent to
      os_load failed, we didn't know which one so we had to assume all failed
      and go back and reload them again. Granted, this situation was one that
      "should not happen", but it does happen quite a lot, at least now when
      we have flaky (IPMI) power control.
      
      Also, brought some uniformity to the messages printed out; ie., print
      a freakin timestamp already!
      361c7d7f
  14. 12 Jun, 2014 1 commit
    • Kirk Webb's avatar
      Update the use of realpath across all perl scripts · 3f167217
      Kirk Webb authored
      Change to use the realpath function in the 'Cwd' module instead of
      calling realpath via the shell.  The shell command varies in its
      reaction to a missing final path component.  On some platforms (Linux,
      FBSD10+) realpath reports an error if the final component doesn't exist
      on the filesystem.  On others (FBSD < 10), it does not report an error.
      
      The perl function from 'Cwd' emulates the same behavior as FBSD prior to
      version 10, which is the behavior the scripts expect.
      
      From here on out, instead of using `realpath`, do the following:
      
      use Cwd qw(realpath);
      ..
      ..
      my $realpath = realpath($somepath);
      3f167217
  15. 11 Jun, 2014 2 commits
  16. 09 Jun, 2014 1 commit
  17. 06 Jun, 2014 1 commit
  18. 04 Jun, 2014 2 commits
    • Leigh Stoller's avatar
      Widen the switch column. · b25f2b69
      Leigh Stoller authored
      b25f2b69
    • Leigh Stoller's avatar
      Add --setvlanontrunks, --resetvlanontrunks, and --clearvlanontrunks. All of · eaebe4d2
      Leigh Stoller authored
      these do the obvious. Takes a list of lanids (not vlanids). So yesterday
      when I did the switchover from the 1Gb to the 10Gb link I did this:
      
        snmpit_test -i procurveA -i procurve1 --clearvlanontrunks 1225665 1270247 ...
      
      which removed the vlans from the trunk ports on procurve1 and procurveA.
      Then I changed the wires table, and then I did:
      
        snmpit_test -i procurveA -i procurve1 --setvlanontrunks 1225665 1270247 ...
      
      which added the vlans to the new trunk ports. Nifty.
      eaebe4d2
  19. 02 Jun, 2014 1 commit
  20. 30 May, 2014 1 commit
    • Mike Hibler's avatar
      Change sshtb to allow "-host $BOSSNODE". · f4d4dd0e
      Mike Hibler authored
      Needed when boss is the tip server (i.e., for IPMI consoles).
      
      Somehow this vaguely feels like a potential flaw. Prior to this,
      a misconfigured sshtb command that specified boss would fail.
      Now it will succeed and run in the one place it can cause the
      most damage.
      
      Also, fix a couple of nits in the console code.
      f4d4dd0e
  21. 29 May, 2014 1 commit
    • Mike Hibler's avatar
      Allow /tmp/php* as well as /var/tmp/php*. · e10872da
      Mike Hibler authored
      This shows up on FBSD 10.x based elabs that use one big FS for
      /, /var, /usr since realpath(/var/tmp/...) resolves to /tmp/...
      Originally noticed by Jeff Bowles at NMC, but I didn't make the fix
      til it bit me on the ass in APT!
      e10872da
  22. 23 May, 2014 1 commit
  23. 22 May, 2014 2 commits
  24. 21 May, 2014 1 commit
  25. 15 May, 2014 1 commit
  26. 13 May, 2014 2 commits
    • Leigh Stoller's avatar
      Add IPV6 changes, contributed by Brecht and lightly modified by me. · 7de150c4
      Leigh Stoller authored
      To define, in the defs file:
      
      	IPV6_ENABLED=1
      	IPV6_SUBNET_PREFIX="2011:1948:0417:0004"
      
      A /64 network is always assumed, don't do anything else. We generate
      appropriate foward and reverse entries in the zone files, but
      otherwise rely on the on the upstream router to provide the prefix
      when asked for it by nodes when they wish to configure an IPV6
      interface.
      
      Important caveats:
      
      1. The infrastructure is ipv4 only. We do not dupport dual stack or
         ipv6 only on any infrastructure.
      
      2. We do not support ipv6 only on the control plane; ipv4 or dual stack.
      7de150c4
    • Leigh Stoller's avatar
      Put links with zero remaining_bandwidth into the ptop file so that assign · 71a5944a
      Leigh Stoller authored
      will correct error (no_bandwidth instead of no_connect).
      71a5944a
  27. 12 May, 2014 1 commit
    • Leigh Stoller's avatar
      Fix for loading an image on a remoteded pg node. This is a kludge, the · 15dce279
      Leigh Stoller authored
      notion of "dedicated" is currently a type specific attribute, but we
      also have "shared" nodes running on "dedicated" nodes, which messes
      everything up. I am not inclined to fix the underlying problem since
      Utah is the only site that uses this stuff, and these nodes are slowly
      dying out anyway.
      15dce279
  28. 09 May, 2014 1 commit
  29. 08 May, 2014 1 commit
  30. 25 Apr, 2014 1 commit
  31. 24 Apr, 2014 1 commit