Red Hat Bugzilla – Bug 1011875
virsh snapshot-revert requires force parameter
Last modified: 2014-04-04 16:56:53 EDT
This bug is occurred in latest rhel6.5, so clone it to rhel6.5.
But the error message is a little difference, here is the error message in rhel6.5:
# virsh snapshot-create-as a sp1
Domain snapshot sp1 created
# virsh snapshot-revert a sp1
error: revert requires force: Target controller type ide does not match source usb
+++ This bug was initially created as a clone of Bug #1006886 +++
Description of problem:
The internal snapshot cannot be reverted. It requires a force parameter but it should work without this parameter.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. virsh snapshot-create domain
2. virsh snapshot-revert domain snapshot-id
error: revert requires force: Target device address type none does not match source pci
The snapshot should be reverted successfully without an error message.
--- Additional comment from Peter Krempa on 2013-09-12 06:20:29 EDT ---
Patch posted upstream http://www.redhat.com/archives/libvir-list/2013-September/msg00688.html
--- Additional comment from Peter Krempa on 2013-09-12 10:16:59 EDT ---
--- Additional comment from Shanzhi Yu on 2013-09-15 21:21:54 EDT ---
Verify this bug with package libvirt-1.1.1-5.el7.x86_64
1. exist an guest
# virsh list
Id Name State
9 rhel7qcow2 running
2. create an snapshot
# virsh snapshot-create rhel7qcow2
Domain snapshot 1379294046 created
3. revert the snapshot
# virsh snapshot-revert rhel7qcow2 1379294046
Succeed reverting snapshot with no error,so verify this bug.
*** Bug 1033437 has been marked as a duplicate of this bug. ***
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.