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

Set the aggregate status to failed if any children fail.

parent 5bda7b97
...@@ -2928,7 +2928,7 @@ sub SliceStatus($) ...@@ -2928,7 +2928,7 @@ sub SliceStatus($)
elsif ($node->eventstate() eq TBDB_NODESTATE_TBFAILED()) { elsif ($node->eventstate() eq TBDB_NODESTATE_TBFAILED()) {
$details{$node_uuid} = "failed"; $details{$node_uuid} = "failed";
$detailsNew{$hrn} = "failed"; $detailsNew{$hrn} = "failed";
$summary = "notready"; $summary = "failed";
} }
else { else {
$details{$node_uuid} = "notready"; $details{$node_uuid} = "notready";
...@@ -3137,7 +3137,7 @@ sub SliverStatus($) ...@@ -3137,7 +3137,7 @@ sub SliverStatus($)
elsif ($node->eventstate() eq TBDB_NODESTATE_TBFAILED()) { elsif ($node->eventstate() eq TBDB_NODESTATE_TBFAILED()) {
$details{$node_uuid} = "failed"; $details{$node_uuid} = "failed";
$detailsNew{$hrn} = "failed"; $detailsNew{$hrn} = "failed";
$summary = "notready"; $summary = "failed";
} }
else { else {
$details{$node_uuid} = "notready"; $details{$node_uuid} = "notready";
......
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