Skip to content

RKE2 test failing on invalid RKE2ControlPlane schema #6081

@nojnhuh

Description

@nojnhuh

Which jobs are failing:

  • periodic-cluster-api-provider-azure-e2e-main

Which tests are failing:

  • capz-e2e: [It] Workload cluster creation Creating RKE2 clusters using clusterclass [OPTIONAL] with 3 control plane node and one linux worker node

Since when has it been failing:

Testgrid link:

https://prow.k8s.io/view/gs/kubernetes-ci-logs/logs/periodic-cluster-api-provider-azure-e2e-main/2017032135952568320

Reason for failure (if possible):

This error appears in the capi-controller-manager logs

E0130 00:55:21.693504       1 reconcile_state.go:1387] "Failed to create object" err="failed to create typed patch object (capz-e2e-8oavvg/capz-e2e-8oavvg-cc-n4w86; controlplane.cluster.x-k8s.io/v1beta1, Kind=RKE2ControlPlane): .spec.machineTemplate.spec: field not declared in schema" controller="topology/cluster" controllerGroup="cluster.x-k8s.io" controllerKind="Cluster" Cluster="capz-e2e-8oavvg/capz-e2e-8oavvg-cc" namespace="capz-e2e-8oavvg" name="capz-e2e-8oavvg-cc" reconcileID="36b76969-d68b-4d1e-a13a-86ed3fe2b604" RKE2ControlPlane="capz-e2e-8oavvg/capz-e2e-8oavvg-cc-n4w86" RKE2ControlPlane="capz-e2e-8oavvg/capz-e2e-8oavvg-cc-n4w86"

Likely related to the recent v0.22.0 release.

Anything else we need to know:

/kind failing-test

/assign @Danil-Grigorev

Metadata

Metadata

Labels

kind/failing-testCategorizes issue or PR as related to a consistently or frequently failing test.

Type

No type

Projects

Status

Todo

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions