the VM is automatically shut down after being started after upgrading the VM OS kernel.

117 0 3 1

【Keywords】intel vulnerability, automatic VM shutdown, and system scheduling

【Version】All FusionCompute version

【Fault mode】USB device

Issue DescriptionThe VM is automatically shut down immediately after it is started.

Handling Process

1. Logging in to the FC portal, and find that the VM is automatically shut down after the VM startup task is complete. From the task center on the portal, it shows that the operation is scheduled by the system.

2. The libvirt log shows that the VM triggers the shutdown _poweroff task.

      152948iwqyqq6u6iouqqhx.png?image.png  

Solution

1.       Bind the VM to a fixed host and start the VM from the FC portal. After the VM is started, log in to the host immediately and run the virsh suspend ID command to suspend the VM at the bottom layer. Note: The ID is the ID of the VM that is displayed after you run the xl list command.

2. Log in to the FC portal, open the VNC window of the VM, then log in to the VM, run the virsh resume ID command to restore the suspended VM, and return to the VNC immediately, and press and hold the e key until the kernel loading option page is displayed. You can see that the VM has two kernels.

       153010bwga33l2ard2hziw.png?image.png

3.       Select a non-default kernel, log in to the VM, and change the default value in /boot/grub/menu.lst of the VM to enable it to boot from other kernels.

Conclusion

The OS kernel has been upgraded, which causes compatibility issue, making the OS automatically shut down when loading the kernel.


  • x
  • convention:

Login and enjoy all the member benefits

Login and enjoy all the member benefits

Login