Comment 10 for bug 1517539

Revision history for this message
Alan Krause (alan-krause) wrote :

I just realized that the two commands mentioned above were not the ones I noted in the original ticket, so for completeness, I went back and tried the original command:

virsh snapshot-create-as --quiesce --domain dns sn1 --diskspec hda,file=/home/alank/vm/dns-sn1.qcow2 --disk-only --atomic

This command executes successfully. However, when I attempt to flatten the snapshot back into the base image, with the following command:

virsh blockcommit dns hda --active --verbose --pivot

I receive the following error:

error: internal error: unable to execute QEMU command 'block-commit': Could not reopen file: Permission denied

The qemu packages I have installed are version 1:2.3+dfsg-5ubuntu9.2