All new accounts created on Gitlab now require administrator approval. If you invite any collaborators, please let Flux staff know so they can approve the accounts.

Commit d243779f authored by Leigh B. Stoller's avatar Leigh B. Stoller

Fix minor bug; TBSetNodeLogEntry() takes a dbuid, not a perl $UID.

This caused the reporting_uid field of 20,000 rows to be set to zero
instead of a string.
parent ef0dd6c9
#!/usr/bin/perl -w
#
# EMULAB-COPYRIGHT
# Copyright (c) 2000-2005 University of Utah and the Flux Group.
# Copyright (c) 2000-2005, 2007 University of Utah and the Flux Group.
# All rights reserved.
#
use English;
......@@ -187,7 +187,7 @@ while (my ($node) = $query_result->fetchrow_array) {
if ($verbose);
if (!$debug) {
MarkPhysNodeDown($node);
TBSetNodeLogEntry($node, $UID, TB_DEFAULT_NODELOGTYPE(),
TBSetNodeLogEntry($node, "root", TB_DEFAULT_NODELOGTYPE(),
"'Moved to hwdown by node_status; ".
"did not report in for more than $timeout seconds.'");
}
......
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