summary refs log tree commit diff stats
path: root/gitlab/issues/target_i386/host_missing/accel_missing/975.toml
diff options
context:
space:
mode:
Diffstat (limited to 'gitlab/issues/target_i386/host_missing/accel_missing/975.toml')
-rw-r--r--gitlab/issues/target_i386/host_missing/accel_missing/975.toml46
1 files changed, 46 insertions, 0 deletions
diff --git a/gitlab/issues/target_i386/host_missing/accel_missing/975.toml b/gitlab/issues/target_i386/host_missing/accel_missing/975.toml
new file mode 100644
index 00000000..696bce81
--- /dev/null
+++ b/gitlab/issues/target_i386/host_missing/accel_missing/975.toml
@@ -0,0 +1,46 @@
+id = 975
+title = "LXD with QEMU 6.2.0 (and 7.0.0-rc3) breaks during stateful migration"
+state = "opened"
+created_at = "2022-04-11T08:58:04.775Z"
+closed_at = "n/a"
+labels = ["target: i386"]
+url = "https://gitlab.com/qemu-project/qemu/-/issues/975"
+host-os = "Ubuntu Jammy"
+host-arch = "x86_64"
+qemu-version = "QEMU emulator version 6.2.0 (Debian 1:6.2+dfsg-2ubuntu5) (and also custom build of 7.0.0-rc3)"
+guest-os = "Ubuntu Focal"
+guest-arch = "x86_64"
+description = """"""
+reproduce = """```
+sudo snap install --lxd
+sudo lxd init --auto
+lxc init images:ubuntu/20.04/cloud v1 --vm
+Creating v1
+lxc config device override v1 root size.state=2GiB
+Device root overridden for v1
+lxc config set v1 migration.stateful=true
+lxc start v1
+sleep 10
+lxc exec v1 -- uptime
+ 22:05:54 up 0 min,  0 users,  load average: 0.07, 0.02, 0.00
+lxc snapshot v1 --stateful
+Error: Migration call failed
+lxc snapshot v1 --stateful
+Error: Monitor is disconnected
+```
+
+The first attempt at `lxc snapshot v1 --stateful` caused this in the `lxc info v1 --show-log` log output:
+
+```
+qemu-system-x86_64: qemu_savevm_state_complete_precopy_non_iterable: bdrv_inactivate_all() failed (-1)
+```
+
+The second attempt caused this:
+
+```
+qemu-system-x86_64: ../block.c:6757: bdrv_inactivate_recurse: Assertion `!(bs->open_flags & BDRV_O_INACTIVE)' failed.
+```
+
+Which crashed QEMU completely and caused the VM to die.
+Nothing relevant showed up in dmesg, so this wasn't caused by an obvious seccomp or apparmor policy issue."""
+additional = """Originally reported by Stephane Graber at https://github.com/lxc/lxd/issues/9875"""