summary refs log tree commit diff stats
path: root/results/classifier/118/kernel/1926249
diff options
context:
space:
mode:
Diffstat (limited to 'results/classifier/118/kernel/1926249')
-rw-r--r--results/classifier/118/kernel/192624964
1 files changed, 64 insertions, 0 deletions
diff --git a/results/classifier/118/kernel/1926249 b/results/classifier/118/kernel/1926249
new file mode 100644
index 00000000..2875ad08
--- /dev/null
+++ b/results/classifier/118/kernel/1926249
@@ -0,0 +1,64 @@
+kernel: 0.925
+permissions: 0.880
+device: 0.844
+KVM: 0.809
+user-level: 0.794
+PID: 0.791
+semantic: 0.791
+ppc: 0.787
+graphic: 0.775
+VMM: 0.744
+socket: 0.715
+architecture: 0.675
+arm: 0.675
+debug: 0.674
+register: 0.638
+TCG: 0.618
+performance: 0.615
+mistranslation: 0.608
+virtual: 0.581
+vnc: 0.556
+network: 0.545
+risc-v: 0.544
+files: 0.539
+boot: 0.538
+hypervisor: 0.497
+x86: 0.476
+i386: 0.446
+peripherals: 0.369
+assembly: 0.319
+
+postcopy migration fails in hirsute (solved)
+
+FYI: this is an intended change, can be overwritten via config and this bug is mostly to have something puzzled users can find via search engines to explain and solve their issue.
+
+postcopy migration can in some cases be very useful
+=> https://wiki.qemu.org/Features/PostCopyLiveMigration
+
+But with Hirsute kernel being 5.11 that now contains the following upstream change
+=> https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=d0d4730ac2
+
+Due to that postcopy migration will fail like:
+
++ lxc exec testkvm-focal-from -- virsh migrate --unsafe --live --postcopy --postcopy-after-precopy kvmguest-focal-postcopy qemu+ssh://10.85.93.248/system
+error: internal error: unable to execute QEMU command 'migrate-set-capabilities': Postcopy is not supported
+
+This will also apply to e.g. a Focal-HWE kernel once on v5.11 or to Focal userspaces in a container under a Hirsute kernel (that is the example above).
+
+This was done for security reasons, if you want/need to re-enable un-limited userfault handling to be able to use postcopy again you'd want/need to set the control knob to one like:
+$ sudo sysctl -w "vm.unprivileged_userfaultfd=1"
+
+Also documented in https://askubuntu.com/questions/1334249/qemu-kvm-postcopy-migration-fails-in-hirsute-v5-11-kernels-solved/1334250
+
+Also added as known issue in https://discourse.ubuntu.com/t/hirsute-hippo-release-notes/19221
+
+I hope that this will help the case to be found by affected users.
+
+juju config live-migration-permit-post-copy on the nova-compute charm, could auto enable vm.unprivileged_userfaultfd=1, or at least state this requirement on it's description.
+
+I'm assigning this to won't fix based on it being a hirsute issue.  Hirsuite is EOL as of January 20, 2022. However, if this is affecting newer releases of Ubuntu then please re-open.  thanks.
+
+Hi @ajkavanagh, this affects focal-hwe, jammy and will affect any new releases unless this sysctl is set to 1.
+
+Based on @felipe's comment in #4, I'm triaging to medium.  A possible fix is to enable the sysctl to be executed if the config option " enable-live-migration" is set to True in the charm.  This is relatively easy to do.  It should also be documented in the charm-guide if the fix is done.
+