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

Make sure we do not swapout the shared pool when swapmod fails.

Just leave it as is!
parent a9fc5fe0
......@@ -451,6 +451,15 @@ $robotexp =
# See below.
my $sharingvlans = $experiment->SharingVlans();
# Do not swapout the shared node experiment on a failed modify.
# Do not reboot or reconfig either.
if ($inout eq "modify" &&
$pid eq TBOPSPID() &&
($eid eq "shared-nodes" || $eid eq "shared-node")) {
$noswapout = 1;
$noreconfig = 1;
# We have to protect against trying to end an experiment that is currently
# in the process of being terminated. We use a "wrapper" state (actually
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