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.conf
cpu_mode = host-passthrough
cpu_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-ostackhostNow, verify if the node gets onboarded.
PreviousVM stuck in MIGRATING state in UI forever even when migration completed
NextDetermine which user deleted the OpenStack instance from nova-api logs
Last updated
