Skip to content

fix: preserve registry addon root CA on move #4051

fix: preserve registry addon root CA on move

fix: preserve registry addon root CA on move #4051

GitHub Actions / e2e test report failed Jun 10, 2025 in 0s

40 tests run, 30 passed, 8 skipped, 2 failed.

Annotations

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium ClusterResourceSet topology-cilium-crs Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:ClusterResourceSet]

Timed out after 300.001s.
HelmReleaseProxy quick-start-4up1xq/nutanix-csi-storage-quick-start-ga5kmqo5myiie2vlj5dxrkwpyf652rd failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-06-10 01:04:15 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:template: nutanix-csi-storage/templates/sc-check.yaml:123:23: executing "nutanix-csi-storage/templates/sc-check.yaml" at <lookup "storage.k8s.io/v1" "StorageClass" "" "">: error calling lookup: unable to get apiresource from unstructured: storage.k8s.io/v1, Kind=StorageClass: Get "https://10.23.132.41:6443/apis/storage.k8s.io/v1?timeout=10s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)}, revision = 1, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:nutanix-csi-storage-quick-start-ga5kmqo5myiie2vlj5dxrkwpyf652rd GenerateName:nutanix-csi-storage-quick-start-ga5kmqo5myiie2vlj5dxrkwpyfz5fbzdm42lkh607tst5qmejp9- Namespace:quick-start-4up1xq SelfLink: UID:909b235b-8003-4885-a526-b8ad4490d5ae ResourceVersion:2740 Generation:1 CreationTimestamp:2025-06-10 01:04:04 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-ga5kmqo5myiie2vlj5dxrkwpyfz5fbzdm42lkh607tst5qmejp9 helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:nutanix-csi-0197575c-00d4-718b-9cdc-09e3ae25c8e6] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:nutanix-csi-0197575c-00d4-718b-9cdc-09e3ae25c8e6 UID:07b1cbdd-0422-434d-a2b3-d2ce75cc83f0 Controller:0xc001a04527 BlockOwnerDeletion:0xc001a04526}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-06-10 01:04:04 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:finalizers":{".":{},"v:\"helmreleaseproxy.addons.cluster.x-k8s.io\"":{}},"f:generateName":{},"f:labels":{".":{},"f:cluster.x-k8s.io/cluster-name":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"07b1cbdd-0422-434d-a2b3-d2ce75cc83f0\"}":{}}},"f:spec":{".":{},"f:chartName":{},"f:clusterRef":{},"f:namespace":{},"f:options":{".":{},"f:enableClientCache":{},"f:install":{".":{},"f:createNamespace":{}},"f:timeout":{},"f:upgrade":{".":{},"f:maxHistory":{}}},"f:releaseName":{},"f:repoURL":{},"f:tlsConfig":{".":{},"f:caSecret":{}},"f:values":{},"f:version":{}}} Subresource:} {Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-06-10 01:04:15 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-4up1xq Name:quick-start-ga5kmqo5myiie2vlj5dxrkwpyfz5fbzdm42lkh607tst5qmejp9 UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:nutanix-csi-storage RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:nutanix-csi ReleaseNamespace:ntnx-system Version:3.3.3 Values:# Disable creating the Prism Central credentials Secret, the Secret will be created by the handler.
createPrismCentralSecret: false
# Disable creating the Prism Element credentials Secret, it won't be used the CSI driver as configured here.
createSecret: false
pcSecretName: nutanix-csi-credentials

tolerations:
  - key: CriticalAddonsOnly
    operator: Exists
  - effect: NoExecute
    operator: Exists
    tolerationSeconds: 300
  - effect: NoSchedule
    operator: Exists ReconcileStrategy: Options:{DisableHooks:false Wait:false WaitForJobs:false DependencyUpdate:false Timeout:&Duration{Duration:10m0s,} SkipCRDs:false SubNotes:false DisableOpenAPIValidation:false Atomic:false Install:{CreateNamespace:true IncludeCRDs:false} Upgrade:{Force:false ResetValues:false ReuseValues:false ResetThenReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc0017718f0} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-06-10 01:04:15 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:template: nutanix-csi-storage/templates/sc-check.yaml:123:23: executing "nutanix-csi-storage/templates/sc-check.yaml" at <lookup "storage.k8s.io/v1" "StorageClass" "" "">: error calling lookup: unable to get apiresource from unstructured: storage.k8s.io/v1, Kind=StorageClass: Get "https://10.23.132.41:6443/apis/storage.k8s.io/v1?timeout=10s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2025-06-10 01:04:04 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Error LastTransitionTime:2025-06-10 01:04:15 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:template: nutanix-csi-storage/templates/sc-check.yaml:123:23: executing "nutanix-csi-storage/templates/sc-check.yaml" at <lookup "storage.k8s.io/v1" "StorageClass" "" "">: error calling lookup: unable to get apiresource from unstructured: storage.k8s.io/v1, Kind=StorageClass: Get "https://10.23.132.41:6443/apis/storage.k8s.io/v1?timeout=10s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)}] Status:failed Revision:1 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
Raw output
[FAILED] Timed out after 300.001s.
HelmReleaseProxy quick-start-4up1xq/nutanix-csi-storage-quick-start-ga5kmqo5myiie2vlj5dxrkwpyf652rd failed to become ready and have up to date revision: ready condition = &{Type:Ready Status:False Severity:Error LastTransitionTime:2025-06-10 01:04:15 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:template: nutanix-csi-storage/templates/sc-check.yaml:123:23: executing "nutanix-csi-storage/templates/sc-check.yaml" at <lookup "storage.k8s.io/v1" "StorageClass" "" "">: error calling lookup: unable to get apiresource from unstructured: storage.k8s.io/v1, Kind=StorageClass: Get "https://10.23.132.41:6443/apis/storage.k8s.io/v1?timeout=10s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)}, revision = 1, full object is:
&{TypeMeta:{Kind:HelmReleaseProxy APIVersion:addons.cluster.x-k8s.io/v1alpha1} ObjectMeta:{Name:nutanix-csi-storage-quick-start-ga5kmqo5myiie2vlj5dxrkwpyf652rd GenerateName:nutanix-csi-storage-quick-start-ga5kmqo5myiie2vlj5dxrkwpyfz5fbzdm42lkh607tst5qmejp9- Namespace:quick-start-4up1xq SelfLink: UID:909b235b-8003-4885-a526-b8ad4490d5ae ResourceVersion:2740 Generation:1 CreationTimestamp:2025-06-10 01:04:04 +0000 UTC DeletionTimestamp:<nil> DeletionGracePeriodSeconds:<nil> Labels:map[cluster.x-k8s.io/cluster-name:quick-start-ga5kmqo5myiie2vlj5dxrkwpyfz5fbzdm42lkh607tst5qmejp9 helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name:nutanix-csi-0197575c-00d4-718b-9cdc-09e3ae25c8e6] Annotations:map[] OwnerReferences:[{APIVersion:addons.cluster.x-k8s.io/v1alpha1 Kind:HelmChartProxy Name:nutanix-csi-0197575c-00d4-718b-9cdc-09e3ae25c8e6 UID:07b1cbdd-0422-434d-a2b3-d2ce75cc83f0 Controller:0xc001a04527 BlockOwnerDeletion:0xc001a04526}] Finalizers:[helmreleaseproxy.addons.cluster.x-k8s.io] ManagedFields:[{Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-06-10 01:04:04 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:metadata":{"f:finalizers":{".":{},"v:\"helmreleaseproxy.addons.cluster.x-k8s.io\"":{}},"f:generateName":{},"f:labels":{".":{},"f:cluster.x-k8s.io/cluster-name":{},"f:helmreleaseproxy.addons.cluster.x-k8s.io/helmchartproxy-name":{}},"f:ownerReferences":{".":{},"k:{\"uid\":\"07b1cbdd-0422-434d-a2b3-d2ce75cc83f0\"}":{}}},"f:spec":{".":{},"f:chartName":{},"f:clusterRef":{},"f:namespace":{},"f:options":{".":{},"f:enableClientCache":{},"f:install":{".":{},"f:createNamespace":{}},"f:timeout":{},"f:upgrade":{".":{},"f:maxHistory":{}}},"f:releaseName":{},"f:repoURL":{},"f:tlsConfig":{".":{},"f:caSecret":{}},"f:values":{},"f:version":{}}} Subresource:} {Manager:manager Operation:Update APIVersion:addons.cluster.x-k8s.io/v1alpha1 Time:2025-06-10 01:04:15 +0000 UTC FieldsType:FieldsV1 FieldsV1:{"f:status":{".":{},"f:conditions":{},"f:observedGeneration":{},"f:revision":{},"f:status":{}}} Subresource:status}]} Spec:{ClusterRef:{Kind:Cluster Namespace:quick-start-4up1xq Name:quick-start-ga5kmqo5myiie2vlj5dxrkwpyfz5fbzdm42lkh607tst5qmejp9 UID: APIVersion:cluster.x-k8s.io/v1beta1 ResourceVersion: FieldPath:} ChartName:nutanix-csi-storage RepoURL:oci://helm-repository.caren-system.svc/charts ReleaseName:nutanix-csi ReleaseNamespace:ntnx-system Version:3.3.3 Values:# Disable creating the Prism Central credentials Secret, the Secret will be created by the handler.
createPrismCentralSecret: false
# Disable creating the Prism Element credentials Secret, it won't be used the CSI driver as configured here.
createSecret: false
pcSecretName: nutanix-csi-credentials

tolerations:
  - key: CriticalAddonsOnly
    operator: Exists
  - effect: NoExecute
    operator: Exists
    tolerationSeconds: 300
  - effect: NoSchedule
    operator: Exists ReconcileStrategy: Options:{DisableHooks:false Wait:false WaitForJobs:false DependencyUpdate:false Timeout:&Duration{Duration:10m0s,} SkipCRDs:false SubNotes:false DisableOpenAPIValidation:false Atomic:false Install:{CreateNamespace:true IncludeCRDs:false} Upgrade:{Force:false ResetValues:false ReuseValues:false ResetThenReuseValues:false Recreate:false MaxHistory:10 CleanupOnFail:false} Uninstall:<nil> EnableClientCache:false} Credentials:<nil> TLSConfig:0xc0017718f0} Status:{Conditions:[{Type:Ready Status:False Severity:Error LastTransitionTime:2025-06-10 01:04:15 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:template: nutanix-csi-storage/templates/sc-check.yaml:123:23: executing "nutanix-csi-storage/templates/sc-check.yaml" at <lookup "storage.k8s.io/v1" "StorageClass" "" "">: error calling lookup: unable to get apiresource from unstructured: storage.k8s.io/v1, Kind=StorageClass: Get "https://10.23.132.41:6443/apis/storage.k8s.io/v1?timeout=10s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)} {Type:ClusterAvailable Status:True Severity: LastTransitionTime:2025-06-10 01:04:04 +0000 UTC Reason: Message:} {Type:HelmReleaseReady Status:False Severity:Error LastTransitionTime:2025-06-10 01:04:15 +0000 UTC Reason:HelmInstallOrUpgradeFailed Message:template: nutanix-csi-storage/templates/sc-check.yaml:123:23: executing "nutanix-csi-storage/templates/sc-check.yaml" at <lookup "storage.k8s.io/v1" "StorageClass" "" "">: error calling lookup: unable to get apiresource from unstructured: storage.k8s.io/v1, Kind=StorageClass: Get "https://10.23.132.41:6443/apis/storage.k8s.io/v1?timeout=10s": net/http: request canceled (Client.Timeout exceeded while awaiting headers)}] Status:failed Revision:1 ObservedGeneration:1}}
`
Expected
    <bool>: false
to be true
In [It] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/helmreleaseproxy_helpers.go:60 @ 06/10/25 01:11:38.047

There were additional failures detected after the initial failure. These are visible in the timeline

Check failure on line 1 in caren-e2e

See this annotation in the file changed.

@github-actions github-actions / e2e test report

caren-e2e.[It] Quick start Nutanix Cilium HelmAddon topology-cilium-helm-addon Should create a workload cluster [provider:Nutanix, cni:Cilium, addonStrategy:HelmAddon]

Unexpected error:
    <*fmt.wrapError | 0xc0009bc300>: 
    failed to reserve IP in subnet vlan174: Post "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve": POST https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve giving up after 1 attempt(s): Post "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    {
        msg: "failed to reserve IP in subnet vlan174: Post \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve\": POST https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve giving up after 1 attempt(s): Post \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
        err: <*url.Error | 0xc0008a8fc0>{
            Op: "Post",
            URL: "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve",
            Err: <*http.timeoutError | 0xc000aa62c0>{
                err: "POST https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve giving up after 1 attempt(s): Post \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
            },
        },
    }
occurred
Raw output
[FAILED] Unexpected error:
    <*fmt.wrapError | 0xc0009bc300>: 
    failed to reserve IP in subnet vlan174: Post "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve": POST https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve giving up after 1 attempt(s): Post "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve": net/http: request canceled (Client.Timeout exceeded while awaiting headers)
    {
        msg: "failed to reserve IP in subnet vlan174: Post \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve\": POST https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve giving up after 1 attempt(s): Post \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
        err: <*url.Error | 0xc0008a8fc0>{
            Op: "Post",
            URL: "https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve",
            Err: <*http.timeoutError | 0xc000aa62c0>{
                err: "POST https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve giving up after 1 attempt(s): Post \"https://pc.ci.nkp.sh:9440/api/networking/v4.0.b1/config/subnets/861267e3-4690-4244-8b23-1da43c4e7757/addresses/$actions/reserve\": net/http: request canceled (Client.Timeout exceeded while awaiting headers)",
            },
        },
    }
occurred
In [BeforeEach] at: /home/runner/_work/cluster-api-runtime-extensions-nutanix/cluster-api-runtime-extensions-nutanix/test/e2e/quick_start_test.go:106 @ 06/10/25 01:03:22.173

There were additional failures detected after the initial failure. These are visible in the timeline