Skip to main content

Posts

Showing posts from April, 2024

KVM Virtual machines not starting on Exadata

 Exadata KVM virtual machines not starting   We have a customer where all KVM machines were not starting.  The machines is encountering the following error during startup:   [root@dbnode1 ~]# virsh start dbnode1 error: Failed to start domain dbnode1 error: internal error: process exited while connecting to monitor: 2024-04-27Tqemu-system-x86_64: -blockdev {"driver":"file","filename":"/EXAVMIMAGES/GuestImages/hostname.com/System.img","node-name":"libvirt-9-storage","cache":{"direct":false,"no-flush":false},"auto-read-only":true,"discard":"unmap"}: Could not open '/EXAVMIMAGES/GuestImages/hostname.com/System.img': Permission denied   Cause: Due to the installation of some third-party security components libvirtd package and its libraries were not functioning properly.   Solution: Rsinstall the libvirtd package Update file:  /etc/libvirt/q...

Oracle KVM on Linux 9 with Kernel Error

KVM Virtual machine errored with following Error. Issue: When we were trying to install the guest packages then the VM hosted with OEL9 KVM crashed with the following Error.   Wed Apr 17 16:03:45 GMT 2024 [ 5.310837] x86/mm: Checked W+X mappings:passed, no W+X pages found. Wed Apr 17 16:03:45 GMT 2024 [ 5.312259] Run /init as init process Wed Apr 17 16:03:45 GMT 2024 Fatal glibc error: CPU does not supportx86-64-v2 Wed Apr 17 16:03:45 GMT 2024 [ 5.314075] Kernel panic - not syncing:Attempted to kill init! exitcode=0x00007f00 Wed Apr 17 16:03:45 GMT 2024 [ 5.315686] CPU: 1 PID: 1 Comm: init Not tainted5.14.0-70.5.1.el9_0.x86_64 #1 Wed Apr 17 16:03:45 GMT 2024 [ 5.317214] Hardware name: QEMU Standard PC (Q35+ ICH9, 2009)   Cause: The installed glibc version of the operating system doesn’t set the CPU flags correctly in  the VM configuration.   Solution: As a workaround use the following commands:   #virsh edit vm-name   Then, add...

Oracle KVM qemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory"

 Oracle KVM Service fails to start with following error: #virsh start db-node1 error: Failed to start domain 'db-node1' error: internal error: QEMU unexpectedly closed the monitor (vm='db-node1'): 2024-04-08Tqemu-kvm: unable to map backing store for guest RAM: Cannot allocate memory   This issue is happening due to the wrong version of the packages:   # rpm -qa | grep qemu qemu-img-8.0.0-16.el9_3.1.x86_64 libvirt-daemon-driver-qemu-9.5.0-7.0.1.el9_3.x86_64 qemu-kvm-tools-8.0.0-16.el9_3.1.x86_64 qemu-pr-helper-8.0.0-16.el9_3.1.x86_64 qemu-kvm-docs-8.0.0-16.el9_3.1.x86_64 ipxe-roms-qemu-20200823-9.git4bd064de.el9_0.noarch qemu-kvm-common-8.0.0-16.el9_3.1.x86_64 qemu-kvm-device-display-virtio-gpu-8.0.0-16.el9_3.1.x86_64 qemu-kvm-ui-opengl-8.0.0-16.el9_3.1.x86_64 qemu-kvm-ui-egl-headless-8.0.0-16.el9_3.1.x86_64 qemu-kvm-device-display-virtio-gpu-pci-8.0.0-16.el9_3.1.x86_64 qemu-kvm-block-blkio-8.0.0-16.el9_3.1.x86_64 qemu-kvm-block-rbd-8.0.0-16.el9_3.1.x86_64 qemu-kvm-devic...