Commits
Igor Sukhih authored and Kir Kolyshkin committed 5972beb344e
Fixed offline snapshot creation Creating a snapshot for stopped CT fails miserably: # vzctl snapshot 902 Creating snapshot {b780f674-baa2-4f91-ba2a-85ac51b49761} Storing /vz/private/902/Snapshots.xml.tmp Storing /vz/private/902/root.hdd/DiskDescriptor.xml.tmp Error in get_image_size (ploop.c:1844): Can't find image by top guid {5fbaabe3-6958-40ff-92a7-860e329aab41} Failed to create snapshot: Error in get_image_size (ploop.c:1844): Can't find image by top guid {5fbaabe3-6958-40ff-92a7-860e329aab41} [38] Failed to create snapshot The reason is the top guid is changed if param->guid & param->snap_guid are both specified. Reference: PSBM-13257 Reference: ploop@765419 Signed-off-by: Kir Kolyshkin <kir@openvz.org>