Commit 972eac7f authored by Leigh Stoller's avatar Leigh Stoller

Do not mess with ualloc switches that look to be in an odd state, they

are odd all the time. This was one cause of transient failures to reload
or reboot, checknodes was sucking them up and power cycling them.
parent b6c5f701
#!/usr/bin/perl -w
#
# Copyright (c) 2009-2011 University of Utah and the Flux Group.
# Copyright (c) 2009-2018 University of Utah and the Flux Group.
#
# {{{EMULAB-LICENSE
#
......@@ -204,6 +204,7 @@ while (1) {
" n.eventstate!='". TBDB_NODESTATE_ALWAYSUP ."' and ".
" n.eventstate!='". TBDB_NODESTATE_POWEROFF ."') and ".
" r.pid is null and n.role='testnode' and ".
" t.class!='switch' and ".
" t.isvirtnode=0 and ".
" (UNIX_TIMESTAMP(now()) - n.state_timestamp) > 600");
goto loop
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment