Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

KVM VMs not seeing all allocated CPUs on boot

I have a Centos7.1 image in glance and a number of RHEL7.2 KVM compute hosts. I have a flavor with 4 vCPUs, but on one host any VMs I create with nova boot can only activate 1 vCPU. I see the following message in dmesg:

[    0.031808] smpboot: Booting Node   0, Processors  #1
[   10.042850] smpboot: do_boot_cpu failed(-1) to wakeup CPU#1
[   10.043346]  #2
[   20.055013] smpboot: do_boot_cpu failed(-1) to wakeup CPU#2
[   20.057172]  #3 OK
[   30.070564] smpboot: do_boot_cpu failed(-1) to wakeup CPU#3
[   30.070873] Brought up 1 CPUs
[   30.070892] smpboot: Total of 1 processors activated (4399.99 BogoMIPS)

If I create a VM on the same host outside of openstack using virsh and the same image I have in glance it boots up fine with all 4 vCPUs. If I use nova to boot a vm with the same image on another compute host it works fine also.

Has anyone seen this issue before or has any idea what the problem might be.