Bug 2158181 - nova-compute container won't start when specifying x86_Icelake-Server CPU model
Summary: nova-compute container won't start when specifying x86_Icelake-Server CPU model
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-nova
Version: 16.2 (Train)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: z5
: 16.2 (Train on RHEL 8.4)
Assignee: Kashyap Chamarthy
QA Contact: James Parker
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2023-01-04 14:05 UTC by Joaquín Veira
Modified: 2023-09-19 04:32 UTC (History)
13 users (show)

Fixed In Version: openstack-nova-20.6.2-2.20230308185148.fc01371.el8ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2023-04-26 12:18:09 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 870794 0 None MERGED libvirt: At start-up rework compareCPU() usage with a workaround 2023-03-24 15:35:49 UTC
Red Hat Issue Tracker OSP-21157 0 None None None 2023-01-04 14:08:37 UTC
Red Hat Product Errata RHSA-2023:1948 0 None None None 2023-04-26 12:18:57 UTC

Description Joaquín Veira 2023-01-04 14:05:28 UTC
Description of problem:
Related to https://bugzilla.redhat.com/show_bug.cgi?id=2138381
RHOSP 16.2.4
nova-compute container does not start and shows in logs "nova.exception.InvalidCPUInfo: Configured CPU model: Icelake-Server-noTSX is not compatible with host CPU. Please correct your config and try again. Unacceptable CPU info: CPU doesn't have compatibility."

Customer tried suggested configuration:

remove:
~~~
cpu_model_extra_flags = -mpx
~~~
and keep only:
~~~
cpu_model=Skylake-Server-noTSX-IBRS
~~~

And tried the following combinations:
~~~
cpu_model_extra_flags = -mpx
cpu_model=Icelake-Server-noTSX
~~~
and 
~~~
#cpu_model_extra_flags = -mpx
cpu_model=Icelake-Server-noTSX
~~~

Neither combination works.

The only thing that works is when manualy removed the cpu flag mpx from the file /usr/share/libvirt/cpu_map/x86_Icelake-Server-noTSX.xml

Like this:
podman cp nova_compute:/usr/share/libvirt/cpu_map/x86_Icelake-Server-noTSX.xml .
vi x86_Icelake-Server-noTSX.xml
--> remove the line <feature name='mpx'/>
podman cp x86_Icelake-Server-noTSX.xml nova_compute:/usr/share/libvirt/cpu_map/x86_Icelake-Server-noTSX.xml
podman cp x86_Icelake-Server-noTSX.xml nova_libvirt:/usr/share/libvirt/cpu_map/x86_Icelake-Server-noTSX.xml
podman restart nova_libvirt
podman restart nova_compute

and nova.conf is like:
~~~
#cpu_model_extra_flags = -mpx
cpu_model=Icelake-Server-noTSX
~~~

Sosreports and more data attached to related case.

Comment 37 errata-xmlrpc 2023-04-26 12:18:09 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Low: Red Hat OpenStack Platform 16.2 (openstack-nova) security update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2023:1948

Comment 38 Red Hat Bugzilla 2023-09-19 04:32:10 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 120 days


Note You need to log in before you can comment on or make changes to this bug.