Skip to content

e2e: update ceph-csi-operator API from v1alpha1 to v1 (backport #6218)#6293

Merged
mergify[bot] merged 3 commits into
release-v3.16from
mergify/bp/release-v3.16/pr-6218
Jun 23, 2026
Merged

e2e: update ceph-csi-operator API from v1alpha1 to v1 (backport #6218)#6293
mergify[bot] merged 3 commits into
release-v3.16from
mergify/bp/release-v3.16/pr-6218

Conversation

@mergify

@mergify mergify Bot commented May 22, 2026

Copy link
Copy Markdown
Contributor

Update the API version in the deploy-ceph-csi-operator.sh script to use
csi.ceph.io/v1 instead of csi.ceph.io/v1alpha1 for both OperatorConfig
and Driver resources.

Depends-on: #5672 ceph/ceph-csi-operator#451


This is an automatic backport of pull request #6218 done by [Mergify](https://mergify.com).

Update the API version in the deploy-ceph-csi-operator.sh script to use
csi.ceph.io/v1 instead of csi.ceph.io/v1alpha1 for both OperatorConfig
and Driver resources.

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit aa4201f)
@iPraveenParihar iPraveenParihar added the ci/skip/e2e skip running e2e CI jobs label May 22, 2026
@mergify mergify Bot added the component/testing Additional test cases or CI work label May 22, 2026
@iPraveenParihar

Copy link
Copy Markdown
Contributor

/test ci/centos/mini-e2e-operator/k8s-1.35

@iPraveenParihar iPraveenParihar removed the ci/skip/e2e skip running e2e CI jobs label May 22, 2026
@iPraveenParihar

Copy link
Copy Markdown
Contributor

/test ci/centos/mini-e2e-operator/k8s-1.35

@mergify mergify Bot added the ok-to-test Label to trigger E2E tests label May 22, 2026
@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.33

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.33

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.34

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e/k8s-1.33

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.32

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.34

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.32

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e/k8s-1.34

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e/k8s-1.32

@ceph-csi-bot ceph-csi-bot added ci/in-progress/e2e This label acts like a guard and prevents Mergify from adding the `ok-to-test` label again. and removed ok-to-test Label to trigger E2E tests labels May 22, 2026
@mergify mergify Bot removed the ci/in-progress/e2e This label acts like a guard and prevents Mergify from adding the `ok-to-test` label again. label May 22, 2026
@iPraveenParihar

Copy link
Copy Markdown
Contributor

/retest ci/centos/mini-e2e-operator/k8s-1.35

@iPraveenParihar

Copy link
Copy Markdown
Contributor

/retest ci/centos/k8s-e2e-external-storage/1.33

@Madhu-1

Madhu-1 commented May 26, 2026

Copy link
Copy Markdown
Collaborator

/go/src/github.com/ceph/ceph-csi/e2e/rbd.go:507
[FAILED] failed to verify client address metadata exists: client address metadata .rbd.csi.ceph.com/clientaddress/0001-0024-4e1128cb-e0ce-47e5-b3fd-f5330992e25e-0000000000000001-c9b207a4-78bd-43be-abd7-3c67ea2028af/minikube value is empty
In [It] at: /go/src/github.com/ceph/ceph-csi/e2e/rbd.go:549 @ 05/25/26 05:35:43.528

@iPraveenParihar there is a E2E failure, is this flaky or a bug, can you please check?

@iPraveenParihar

Copy link
Copy Markdown
Contributor

Commit needs to be backported 8822e27

Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit 8822e27)
@iPraveenParihar

Copy link
Copy Markdown
Contributor

/retest ci/centos/mini-e2e-operator/k8s-1.35

@mergify mergify Bot dismissed iPraveenParihar’s stale review May 26, 2026 06:20

Pull request has been modified.

@mergify mergify Bot added the ok-to-test Label to trigger E2E tests label May 26, 2026
Signed-off-by: Niels de Vos <ndevos@ibm.com>
(cherry picked from commit a699193)
@iPraveenParihar

Copy link
Copy Markdown
Contributor

/test ci/centos/mini-e2e-operator/k8s-1.35

@mergify mergify Bot added the ok-to-test Label to trigger E2E tests label May 27, 2026
@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.33

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.34

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/k8s-e2e-external-storage/1.32

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.33

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.34

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e-helm/k8s-1.32

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e/k8s-1.33

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e/k8s-1.34

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/mini-e2e/k8s-1.32

@ceph-csi-bot

Copy link
Copy Markdown
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot ceph-csi-bot added ci/in-progress/e2e This label acts like a guard and prevents Mergify from adding the `ok-to-test` label again. and removed ok-to-test Label to trigger E2E tests labels May 27, 2026
@mergify mergify Bot removed the ci/in-progress/e2e This label acts like a guard and prevents Mergify from adding the `ok-to-test` label again. label May 27, 2026

@iPraveenParihar iPraveenParihar left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/go/src/github.com/ceph/ceph-csi/e2e/rbd.go:507
[FAILED] failed to verify client address metadata exists: client address metadata .rbd.csi.ceph.com/clientaddress/0001-0024-4e1128cb-e0ce-47e5-b3fd-f5330992e25e-0000000000000001-c9b207a4-78bd-43be-abd7-3c67ea2028af/minikube value is empty
In [It] at: /go/src/github.com/ceph/ceph-csi/e2e/rbd.go:549 @ 05/25/26 05:35:43.528

@iPraveenParihar there is a E2E failure, is this flaky or a bug, can you please check?

@Madhu-1, release-3.16 will need a9bfa87 and 4d4e2a5 commits to be cherry-picked which is not needed.
Anyway the operator e2e test is not mandatory for 3.16

@iPraveenParihar iPraveenParihar requested review from a team and Madhu-1 June 2, 2026 09:19
@nixpanic

nixpanic commented Jun 2, 2026

Copy link
Copy Markdown
Member

@Madhu-1, release-3.16 will need a9bfa87 and 4d4e2a5 commits to be cherry-picked which is not needed.
Anyway the operator e2e test is not mandatory for 3.16

@iPraveenParihar , what is the use of this backport when the operator e2e does not pass with it yet?

@iPraveenParihar

Copy link
Copy Markdown
Contributor

@nixpanic, external storage e2e uses operator deployment and fail here #6292 and other cherry-pick commits are fix commits for the operator deployment.

configmap/ceph-csi-encryption-kms-config created
configmap/ceph-csi-imageset created
resource mapping not found for name: "cephfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/cephfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first
resource mapping not found for name: "nfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/nfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first
resource mapping not found for name: "ceph-csi-operator-config" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/operatorconfig.yaml": no matches for kind "OperatorConfig" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first
resource mapping not found for name: "rbd.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/rbd.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first
Tue Jun  2 04:06:36 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' try #0 failed, checking errors
Tue Jun  2 04:06:36 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' failed (1/5), will retry in 10 seconds
configmap/ceph-csi-encryption-kms-config created
configmap/ceph-csi-imageset created
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/encryption-configmap.yaml": configmaps "ceph-csi-encryption-kms-config" already exists
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/imageset-configmap.yaml": configmaps "ceph-csi-imageset" already exists
[resource mapping not found for name: "cephfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/cephfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "nfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/nfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "ceph-csi-operator-config" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/operatorconfig.yaml": no matches for kind "OperatorConfig" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "rbd.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/rbd.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first]
Tue Jun  2 04:06:46 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' try #1 failed, checking errors
Tue Jun  2 04:06:46 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' failed (2/5), will retry in 10 seconds
configmap/ceph-csi-encryption-kms-config created
configmap/ceph-csi-imageset created
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/encryption-configmap.yaml": configmaps "ceph-csi-encryption-kms-config" already exists
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/imageset-configmap.yaml": configmaps "ceph-csi-imageset" already exists
[resource mapping not found for name: "cephfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/cephfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "nfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/nfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "ceph-csi-operator-config" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/operatorconfig.yaml": no matches for kind "OperatorConfig" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "rbd.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/rbd.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first]
Tue Jun  2 04:06:56 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' try #2 failed, checking errors
Tue Jun  2 04:06:56 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' failed (3/5), will retry in 10 seconds
configmap/ceph-csi-encryption-kms-config created
configmap/ceph-csi-imageset created
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/encryption-configmap.yaml": configmaps "ceph-csi-encryption-kms-config" already exists
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/imageset-configmap.yaml": configmaps "ceph-csi-imageset" already exists
[resource mapping not found for name: "cephfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/cephfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "nfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/nfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "ceph-csi-operator-config" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/operatorconfig.yaml": no matches for kind "OperatorConfig" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "rbd.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/rbd.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first]
Tue Jun  2 04:07:07 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' try #3 failed, checking errors
Tue Jun  2 04:07:07 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' failed (4/5), will retry in 10 seconds
configmap/ceph-csi-encryption-kms-config created
configmap/ceph-csi-imageset created
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/encryption-configmap.yaml": configmaps "ceph-csi-encryption-kms-config" already exists
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/imageset-configmap.yaml": configmaps "ceph-csi-imageset" already exists
[resource mapping not found for name: "cephfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/cephfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "nfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/nfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "ceph-csi-operator-config" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/operatorconfig.yaml": no matches for kind "OperatorConfig" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "rbd.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/rbd.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first]
Tue Jun  2 04:07:17 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' try #4 failed, checking errors
Tue Jun  2 04:07:17 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' failed, no more retries left (5/5)
Tue Jun  2 04:07:17 PM UTC 2026: 'kubectl_retry create -f /tmp/tmp.928LiHWyEd' done (ret=1)
configmap/ceph-csi-encryption-kms-config created
configmap/ceph-csi-imageset created
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/encryption-configmap.yaml": configmaps "ceph-csi-encryption-kms-config" already exists
Error from server (AlreadyExists): error when creating "/tmp/tmp.928LiHWyEd/imageset-configmap.yaml": configmaps "ceph-csi-imageset" already exists
[resource mapping not found for name: "cephfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/cephfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "nfs.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/nfs.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "ceph-csi-operator-config" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/operatorconfig.yaml": no matches for kind "OperatorConfig" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first, resource mapping not found for name: "rbd.csi.ceph.com" namespace: "k8s-e2e-storage-8cce2465a58d" from "/tmp/tmp.928LiHWyEd/rbd.csi.ceph.com.yaml": no matches for kind "Driver" in version "csi.ceph.io/v1alpha1"
ensure CRDs are installed first]
script returned exit code 1
1.27.21 

@nixpanic

Copy link
Copy Markdown
Member

@iPraveenParihar , right! Do you have an idea why this backport is still failing?

@nixpanic

Copy link
Copy Markdown
Member

/test ci/centos/mini-e2e-operator/k8s-1.34

@iPraveenParihar

Copy link
Copy Markdown
Contributor

/go/src/github.com/ceph/ceph-csi/e2e/rbd.go:507
[FAILED] failed to verify client address metadata exists: client address metadata .rbd.csi.ceph.com/clientaddress/0001-0024-4e1128cb-e0ce-47e5-b3fd-f5330992e25e-0000000000000001-c9b207a4-78bd-43be-abd7-3c67ea2028af/minikube value is empty
In [It] at: /go/src/github.com/ceph/ceph-csi/e2e/rbd.go:549 @ 05/25/26 05:35:43.528

@iPraveenParihar there is a E2E failure, is this flaky or a bug, can you please check?

@Madhu-1, release-3.16 will need a9bfa87 and 4d4e2a5 commits to be cherry-picked which is not needed. Anyway the operator e2e test is not mandatory for 3.16

@nixpanic, failures where related to setmetadata. Probably needs the mentioned commits to be backported as well.

@iPraveenParihar iPraveenParihar requested a review from nixpanic June 23, 2026 09:32
@mergify

mergify Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Queued — the merge queue status continues in this comment ↓.

@mergify

mergify Bot commented Jun 23, 2026

Copy link
Copy Markdown
Contributor Author

Merge Queue Status

  • Entered queue2026-06-23 09:47 UTC · Rule: default · triggered by merge protections
  • Checks skipped · PR is already up-to-date
  • Merged2026-06-23 09:47 UTC · at e8dbd3883ab015196c6011c8bd625052f2aa0a6a · rebase

This pull request spent 15 seconds in the queue, including 1 second running CI.

Required conditions to merge

@mergify mergify Bot merged commit 56ed0d3 into release-v3.16 Jun 23, 2026
40 of 42 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

component/testing Additional test cases or CI work

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants