Commit e54f05ed authored by Mike Hibler's avatar Mike Hibler

Run linktest if only non-linktest OSes are on blockstore nodes.

Now you can actually run linktest on a topo that involves one or
more persistent blockstore nodes.
parent 3d978858
......@@ -239,11 +239,22 @@ elsif ($cancel) {
my @hosed = ();
$experiment->LinkTestCapable(\@hosed);
if (@hosed > 0) {
# XXX eliminate blockstore hosts
my @nonbs = ();
foreach my $vname (@hosed) {
my $node = $experiment->VnameToNode($vname);
if ($node && $node->type() eq "blockstore") {
;
} else {
push @nonbs, $vname;
}
}
if (@nonbs > 0) {
print STDERR
"*** Nodes running an OSID that does not support linktest:\n";
print STDERR
"*** ", join(' ', @hosed), "\n";
"*** ", join(' ', @nonbs), "\n";
if (!$forcerun) {
die("*** $0:\n".
" Aborting linktest since not all nodes support it!\n");
......
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