• Leigh Stoller's avatar
    Such a brutal ElabinElab hack ... When trying to swapin an actual · 0749ef9c
    Leigh Stoller authored
    experiment from the web interface, I ran into another control network
    problem, this time in bootinfo. When a node is sitting free, it waits
    in pxeboot for a bootinfo packet from boss to tell it what to do (this
    is different then when the node is allocated, and bootinfo tells it
    what to do in a reply to the initial request). In the PXEWAIT case, we
    *send* it a packet, addressed to its *control network* address, which
    in the inner DB, is on the inner control network, but of course PXE is
    really using the outer control network, so packets addressed to inner
    control network are never seen by pxeboot.
    
    This is the only (known) case of this happening, and rather then try
    for some general, over engineered solution, I did something unusual,
    and put in a hack, ifdefed for ELABINELAB (meaning, its an inner
    elab). I know, you're thinking, how could he have done such a thing,
    its so unlike him!
    
    Well, it was damn easy! Anyway, this little hack checks the DB for an
    interface tagged as role='outer_ctrl' and uses that IP instead of the
    inner control network. When I create the inner DB from the outer DB, I
    was already leaving the outer control network in place so that
    bootinfo could find the proper node (again, cause the bootinfo request
    packets are coming from the outer control network, and so its IP would
    not match any nodes in the DB).
    
    I'd like to say that this is the last problem with swapin, but I see
    in my other window that the event scheduler failed to start on inner
    ops with some silly error ssh permission denied error. Whats that all
    about?
    0749ef9c
Name
Last commit
Last update
account Loading commit data...
apache Loading commit data...
assign Loading commit data...
autoconf Loading commit data...
capture Loading commit data...
cdrom Loading commit data...
db Loading commit data...
delay/linux Loading commit data...
dhcpd Loading commit data...
discvr Loading commit data...
doc Loading commit data...
event Loading commit data...
hw_config Loading commit data...
hyperviewer Loading commit data...
install Loading commit data...
ipod Loading commit data...
lib Loading commit data...
named Loading commit data...
os Loading commit data...
patches Loading commit data...
pxe Loading commit data...
rc.d Loading commit data...
rpms Loading commit data...
security Loading commit data...
sensors Loading commit data...
sql Loading commit data...
ssl Loading commit data...
sysadmin Loading commit data...
tbsetup Loading commit data...
testsuite Loading commit data...
tip Loading commit data...
tmcd Loading commit data...
tools Loading commit data...
utils Loading commit data...
vis Loading commit data...
www Loading commit data...
xmlrpc Loading commit data...
BUGS Loading commit data...
GNUmakefile.in Loading commit data...
GNUmakerules Loading commit data...
GPL-COPYING Loading commit data...
LICENSE Loading commit data...
Makeconf.in Loading commit data...
README Loading commit data...
TODO Loading commit data...
TODO.plab Loading commit data...
config.h.in Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
defs-aerolab Loading commit data...
defs-barb-emulab Loading commit data...
defs-barb-mini Loading commit data...
defs-calfeld-emulab Loading commit data...
defs-davidand-emulab Loading commit data...
defs-default Loading commit data...
defs-duerig-emulab Loading commit data...
defs-elabinelab Loading commit data...
defs-example Loading commit data...
defs-fish-emulab Loading commit data...
defs-gatech Loading commit data...
defs-kwebb-emulab Loading commit data...
defs-mini Loading commit data...
defs-newbold-emulab Loading commit data...
defs-newbold-macdb Loading commit data...
defs-newbold-mini Loading commit data...
defs-rchriste-emulab Loading commit data...
defs-ricci-emulab Loading commit data...
defs-ricci-mini Loading commit data...
defs-shash-emulab Loading commit data...
defs-shash-mini Loading commit data...
defs-stoller-emulab Loading commit data...
defs-stoller-home Loading commit data...
defs-stoller-mini Loading commit data...
defs-uky Loading commit data...
defs-wide Loading commit data...