Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CPU Model / nested virt problem after lifemigration #88

Open
rbo opened this issue Jan 9, 2025 · 0 comments
Open

CPU Model / nested virt problem after lifemigration #88

rbo opened this issue Jan 9, 2025 · 0 comments

Comments

@rbo
Copy link
Member

rbo commented Jan 9, 2025

After a life migration of a virtualized cluster node, virt-handler on that particular node won't start with error:

$ kubectl logs -n kubevirt virt-handler-4w99d virt-launcher
error: failed to get emulator capabilities

error: internal error: Failed to start QEMU binary /usr/libexec/qemu-kvm for probing: libvirt: error : cannot execute binary /usr/libexec/qemu-kvm: Permission denied

Check journalctl at the node:

    [core@ocp1-worker-3 ~]$ journalctl -b | grep kvm
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU4 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU1 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU0 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm_intel: Inconsistent VMCS config on CPU 7
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm_intel: Inconsistent VMCS config on CPU 5
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm_intel: Inconsistent VMCS config on CPU 3
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU6 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU2 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU5 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU7 failed
    Jan 09 10:40:20 ocp1-worker-3 kernel: kvm: enabling virtualization on CPU3 failed

Reboot of worker VM helps...

Looks like we have to settle the CPU features of a minimum or add a proper selector.

/cc @rguske idea?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant