Guest hang on reboot after migration from bionic to focal
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
Focal |
Fix Released
|
Medium
|
Unassigned |
Bug Description
[Impact]
* Upstream skipped rom resets which turned out to affect the
rebootability of guests migrated onto the new systems.
* backport a fix of 5.0 to Focal to fix issues with those guests.
[Test Case]
1. spawn guest on bionic
$ uvt-kvm create --password ubuntu testguest arch=amd64 release=bionic label=daily
2. migrate it over to a focal system
$ virsh migrate --live testguest qemu+ssh:
3. check on focal if the guest arrived e.g. log in
$ virsh console testguest
testguest login: ubuntu
Password:
4. reboot the guest
ubuntu@
Without the fix it will hang, with the fix the reboot succeeds
[Regression Potential]
* The area of guest start/restart is the most likely place for any
unexpected effects to happen. We will run the tests mentioned above
plus regression tests.
[Other Info]
* added this kind of test to the TODO list of the regression tests
* If affected you can migrate the guest even Focal->fixed-Focal and then
it should be able to restart
---
When migrating a guest from a bionic host to a focal host, the guest may hang during reboot. This is due to an upstream optimization that skips ROM reset on incoming migrations.
Full details and patch in:
https:/
Related branches
- Robie Basak: Approve (sru)
- Canonical Server: Pending requested
- git-ubuntu developers: Pending requested
-
Diff: 520 lines (+480/-0)6 files modifieddebian/changelog (+10/-0)
debian/patches/series (+4/-0)
debian/patches/ubuntu/lp-1849644-io-channel-websock-treat-binary-and-no-sub-protocol-.patch (+127/-0)
debian/patches/ubuntu/lp-1882774-i386-Add-2nd-Generation-AMD-EPYC-processors.patch (+191/-0)
debian/patches/ubuntu/lp-1882774-i386-Add-missing-cpu-feature-bits-in-EPYC-model.patch (+76/-0)
debian/patches/ubuntu/lp-1896751-exec-rom_reset-Free-rom-data-during-inmigrate-skip.patch (+72/-0)
description: | updated |
Changed in qemu (Ubuntu Focal): | |
status: | Triaged → In Progress |
This is in v5.0.0 so fixed in Groovy.
But the offending patch is in Focal so there we need a fix.
@Markus - is there anything needed to reproduce (particular guest config) other than migrating from B->F and then rebooting?