Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 2158181

Summary: nova-compute container won't start when specifying x86_Icelake-Server CPU model
Product: Red Hat OpenStack Reporter: Joaquín Veira <jveiraca>
Component: openstack-novaAssignee: Kashyap Chamarthy <kchamart>
Status: CLOSED ERRATA QA Contact: James Parker <jparker>
Severity: high Docs Contact:
Priority: high    
Version: 16.2 (Train)CC: alifshit, astupnik, dasmith, eglynn, jhakimra, jparker, kchamart, ltamagno, sbauza, sgordon, shtiwari, smooney, vromanso
Target Milestone: z5Keywords: Triaged
Target Release: 16.2 (Train on RHEL 8.4)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: openstack-nova-20.6.2-2.20230308185148.fc01371.el8ost Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2023-04-26 12:18:09 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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