{"record":{"id":"a4021def71b86f99","repo":"hashicorp/nomad","slug":"all-servers-should-be-running-version-v-to-update-a4021d","errorCode":null,"errorMessage":"All servers should be running version %v to update scheduler config","messagePattern":"All servers should be running version (.+?) to update scheduler config","errorType":"validation","errorClass":null,"httpStatus":null,"severity":"error","filePath":"nomad/operator_endpoint.go","lineNumber":443,"sourceCode":"\tif authErr != nil {\n\t\treturn structs.ErrPermissionDenied\n\t}\n\n\t// This action requires operator write access.\n\taclObj, err := op.srv.ResolveACL(args)\n\tif err != nil {\n\t\treturn err\n\t} else if !aclObj.AllowOperatorWrite() {\n\t\treturn structs.ErrPermissionDenied\n\t}\n\n\t// All servers should be at or above 0.9.0 to apply this operation\n\tif !op.srv.peersCache.ServersMeetMinimumVersion(\n\t\top.srv.Region(),\n\t\tminSchedulerConfigVersion,\n\t\tfalse,\n\t) {\n\t\treturn fmt.Errorf(\n\t\t\t\"All servers should be running version %v to update scheduler config\",\n\t\t\tminSchedulerConfigVersion,\n\t\t)\n\t}\n\n\t// Apply the update\n\tresp, index, err := op.srv.raftApply(structs.SchedulerConfigRequestType, args)\n\tif err != nil {\n\t\top.logger.Error(\"failed applying Scheduler configuration\", \"error\", err)\n\t\treturn err\n\t}\n\n\t//  If CAS request, raft returns a boolean indicating if the update was applied.\n\t// Otherwise, assume success\n\treply.Updated = true\n\tif respBool, ok := resp.(bool); ok {\n\t\treply.Updated = respBool\n\t}","sourceCodeStart":425,"sourceCodeEnd":461,"githubUrl":"https://github.com/hashicorp/nomad/blob/482b49bf1aec006f089bcfc7e632d8f6ac303e5e/nomad/operator_endpoint.go#L425-L461","documentation":"SchedulerSetConfiguration was rejected because not all servers meet the minimum Nomad version (0.9.0+) required for scheduler config updates; a mixed-version cluster cannot safely apply the change.","triggerScenarios":"Thrown at nomad/operator_endpoint.go:443 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Complete a rolling upgrade so every server runs the minimum version","Verify with `nomad server members` and retry after the peers cache updates"],"exampleFix":null,"handlingStrategy":"validation","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"482b49bf1aec006f089bcfc7e632d8f6ac303e5e","analyzedAt":"2026-09-04T07:54:14.808Z","contentChangedAt":"2026-09-04T07:54:14.808Z","schemaVersion":2},"datasetVersion":"2026-09-08T10:18:20.063Z"}