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