On Mon, Nov 11, 2013 at 03:11:22PM +0100, Sander Grendelman wrote:
I can open a bug on this.
Should I file it for the entire "snapshot removal fails"-problem or
just this error?
"live storage migration snapshot removal fails due to unexpected
qemu-img output", followed by your analisys below, sounds great to me.
I've looked at the parsing error and the problem seems to be that the
qemuImg.check() function expects a qemu-img version that outputs a
string like: "Image end offset: 262144".
The only version I could find that does that is the one in the F19 virt-preview
repository. Stock F19 qemu-img doesn't have this output. Nor do the stock EL6
or qemu-img-rhev EL6 versions.
The only function that calls qemuImg.check is blockVolume.shrinkToOptimalSize()
this function needs (and uses) the parsed offset to shrink the LV containing the
qcow2 image.