qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots
@ 2019-02-15 21:03 Larry Dewey
  2019-02-15 21:04 ` [Qemu-devel] [Bug 1816189] " Larry Dewey
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Larry Dewey @ 2019-02-15 21:03 UTC (permalink / raw)
  To: qemu-devel

Public bug reported:

With an update to Qemu (3.1.x) I am unable to revert snapshots using
virt-manager or virsh. Virtual Machines existing before the update seem
to function properly. It is only after creating a new machine that
snapshots are misbehaving. I tested spinning up vms of tumbleweed,
leap15, and ubuntu 18.04. Each of them had the following issues:

- With the machine running, live reversions act like they apply, but no changes are actually made.
- With the machine paused, reversion also does not apply.
- With the machine turned off, reversion is not possible. Virsh is unable to find the snapshot, and virt-manager errors out with:

Error running snapshot 'FreshInstall': internal error: qemu unexpectedly
closed the monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64:
Device 'drive-virtio-disk0' does not have the requested snapshot
'FreshInstall'

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
    callback(asyncjob, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
    callback(*args, **kwargs)
  File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
    ret = fn(self, *args, **kwargs)
  File "/usr/share/virt-manager/virtManager/domain.py", line 1105, in revert_to_snapshot
    self._backend.revertToSnapshot(snap.get_backend())
  File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2024, in revertToSnapshot
    if ret == -1: raise libvirtError ('virDomainRevertToSnapshot() failed', dom=self)

libvirt.libvirtError: internal error: qemu unexpectedly closed the
monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64: Device 'drive-
virtio-disk0' does not have the requested snapshot 'FreshInstall'

After doing some digging, the error occurs because of the following commit:
d98f26073bebddcd3da0ba1b86c3a34e840c0fb8

** Affects: qemu
     Importance: Undecided
         Status: New


** Tags: nest nested nested-virt nesting qemu snap snapshots virtulazation

** Attachment added: "qemu-debug-logs"
   https://bugs.launchpad.net/bugs/1816189/+attachment/5238920/+files/snapshot-specific-debug-output.txt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1816189

Title:
  Unable to create or revert snapshots

Status in QEMU:
  New

Bug description:
  With an update to Qemu (3.1.x) I am unable to revert snapshots using
  virt-manager or virsh. Virtual Machines existing before the update
  seem to function properly. It is only after creating a new machine
  that snapshots are misbehaving. I tested spinning up vms of
  tumbleweed, leap15, and ubuntu 18.04. Each of them had the following
  issues:

  - With the machine running, live reversions act like they apply, but no changes are actually made.
  - With the machine paused, reversion also does not apply.
  - With the machine turned off, reversion is not possible. Virsh is unable to find the snapshot, and virt-manager errors out with:

  Error running snapshot 'FreshInstall': internal error: qemu
  unexpectedly closed the monitor: 2019-01-15T19:19:46.020247Z qemu-
  system-x86_64: Device 'drive-virtio-disk0' does not have the requested
  snapshot 'FreshInstall'

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
      callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
      ret = fn(self, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1105, in revert_to_snapshot
      self._backend.revertToSnapshot(snap.get_backend())
    File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2024, in revertToSnapshot
      if ret == -1: raise libvirtError ('virDomainRevertToSnapshot() failed', dom=self)

  libvirt.libvirtError: internal error: qemu unexpectedly closed the
  monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64: Device
  'drive-virtio-disk0' does not have the requested snapshot
  'FreshInstall'

  After doing some digging, the error occurs because of the following commit:
  d98f26073bebddcd3da0ba1b86c3a34e840c0fb8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1816189/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1816189] Re: Unable to create or revert snapshots
  2019-02-15 21:03 [Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots Larry Dewey
@ 2019-02-15 21:04 ` Larry Dewey
  2019-02-15 21:06 ` Larry Dewey
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 5+ messages in thread
From: Larry Dewey @ 2019-02-15 21:04 UTC (permalink / raw)
  To: qemu-devel

Adding System Information

** Attachment added: "System-Details.txt"
   https://bugs.launchpad.net/qemu/+bug/1816189/+attachment/5238921/+files/System-Details.txt

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1816189

Title:
  Unable to create or revert snapshots

Status in QEMU:
  New

Bug description:
  With an update to Qemu (3.1.x) I am unable to revert snapshots using
  virt-manager or virsh. Virtual Machines existing before the update
  seem to function properly. It is only after creating a new machine
  that snapshots are misbehaving. I tested spinning up vms of
  tumbleweed, leap15, and ubuntu 18.04. Each of them had the following
  issues:

  - With the machine running, live reversions act like they apply, but no changes are actually made.
  - With the machine paused, reversion also does not apply.
  - With the machine turned off, reversion is not possible. Virsh is unable to find the snapshot, and virt-manager errors out with:

  Error running snapshot 'FreshInstall': internal error: qemu
  unexpectedly closed the monitor: 2019-01-15T19:19:46.020247Z qemu-
  system-x86_64: Device 'drive-virtio-disk0' does not have the requested
  snapshot 'FreshInstall'

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
      callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
      ret = fn(self, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1105, in revert_to_snapshot
      self._backend.revertToSnapshot(snap.get_backend())
    File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2024, in revertToSnapshot
      if ret == -1: raise libvirtError ('virDomainRevertToSnapshot() failed', dom=self)

  libvirt.libvirtError: internal error: qemu unexpectedly closed the
  monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64: Device
  'drive-virtio-disk0' does not have the requested snapshot
  'FreshInstall'

  After doing some digging, the error occurs because of the following commit:
  d98f26073bebddcd3da0ba1b86c3a34e840c0fb8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1816189/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Qemu-devel] [Bug 1816189] Re: Unable to create or revert snapshots
  2019-02-15 21:03 [Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots Larry Dewey
  2019-02-15 21:04 ` [Qemu-devel] [Bug 1816189] " Larry Dewey
@ 2019-02-15 21:06 ` Larry Dewey
  2021-02-17  8:20 ` Thomas Huth
  2021-04-19  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Larry Dewey @ 2019-02-15 21:06 UTC (permalink / raw)
  To: qemu-devel

Before kernel 4.20.x this was not an issue as nested virtualization was
not enabled by default. In any distribution using 4.20.x or later,
snapshots and migration do not work.

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1816189

Title:
  Unable to create or revert snapshots

Status in QEMU:
  New

Bug description:
  With an update to Qemu (3.1.x) I am unable to revert snapshots using
  virt-manager or virsh. Virtual Machines existing before the update
  seem to function properly. It is only after creating a new machine
  that snapshots are misbehaving. I tested spinning up vms of
  tumbleweed, leap15, and ubuntu 18.04. Each of them had the following
  issues:

  - With the machine running, live reversions act like they apply, but no changes are actually made.
  - With the machine paused, reversion also does not apply.
  - With the machine turned off, reversion is not possible. Virsh is unable to find the snapshot, and virt-manager errors out with:

  Error running snapshot 'FreshInstall': internal error: qemu
  unexpectedly closed the monitor: 2019-01-15T19:19:46.020247Z qemu-
  system-x86_64: Device 'drive-virtio-disk0' does not have the requested
  snapshot 'FreshInstall'

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
      callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
      ret = fn(self, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1105, in revert_to_snapshot
      self._backend.revertToSnapshot(snap.get_backend())
    File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2024, in revertToSnapshot
      if ret == -1: raise libvirtError ('virDomainRevertToSnapshot() failed', dom=self)

  libvirt.libvirtError: internal error: qemu unexpectedly closed the
  monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64: Device
  'drive-virtio-disk0' does not have the requested snapshot
  'FreshInstall'

  After doing some digging, the error occurs because of the following commit:
  d98f26073bebddcd3da0ba1b86c3a34e840c0fb8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1816189/+subscriptions

^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1816189] Re: Unable to create or revert snapshots
  2019-02-15 21:03 [Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots Larry Dewey
  2019-02-15 21:04 ` [Qemu-devel] [Bug 1816189] " Larry Dewey
  2019-02-15 21:06 ` Larry Dewey
@ 2021-02-17  8:20 ` Thomas Huth
  2021-04-19  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Thomas Huth @ 2021-02-17  8:20 UTC (permalink / raw)
  To: qemu-devel

Can you still reproduce this issue with the latest version of QEMU and
libvirt? Anyway, since the problem occurs with libvirt, have you already
tried to report this issue to the libvirt project instead?

** Changed in: qemu
       Status: New => Incomplete

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1816189

Title:
  Unable to create or revert snapshots

Status in QEMU:
  Incomplete

Bug description:
  With an update to Qemu (3.1.x) I am unable to revert snapshots using
  virt-manager or virsh. Virtual Machines existing before the update
  seem to function properly. It is only after creating a new machine
  that snapshots are misbehaving. I tested spinning up vms of
  tumbleweed, leap15, and ubuntu 18.04. Each of them had the following
  issues:

  - With the machine running, live reversions act like they apply, but no changes are actually made.
  - With the machine paused, reversion also does not apply.
  - With the machine turned off, reversion is not possible. Virsh is unable to find the snapshot, and virt-manager errors out with:

  Error running snapshot 'FreshInstall': internal error: qemu
  unexpectedly closed the monitor: 2019-01-15T19:19:46.020247Z qemu-
  system-x86_64: Device 'drive-virtio-disk0' does not have the requested
  snapshot 'FreshInstall'

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
      callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
      ret = fn(self, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1105, in revert_to_snapshot
      self._backend.revertToSnapshot(snap.get_backend())
    File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2024, in revertToSnapshot
      if ret == -1: raise libvirtError ('virDomainRevertToSnapshot() failed', dom=self)

  libvirt.libvirtError: internal error: qemu unexpectedly closed the
  monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64: Device
  'drive-virtio-disk0' does not have the requested snapshot
  'FreshInstall'

  After doing some digging, the error occurs because of the following commit:
  d98f26073bebddcd3da0ba1b86c3a34e840c0fb8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1816189/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

* [Bug 1816189] Re: Unable to create or revert snapshots
  2019-02-15 21:03 [Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots Larry Dewey
                   ` (2 preceding siblings ...)
  2021-02-17  8:20 ` Thomas Huth
@ 2021-04-19  4:17 ` Launchpad Bug Tracker
  3 siblings, 0 replies; 5+ messages in thread
From: Launchpad Bug Tracker @ 2021-04-19  4:17 UTC (permalink / raw)
  To: qemu-devel

[Expired for QEMU because there has been no activity for 60 days.]

** Changed in: qemu
       Status: Incomplete => Expired

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1816189

Title:
  Unable to create or revert snapshots

Status in QEMU:
  Expired

Bug description:
  With an update to Qemu (3.1.x) I am unable to revert snapshots using
  virt-manager or virsh. Virtual Machines existing before the update
  seem to function properly. It is only after creating a new machine
  that snapshots are misbehaving. I tested spinning up vms of
  tumbleweed, leap15, and ubuntu 18.04. Each of them had the following
  issues:

  - With the machine running, live reversions act like they apply, but no changes are actually made.
  - With the machine paused, reversion also does not apply.
  - With the machine turned off, reversion is not possible. Virsh is unable to find the snapshot, and virt-manager errors out with:

  Error running snapshot 'FreshInstall': internal error: qemu
  unexpectedly closed the monitor: 2019-01-15T19:19:46.020247Z qemu-
  system-x86_64: Device 'drive-virtio-disk0' does not have the requested
  snapshot 'FreshInstall'

  Traceback (most recent call last):
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in cb_wrapper
      callback(asyncjob, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/asyncjob.py", line 111, in tmpcb
      callback(*args, **kwargs)
    File "/usr/share/virt-manager/virtManager/libvirtobject.py", line 66, in newfn
      ret = fn(self, *args, **kwargs)
    File "/usr/share/virt-manager/virtManager/domain.py", line 1105, in revert_to_snapshot
      self._backend.revertToSnapshot(snap.get_backend())
    File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2024, in revertToSnapshot
      if ret == -1: raise libvirtError ('virDomainRevertToSnapshot() failed', dom=self)

  libvirt.libvirtError: internal error: qemu unexpectedly closed the
  monitor: 2019-01-15T19:19:46.020247Z qemu-system-x86_64: Device
  'drive-virtio-disk0' does not have the requested snapshot
  'FreshInstall'

  After doing some digging, the error occurs because of the following commit:
  d98f26073bebddcd3da0ba1b86c3a34e840c0fb8

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1816189/+subscriptions


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2021-04-19  4:27 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-02-15 21:03 [Qemu-devel] [Bug 1816189] [NEW] Unable to create or revert snapshots Larry Dewey
2019-02-15 21:04 ` [Qemu-devel] [Bug 1816189] " Larry Dewey
2019-02-15 21:06 ` Larry Dewey
2021-02-17  8:20 ` Thomas Huth
2021-04-19  4:17 ` Launchpad Bug Tracker

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).