Comment 9 for bug 1621067

Revision history for this message
Roman Podoliaka (rpodolyaka) wrote :

Alexey St.

>>> Nova team, can you please check if we can do something about comment https://bugs.launchpad.net/mos/+bug/1621067/comments/3

I'm not sure, what you want to see here: a statement be added to libvirt nova driver code, that would add this section to a domain XML for all guests? Or make it a conditional statement based on what, qemu version / image? Nova just *does not* know what is there inside an image, and I don't think we can rely on the metadata to be set properly for all uploaded images.

In my opinion the clean way to fix this would be to set the cpu_model in nova.conf based on your host configuration after performing tests with most popular cloud images. Which is kind of what we did, it's just that we set a *safe* default and what you want too see is one, that would allow for performance optimizations.

I'd rather we keep the one that works for popular cloud images, but at the same time send a clear message to operators, that they can use the cpu_model option in nova.conf to configure a CPU model that better corresponds to the hardware they have, if they have tested it properly.