Live migration to host with advanced cpu results in instance inheriting incorrect cpu_model, even when overridden in nova.conf
Andy Speagle
aspeagle at toyon.com
Tue Feb 14 06:02:57 UTC 2023
Hey Folks,
We have a number of nodes in our openstack cluster who have the same
family CPU (IvyBridge-IBRS) ... and one advanced CPU (Broadwell-IBRS).
We have set the cpu_mode to custom and overridden the cpu_model to
IvyBridge-IBRS so that all of the hosts would be compatible.
This seems to work for instances started on the advanced host... we can
live migrate off of the host. But... when we live migrate instances TO
the advanced host... they seem to inherit the wrong CPU type.
Example:
If I live migrated onto the advanced host and then try to live migrate
off of it... nova-compute logs on the older host throw:
Error: Migration pre-check error: Unacceptable CPU info: CPU doesn't
have compatibility.
And the output clearly shows that it thinks it was launched on the
Broadwell CPU:
Instance launched has CPU info: {"arch": "x86_64", "model": "Broadwell-
IBRS", "vendor": "Intel" ...
With that instance on the advanced host, if I restart it... magically
it comes up with the correct cpu_model and can be live migrated off...
We're running ussuri ... does anyone know if this is known behavior?
Could I have a misconfiguration somewhere?
Thanks.
--
Andy Speagle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 14311 bytes
Desc: not available
URL: <https://lists.openstack.org/pipermail/openstack-discuss/attachments/20230214/bd040d4e/attachment-0001.bin>
More information about the openstack-discuss
mailing list