postcopy migration fails in hirsute (solved)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Nova Compute Charm |
Triaged
|
Medium
|
Unassigned | ||
qemu (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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:/
But with Hirsute kernel being 5.11 that now contains the following upstream change
=> https:/
Due to that postcopy migration will fail like:
+ lxc exec testkvm-focal-from -- virsh migrate --unsafe --live --postcopy --postcopy-
error: internal error: unable to execute QEMU command 'migrate-
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.unprivilege
Changed in qemu (Ubuntu): | |
status: | New → Invalid |
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.