{"record":{"id":"0d3d438c8c90edde","repo":"kubernetes/kops","slug":"checking-image-differences-in-server-s-s-w","errorCode":null,"errorMessage":"checking image differences in server %s (%s): %w","messagePattern":"checking image differences in server (.+?) \\((.+?)\\): %w","errorType":"exception","errorClass":null,"httpStatus":null,"severity":"error","filePath":"upup/pkg/fi/cloudup/scalewaytasks/instance.go","lineNumber":108,"sourceCode":"\t\tfor _, tag := range server.Tags {\n\t\t\tif tag == scaleway.TagNeedsUpdate {\n\t\t\t\talreadyTagged = true\n\t\t\t}\n\t\t}\n\t\tif alreadyTagged {\n\t\t\tcontinue\n\t\t}\n\n\t\t// Check commercial type differences\n\t\tif server.CommercialType != *s.CommercialType {\n\t\t\tneedsUpdate = append(needsUpdate, server.ID)\n\t\t\tcontinue\n\t\t}\n\n\t\t// Check image differences\n\t\tdiff, err := checkImageDifferences(c, cloud, server, fi.ValueOf(s.Image))\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"checking image differences in server %s (%s): %w\", server.Name, server.ID, err)\n\t\t}\n\t\tif diff {\n\t\t\tneedsUpdate = append(needsUpdate, server.ID)\n\t\t\tcontinue\n\t\t}\n\n\t\t// Check user-data differences\n\t\tdiff, err = checkUserDataDifferences(c, cloud, server, s.UserData)\n\t\tif err != nil {\n\t\t\treturn nil, fmt.Errorf(\"checking user-data differences in server %s (%s): %w\", server.Name, server.ID, err)\n\t\t}\n\t\tif diff {\n\t\t\tneedsUpdate = append(needsUpdate, server.ID)\n\t\t}\n\t}\n\n\tserver := servers[0]\n\tigName := scaleway.InstanceGroupNameFromTags(server.Tags)","sourceCodeStart":90,"sourceCodeEnd":126,"githubUrl":"https://github.com/kubernetes/kops/blob/4c8573c808a73d578c5eadc86d410646ea0b0d73/upup/pkg/fi/cloudup/scalewaytasks/instance.go#L90-L126","documentation":"In the instance task's Find phase, checkImageDifferences failed: the marketplace lookup to resolve the expected image label to a local image (for the server's zone and commercial type) errored, so kOps cannot tell whether the server's current image matches the desired one. The server name/ID identify the machine under comparison.","triggerScenarios":"Thrown at upup/pkg/fi/cloudup/scalewaytasks/instance.go:108 when the library encounters an invalid state.","commonSituations":"See trigger scenarios.","solutions":["Verify the image label in the instance group spec is a valid Scaleway marketplace label","Check the marketplace image is available in the server's zone and for its commercial type","Retry on transient marketplace API failures"],"exampleFix":null,"handlingStrategy":"retry","validationCode":null,"typeGuard":null,"tryCatchPattern":null,"preventionTips":[],"tags":[],"backgroundTag":null,"analyzedSha":"4c8573c808a73d578c5eadc86d410646ea0b0d73","analyzedAt":"2026-09-05T04:13:19.212Z","contentChangedAt":"2026-09-05T04:13:19.212Z","schemaVersion":2},"datasetVersion":"2026-09-12T12:17:11.808Z"}