Snapshot operation aborted and volume usage

Liran Rotenberg lrotenbe at redhat.com
Thu Mar 11 08:51:13 UTC 2021


We recently had this bug[1]. The thought that came from it is the handling
of error code after running virDomainSnapshotCreateXML, we encountered
VIR_ERR_OPERATION_ABORTED(78).
Apparently, the new volume is in use. Are there cases where this will
happen and the new volume won't appear in the volumes chain? Can we detect
/ know when?
Thinking aloud, if we can detect such cases we can prevent rolling back by
reporting it back from VDSM to ovirt. Or, if it can't be detected to go on
the safe side in order to save data corruption and prevent the rollback as
well.

Currently, in ovirt, if the job is aborted, we will look into the chain to
decide whether to rollback or not.

Regards,
Liran.

[1] - https://bugzilla.redhat.com/show_bug.cgi?id=1916122
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/libvirt-users/attachments/20210311/de0a787a/attachment.htm>


More information about the libvirt-users mailing list