Commit d7527bd2 authored by Leigh B Stoller's avatar Leigh B Stoller

Couple of small stitching fixes for the status page.

parent de7cd947
......@@ -587,6 +587,8 @@ if ($usestitcher) {
$webtask->Exited($rval);
exit($rval);
}
$instance->SetStatus("provisioned");
$instance->ComputeNodeCounts();
}
else {
my $rval = CreateSlivers();
......@@ -1196,6 +1198,14 @@ sub RunStitcher()
my $failed = 0;
my $errcode = GENIRESPONSE_STITCHER_ERROR();
#
# If starting the experiment (it might have been deferred), then
# initialize the start time.
#
if (!defined($instance->started())) {
$instance->Start();
}
#
# Mark the aggregates as doing something, we never retry these
# on any stitcher failure.
......
......@@ -1040,8 +1040,6 @@ $(function ()
return;
}
$.each(statusblob , function(urn, iblob) {
var cluster_id = amlist[urn].nickname;
// Will not have node details until manifest is ready.
if (!_.has(iblob, "details")) {
if (iblob.status == "deferred") {
......@@ -1124,6 +1122,7 @@ $(function ()
'#listview-row-' + node_id + ' td[name="client_id"]')
.css("color", "");
}
var cluster_id = amlist[urn].nickname;
var html =
"<table class='table table-condensed border-none'><tbody> " +
......
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