• Leigh Stoller's avatar
    Various fixes for ualloc switches: · cdcbedc7
    Leigh Stoller authored
    * Stop using the ALWAYSUP state machine for switches, this causes ISUP
      to always get sent, which in certain cases, results in stated
      rebooting the switch!
    
      Added new ONIE state machine, which handles the way switches actually
      boot into ONIE first and then does the bootinfo/grub dance, or does a
      reload or does admin mode.
    
    * Do not send PXEBOOTING from ONIE; this was a mistake, it throws us
      into the PXEKERNEL state machine, which sometimes results is stated
      rebooting the switch!
    
      We still use PXEWAIT (it is sent by bootinfod), since that is the
      "waiting" state that is wired into a lot of Emulab, it just happens to
      now be a state in the ONIE state machine, so its legal.
    
    * Fix a bug in libossetup, that was fooling libossetup_switch into
      thinking the wrong thing.
    
    * Add some timeouts to the libosload_mlnx code, sshd sometime refuses to
      answer after a failed login. Strange.
    
    * Fix a fork() problem in the switch reload code; gotta call exit, not
      return! This was wreaking subtle (okay not so subtle) havoc in
      libossetup.
    cdcbedc7
Name
Last commit
Last update
..
updates Loading commit data...
GNUmakefile Loading commit data...
bios_move.pl Loading commit data...
close-projadminlists.pl Loading commit data...
create-projadminlists.pl Loading commit data...
database-create-errorlog.sql Loading commit data...
database-create-old.sql Loading commit data...
database-create.sql Loading commit data...
database-fill-supplemental.sql Loading commit data...
database-fill.sql Loading commit data...
database-migrate.txt Loading commit data...
dbfill-update.sql Loading commit data...
delvnodes.pl Loading commit data...
emulab_pubs.sql Loading commit data...
errors-migrate.pl Loading commit data...
fixstats-swapin.pl Loading commit data...
fixstats_swapmod.pl Loading commit data...
gentopmaps.pl Loading commit data...
imageserver.sql Loading commit data...
init_newids.pl Loading commit data...
init_nodeattrs.pl Loading commit data...
initcerts.pl Loading commit data...
initkey.pl Loading commit data...
initstats.pl Loading commit data...
initvinterfaces.pl Loading commit data...
ipmember.pl Loading commit data...
knowlbase-create.sql Loading commit data...
libtblog-orig.sql Loading commit data...
libtblog.sql Loading commit data...
logfiles.pl Loading commit data...
mod-userstats.pl Loading commit data...
mustdelay.pl Loading commit data...
newlans.pl Loading commit data...
newstates.pl Loading commit data...
nodeutil.pl Loading commit data...
nsfiles.pl Loading commit data...
opsdb.sql Loading commit data...
resources.pl Loading commit data...
sitevars-create.sql Loading commit data...
step2_newids.pl Loading commit data...
step3_newids.pl Loading commit data...
step4_newids.pl Loading commit data...
step5_newids.pl Loading commit data...
tbreport.sql Loading commit data...
templates.sql Loading commit data...
users-create.sql Loading commit data...