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!=custom
Environment
- Platform9 Managed OpenStack - v5.8.0 and Higher
- Rocky linux 9
Cause
- The issue occurred because
cpu_model
mentioned in nova_override.conf:
# grep cpu_ /opt/pf9/etc/nova/conf.d/nova_override.conf
cpu_mode = host-passthrough
cpu_model = Broadwell-IBRS
Resolution
- Remove
cpu_model
from /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?