RHEL 9.x VMs Are Stuck Booting With Kernel Panic

Problem

  • RHEL 9.x VMs are unable to boot. Booting fails with Kernel Panic. The instance console logs display the following error

Fatal glibc error: CPU does not support x86-64-v2

Environment

  • Platform9 Managed OpenStack - v5.8 and Higher

  • RHEL 9.x

Cause

  • Incompatible CPU model on the host causing instance deployment to fail

Resolution

  • Need to set cpu_mode and cpu_model in /opt/pf9/etc/nova/conf.d/nova_override.conf

[libvirt]
live_migration_uri = qemu+tls://%s/system?no_verify=1&pkipath=/etc/pf9/certs/libvirt
live_migration_flag = VIR_MIGRATE_UNDEFINE_SOURCE, VIR_MIGRATE_PEER2PEER, VIR_MIGRATE_LIVE, VIR_MIGRATE_TUNNELLED
cpu_mode = custom
cpu_model = "<Model_name>"

Additional Information

Last updated