kubernetes/kops · error

checking image differences in server %s (%s): %w

Error message

checking image differences in server %s (%s): %w

What it means

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.

Source

Thrown at upup/pkg/fi/cloudup/scalewaytasks/instance.go:108

		for _, tag := range server.Tags {
			if tag == scaleway.TagNeedsUpdate {
				alreadyTagged = true
			}
		}
		if alreadyTagged {
			continue
		}

		// Check commercial type differences
		if server.CommercialType != *s.CommercialType {
			needsUpdate = append(needsUpdate, server.ID)
			continue
		}

		// Check image differences
		diff, err := checkImageDifferences(c, cloud, server, fi.ValueOf(s.Image))
		if err != nil {
			return nil, fmt.Errorf("checking image differences in server %s (%s): %w", server.Name, server.ID, err)
		}
		if diff {
			needsUpdate = append(needsUpdate, server.ID)
			continue
		}

		// Check user-data differences
		diff, err = checkUserDataDifferences(c, cloud, server, s.UserData)
		if err != nil {
			return nil, fmt.Errorf("checking user-data differences in server %s (%s): %w", server.Name, server.ID, err)
		}
		if diff {
			needsUpdate = append(needsUpdate, server.ID)
		}
	}

	server := servers[0]
	igName := scaleway.InstanceGroupNameFromTags(server.Tags)

View on GitHub (pinned to 4c8573c808)

Solutions

  1. Verify the image label in the instance group spec is a valid Scaleway marketplace label
  2. Check the marketplace image is available in the server's zone and for its commercial type
  3. Retry on transient marketplace API failures
Defensive patterns

Strategy: retry

When it happens

Trigger: Thrown at upup/pkg/fi/cloudup/scalewaytasks/instance.go:108 when the library encounters an invalid state.

Common situations: See trigger scenarios.


AI-assisted analysis of kubernetes/kops@4c8573c808 (2026-09-05). Data as JSON: /api/errors/0d3d438c8c90edde. Report an issue: GitHub.