Commit 9a4946bf authored by Leigh B Stoller's avatar Leigh B Stoller

Fix for taking a snapshot of a node running an image alias.

parent a8715637
......@@ -902,11 +902,14 @@ sub DoImageTrackerStuff($$$$$$)
}
}
#
# System Image? We use the URN we get back from CreateSliver().
# System Image? We use the URN we get back from CreateImage().
# The cluster will be the origin for the new image.
#
return 0
if ($blob->{'issystem'});
if (exists($blob->{'issystem'}) && $blob->{'issystem'});
# Image aliases are also considered system images.
return 0
if (exists($blob->{'isimagealias'}) && $blob->{'isimagealias'});
my $image_urn = $blob->{'urn'};
my $copyback_uuid = $blob->{'version_uuid'};
......
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