Good day,
I’m running the vsphere_guest module agains an ESXi 5.5 u1 server.
I can successfully create the VM however when I assign the VM the following settings in my playbook:
numvcpus = “2”
cpuid.coresPerSocket = “1”
I get an error message in the VSphere Client that “Number of cores per socket cannot be greater than number of virtual CPUs”
Yes, I’ve already researched that error message. The problem is that when you view the actual settings for the CPU on the new VM the multiplication of virtual sockets x cores per socket is calculated wrong.
The instance listed above would create a Total Number of Cores = 2. The value it has after running the playbook is 1. If I manually change the values they will multiply correctly and I will no longer get this error message.
Anyone have any suggestions?
Chris