Commit cbaf60fd authored by Leigh Stoller's avatar Leigh Stoller

Add back in the node_status changes that got lost when Rob reverted

to old assign and friends. The installed version was checking the
nodes table, which is no longer updated. See, thats why rtagging the
entire tree is so nice ...
parent 20600524
......@@ -117,11 +117,12 @@ $result =
DBQueryFatal("select a.node_id,a.type from nodes as a ".
"left join reserved as b on a.node_id=b.node_id ".
"left join reserved as m on a.phys_nodeid=m.node_id ".
"left join nodes as n on a.phys_nodeid=n.node_id ".
"left join node_status as ns on a.phys_nodeid=ns.node_id ".
"left join node_types as t on t.type=a.type ".
"where b.node_id is null and $pcvmhack ".
" $pc601hack_none ".
" (a.role='testnode' or ".
" (a.role='virtnode' and n.status='up' and ".
" (a.role='virtnode' and ns.status='up' and ".
" (m.node_id is null or ".
" m.pid!='$DEADPID' or m.eid!='$DEADEID')))");
......
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