Skip to content

Turtles reporting ProviderUnknown for known upstream providers #2436

@cpinjani

Description

@cpinjani

What steps did you take and what happened?

Steps:

  • Install community Rancher v2.14.2-alpha6, Turtles v0.26.2-rc.3
  • Install any supported providers eg. aws, using the provider charts
  • Inspect the provider status > conditions
apiVersion: v1
items:
- apiVersion: turtles-capi.cattle.io/v1alpha1
  kind: CAPIProvider
  metadata:
    annotations:
      meta.helm.sh/release-name: rancher-turtles-providers
      meta.helm.sh/release-namespace: cattle-turtles-system
      operator.cluster.x-k8s.io/applied-spec-hash: 95b4c8953bdfbbbdae7ad85b691c636e9201037f32b846ff0cf947a4088c5ca6
    creationTimestamp: "2026-05-21T18:13:50Z"
    finalizers:
    - provider.cluster.x-k8s.io
    generation: 2
    labels:
      app.kubernetes.io/managed-by: Helm
    name: aws
    namespace: capa-system
    resourceVersion: "7509"
    uid: cfecaa7b-d870-4385-b9ce-08eead1a5465
  spec:
    enableAutomaticUpdate: true
    name: aws
    type: infrastructure
    variables:
      AWS_B64ENCODED_CREDENTIALS: ""
    version: v2.11.1
  status:
    conditions:
    - lastTransitionTime: "2026-05-21T18:14:14Z"
      message: Deployment has minimum availability.
      observedGeneration: 2
      reason: MinimumReplicasAvailable
      status: "True"
      type: Ready
    - lastTransitionTime: "2026-05-21T18:14:05Z"
      message: Provider is unknown
      observedGeneration: 2
      reason: ProviderUnknown
      status: Unknown
      type: CheckLatestVersionTime
    - lastTransitionTime: "2026-05-21T18:14:05Z"
      message: All preflight checks passed
      observedGeneration: 1
      reason: PreflightChecksPassed
      status: "True"
      type: PreflightCheckPassed
    - lastTransitionTime: "2026-05-21T18:14:08Z"
      message: Provider installed successfully
      observedGeneration: 1
      reason: ProviderInstalled
      status: "True"
      type: ProviderInstalled
    - lastTransitionTime: "2026-05-21T18:14:05Z"
      message: Certificates are now managed by wrangler
      observedGeneration: 1
      reason: CertificatesManaged
      status: "True"
      type: WranglerManagedCertificates
    contract: v1beta1
    installedVersion: v2.11.1
    name: aws
    observedGeneration: 2
    phase: Ready
    variables:
      CLUSTER_TOPOLOGY: "true"
      EXP_CLUSTER_RESOURCE_SET: "true"
      EXP_MACHINE_POOL: "true"
kind: List
metadata:
  resourceVersion: ""

What did you expect to happen?

Turtles should lookup the upstream clusterctl config when a provider is not found, which is equivalent of running clusterctl config repositories, and not report provider as unknown.
https://turtles.docs.rancher.com/turtles/stable/en/reference/capiprovider.html#_version_pinning_and_automatic_updates

How to reproduce it?

No response

Rancher Turtles version

No response

Anything else you would like to add?

No response

Label(s) to be applied

/kind bug

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    Status
    Team Backlog

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions