View Issue Details

IDProjectCategoryView StatusLast Update
0003565Rocky-Linux-8kernelpublic2023-09-01 17:57
ReporterWessel Sandkuijl Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status newResolutionopen 
Summary0003565: KVM live migrate of Rocky Linux 8.8 VM crashes/reboots VM
DescriptionI've updated a few VM's from Rocky Linux 8.7 to 8.8. Live migrating these 8.8 VM's now causes a reboot of the VM instead of a regular live migrate. This issue doesn't happen with Rocky Linux 8.7.

I'm using XCP-ng as virtualisation platform. The team of XCP-ng is able to replicate this issue. I've tried updating the xe-tools to the latest version available on github (7.20.2-1), this didn't solve the issue.

I've done some testing and it looks to be kernel related. The stock Rocky Linux 8.8 kernel (4.18.0-477.13.1.el8_8.x86_64) causes the reboot to happen. Upgrading the kernel to kernel-lt (5.4.245-1.1.el8.elrepo.x86_64) allows the VM to be live-migrated again without reboot/crash.
Steps To ReproduceInstall VM with stock Rocky Linux 8.8 on XCP-ng, live migrate this VM.
TagsNo tags attached.

Activities

user4325

2023-06-09 08:19

  ~0003796

Apologies for the mistake in the title. KVM should be Xen.
Wessel Sandkuijl

Wessel Sandkuijl

2023-06-10 07:16

reporter   ~0003829

To give a quick update, apparently this is caused by a missing patch in kernel versions starting with 4.18.0-466.el8. The very competent folks at XCP-ng figured this out: https://xcp-ng.org/forum/topic/7420/live-migrate-of-rocky-linux-8-8-vm-crashes-reboots-vm/12.
Jamie Schnaitter

Jamie Schnaitter

2023-07-03 18:12

reporter   ~0003961

I can confirm that we also face this issue at my institution, using XCP-ng as the hypervisor. Is there any prospect on when the patch will be ported into Rocky? As the above link shows, the necessary patch is in 4.18.0-488
Louis Abel

Louis Abel

2023-07-04 04:56

administrator   ~0003994

The bugzilla that notes this fix for -488 (in stream) as noted in the changelog is here: https://bugzilla.redhat.com/show_bug.cgi?id=2187810 - However it is set to private, so it is unclear when it will make it downstream to us.

We do not generally make own backports to these. We will need to wait this week or next for the patch to become available from Red Hat.
Raf van de Vreugde

Raf van de Vreugde

2023-08-09 16:49

reporter   ~0004291

Problem still persist with the latest Citrix HyperVisor 8.2CU1 patchlevel XS82ECU1045!
Rocky Linux 8.8 latest version
  Linux ... 4.18.0-477.15.1.el8_8.x86_64 #1 SMP Wed Jun 28 15:04:18 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
Louis Abel

Louis Abel

2023-08-09 16:50

administrator   ~0004292

4.18.0-477.15.1.el8_8 is not the latest kernel. Please update to 4.18.0-477.21.1.el8_8.
Raf van de Vreugde

Raf van de Vreugde

2023-08-09 17:35

reporter   ~0004293

Installed the latest updates, latest kernel
  Linux srv-mon-060 4.18.0-477.21.1.el8_8.x86_64 #1 SMP Tue Aug 8 21:30:09 UTC 2023 x86_64 x86_64 x86_64 GNU/Linux
but after migration still a probable problem (no reboot)
  -> see attached screenshot
image.png (10,243 bytes)   
image.png (10,243 bytes)   
Akemi Yagi

Akemi Yagi

2023-09-01 17:57

reporter   ~0004490

Assuming the fix will be in el8.9, a temporary solution may be to use elrepo's kernel-lt (or kernel-ml) as the submitter indicated.

dnf install https://www.elrepo.org/elrepo-release-8.el8.elrepo.noarch.rpm
dnf --enablerepo=elrepo-kernel install kernel-lt

Issue History

Date Modified Username Field Change
2023-06-09 06:57 Wessel Sandkuijl New Issue
2023-06-09 08:19 user4325 Note Added: 0003796
2023-06-10 07:16 Wessel Sandkuijl Note Added: 0003829
2023-07-03 18:12 Jamie Schnaitter Note Added: 0003961
2023-07-04 04:56 Louis Abel Note Added: 0003994
2023-08-09 16:49 Raf van de Vreugde Note Added: 0004291
2023-08-09 16:50 Louis Abel Note Added: 0004292
2023-08-09 17:35 Raf van de Vreugde Note Added: 0004293
2023-08-09 17:35 Raf van de Vreugde File Added: image.png
2023-09-01 17:57 Akemi Yagi Note Added: 0004490