1. 15 Feb, 2019 1 commit
    • Leigh Stoller's avatar
      Fix the empty password on the user account we create on the dell · 69c75587
      Leigh Stoller authored
      switches, I must have forgot to deal with it.
      
      Basically, the FTOS manual says you can give it an MD5 or sha256 hash of
      the password. Well, FTOS must come from another dimension, cause the MD5
      and sha256 it generates, is different then what boss generates, for the
      same input string. So that makes it hard to set up an account with a
      password, unless I send over the cleartext. Which is okay, it stores it
      internally as the hash (I cannot seem to generate). So we send over the
      cleartext per-node root password that is regenerated for each time it is
      allocated to an experiment. Not a big deal, we load the user's ssh keys,
      they should not need to use passwords.
      69c75587
  2. 05 Nov, 2018 1 commit
    • Leigh Stoller's avatar
      Working Mellanox user alloc switch support (issue #445): · 95e7bded
      Leigh Stoller authored
      * The primary problem with the mellanox is that the install image does a
        kexec out of ONIE into Linux, spends 30+ minutes doing stuff, and then
        reboots. This throws the reload state machine out of whack cause we do
        not get a chance to send the RELOADDONE state. So ... some change to
        rc.testbed and rc.reload on the USB dongle: the ONIE MFS sends
        RELOADING and writes a flag file to the ONIE partition on the
        "disk" (not the usb). Then the kexec into MLNX, the install happens,
        and reboots. The next boot into ONIE sees the flag file, erases it and
        sends REDLOADDONE. Waits for a bit, and then continues on the normal
        path. This abuses stated in that there a whiny messages in the stated
        log file, but I am immune to stated whining.
      
      * Another item of note is that the switch DHCPs, but only to get the IP
        info, there is no ability to give it an initial config file like we
        can with the Dell switches. The main problem here is that the switch
        comes up with its default login/password which is obviously well known
        cause its in the manual. That means there is a window where the switch
        is vulnerable, but since we block the switches from the public side,
        this is not a serious problem. As soon as we can get in (sshd is
        running) we login and update the config with passwords, keys,
        etc.
      
      * Other changes to the machine dependent osload library module, I had
        done some of this before switching to the Dells way back when, but it
        needed to be updated/completed.
      95e7bded
  3. 06 Jun, 2018 1 commit
  4. 17 Apr, 2018 1 commit
  5. 13 Apr, 2018 1 commit
  6. 12 Apr, 2018 1 commit
  7. 11 Apr, 2018 2 commits