New node fails to onboard with error "The cpu_models option is not required when cpu_mode!=custom"
Problem
- New node fails to onboard with error in ostackhost logs:
    2023-09-14 22:56:04.130 TRACE oslo_service.service nova.exception.Invalid: The cpu_models option is not required when cpu_mode!=customEnvironment
- Platform9 Managed OpenStack - v5.8.0 and Higher
- Rocky linux 9
Cause
- The issue occurred because cpu_modelmentioned in nova_override.conf:
# grep cpu_ /opt/pf9/etc/nova/conf.d/nova_override.confcpu_mode = host-passthroughcpu_model = Broadwell-IBRSResolution
- Remove cpu_modelfrom /opt/pf9/etc/nova/conf.d/nova_override.conf on the affected host and restart below service:
# systemctl restart pf9-ostackhost- Now, verify if the node gets onboarded.
Was this page helpful?
