summary refs log tree commit diff stats
path: root/gitlab/issues/target_missing/host_missing/accel_missing/686.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_missing/host_missing/accel_missing/686.toml')
-rw-r--r--gitlab/issues/target_missing/host_missing/accel_missing/686.toml47
1 files changed, 47 insertions, 0 deletions
diff --git a/gitlab/issues/target_missing/host_missing/accel_missing/686.toml b/gitlab/issues/target_missing/host_missing/accel_missing/686.toml
new file mode 100644
index 000000000..a437d7233
--- /dev/null
+++ b/gitlab/issues/target_missing/host_missing/accel_missing/686.toml
@@ -0,0 +1,47 @@
+id = 686
+title = "Qemu crashes if it is paused and migrated twice"
+state = "closed"
+created_at = "2021-10-22T16:12:51.422Z"
+closed_at = "2025-01-13T14:30:23.581Z"
+labels = ["Migration"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/686"
+host-os = "Linux, Ubuntu Bionic"
+host-arch = "x86_64"
+qemu-version = "QEMU emulator version 4.2.1 (Debian 1:4.2-3ubuntu6.18+syseleven0) (local patch to disable OFD locks)"
+guest-os = "Linux, Ubuntu 20.04.3 LTS (Focal Fossa)"
+guest-arch = "x86_64"
+description = """If the vm is in PAUSED state (in Openstack parlance) (I think libvirt calls that paused as well but uses the command `virsh suspend`), and live-migrated twice, the second time the Qemu process terminates.
+
+This is perfectly repeatable.
+
+If the VM is unpaused and re-paused after the first migration, then the problem does not occur on the next migration."""
+reproduce = """See also the referenced bug report to openstack, above.
+1. `$ openstack stack create ....`
+2. `$ openstack server pause <UUID>`
+(wait until done)
+3. `$ openstack server migrate --live-migration <UUID>`
+(wait until done)
+4. `$ openstack server migrate --live-migration <UUID>`
+
+The VM is now in ERROR state because it has disappeared: `libvirt.libvirtError: Domain not found: no domain with matching uuid '<UUID>'`"""
+additional = """The last few lines from the instance-00000ba2.log seem pertinent (this is from the receiving Qemu instance):
+```
+2021-10-22 15:32:53.829+0000: initiating migration
+qemu-system-x86_64: /build/qemu-lb4V37/qemu-4.2/block.c:5523: bdrv_inactivate_recurse: Assertion `!(bs->open_flags & BDRV_O_INACTIVE)' failed.
+2021-10-22 15:32:59.122+0000: shutting down, reason=crashed
+```
+This is logged by libvirt (also on the receiving side):
+```
+Oct 22 15:29:04 ybk140931 ovs-vsctl[20174]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-port tap3a71aa63-6a
+Oct 22 15:31:31 ybk140931 ovs-vsctl[21412]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-port tap3a71aa63-6a -- add-port br-int tap3a71aa63-6a -- set Interface tap3a71aa63-6a "external-ids:attached-mac=\\"fa:16:3e:da:03:56\\"" -- set Interface tap3a71aa63-6a "external-ids:iface-id=\\"3a71aa63-6a39-41d8-9602-04b84834db9e\\"" -- set Interface tap3a71aa63-6a "external-ids:vm-id=\\"de2b27d2-345c-45fc-8f37-2fa0ed1a1151\\"" -- set Interface tap3a71aa63-6a external-ids:iface-status=active
+Oct 22 15:32:58 ybk140931 libvirtd[3237]: Unable to read from monitor: Connection reset by peer
+Oct 22 15:32:59 ybk140931 ovs-vsctl[22001]: ovs|00001|vsctl|INFO|Called as ovs-vsctl --timeout=5 -- --if-exists del-port tap3a71aa63-6a
+Oct 22 15:32:59 ybk140931 libvirtd[3237]: operation failed: domain is not running
+Oct 22 15:32:59 ybk140931 libvirtd[3237]: internal error: qemu unexpectedly closed the monitor: 2021-10-22T15:32:58.845667Z qemu-system-x86_64: Failed to load virtio_pci/modern_queue_state:used
+                                          2021-10-22T15:32:58.845687Z qemu-system-x86_64: Failed to load virtio_pci/modern_state:vqs
+                                          2021-10-22T15:32:58.845690Z qemu-system-x86_64: Failed to load virtio/extra_state:extra_state
+                                          2021-10-22T15:32:58.845692Z qemu-system-x86_64: Failed to load virtio-rng:virtio
+                                          2021-10-22T15:32:58.845695Z qemu-system-x86_64: error while loading state for instance 0x0 of device '0000:00:06.0/virtio-rng'
+                                          2021-10-22T15:32:58.847860Z qemu-system-x86_64: load of migration failed: Input/output error
+Oct 22 15:32:59 ybk140931 libvirtd[3237]: operation failed: domain 'instance-00000ba2' is not running
+```"""