Is there a better way to get sockets, cores, and threads working with IceHouse?
When I launch a Windows image using Ice House, it only gives me 4 cores instead of the 22 cores I originally assigned in the flavor.
This is because Windows can only apply 4 cores to 1 socket. I found a way to modify the /usr/lib/python2.6/site-pacakges/nova/virt/libvirt/driver.py file to get this to work, but I need to make this change to each compute node.
Note: Spacing matters.. use spaces and not tabs, and make sure to use spaces on either side of the equals.
3) Also, make sure total vcpus is set right. In my case, I changed the vpcu to 42 in the flavor (372=42), however you could hard code it here too.
4) Hard Reboot I also needed to hard reboot the instance for the change to take effect.
However, is there a better way to change the values (sockets, cores, threads) dynamically without having to redeploy when the flavor changes?