kubernetes/kops · error

determining cluster name

Error message

determining cluster name

What it means

Guard in NewAzureVerifier: the verifier options are nil or carry an empty ClusterName, so the verifier cannot bind attested VMs to the cluster's resource group. The operator did not supply the cluster name configuration.

Source

Thrown at upup/pkg/fi/cloudup/azure/verifier.go:69

type azureVerifier struct {
	client      *client
	clusterName string
	attestation *attestationVerifier
}

var _ bootstrap.Verifier = (*azureVerifier)(nil)

// NewAzureVerifier returns a verifier that validates Azure IMDS attestation tokens and resolves the
// claimed VM identity through the Azure API.
func NewAzureVerifier(ctx context.Context, opt *AzureVerifierOptions) (bootstrap.Verifier, error) {
	azureClient, err := newVerifierClient(ctx)
	if err != nil {
		return nil, err
	}

	if opt == nil || opt.ClusterName == "" {
		return nil, fmt.Errorf("determining cluster name")
	}

	attestation, err := newAttestationVerifier()
	if err != nil {
		return nil, err
	}

	return &azureVerifier{
		client:      azureClient,
		clusterName: opt.ClusterName,
		attestation: attestation,
	}, nil
}

// vmLogIDFromResource returns a short human-readable identifier for a VM resource, used in log
// messages throughout the verifier.
func vmLogIDFromResource(res *arm.ResourceID) string {
	if res == nil {

View on GitHub (pinned to 4c8573c808)

Solutions

  1. Set ClusterName in the AzureVerifierOptions passed to NewAzureVerifier
  2. Check the node verifier configuration in the control plane flags
Defensive patterns

Strategy: validation

When it happens

Trigger: Thrown at upup/pkg/fi/cloudup/azure/verifier.go:69 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/25ba6286dc16fe31. Report an issue: GitHub.