Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

merge queue: embarking release-v3.13 (aa15e64) and #5032 together #5035

Closed
wants to merge 5 commits into from

Conversation

mergify[bot]
Copy link
Contributor

@mergify mergify bot commented Dec 18, 2024

🎉 This pull request has been checked successfully and will be merged soon. 🎉

Branch release-v3.13 (aa15e64) and #5032 are embarked together for merge.

This pull request has been created by Mergify to speculatively check the mergeability of #5032.
You don't need to do anything. Mergify will close this pull request automatically when it is complete.

Required conditions of queue default for merge:

  • #approved-reviews-by >= 1 [🛡 GitHub branch protection]
  • #changes-requested-reviews-by = 0 [🛡 GitHub branch protection]
  • any of:
    • all of:
      • base~=^(release-.+)$
      • status-success=ci/centos/k8s-e2e-external-storage/1.29
      • status-success=ci/centos/k8s-e2e-external-storage/1.30
      • status-success=ci/centos/k8s-e2e-external-storage/1.31
      • status-success=ci/centos/mini-e2e-helm/k8s-1.29
      • status-success=ci/centos/mini-e2e-helm/k8s-1.30
      • status-success=ci/centos/mini-e2e-helm/k8s-1.31
      • status-success=ci/centos/mini-e2e/k8s-1.29
      • status-success=ci/centos/mini-e2e/k8s-1.30
      • status-success=ci/centos/mini-e2e/k8s-1.31
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
      • status-success=uncommitted-code-check
    • all of:
      • base=release-v3.12
      • status-success=ci/centos/k8s-e2e-external-storage/1.29
      • status-success=ci/centos/k8s-e2e-external-storage/1.30
      • status-success=ci/centos/k8s-e2e-external-storage/1.31
      • status-success=ci/centos/mini-e2e-helm/k8s-1.29
      • status-success=ci/centos/mini-e2e-helm/k8s-1.30
      • status-success=ci/centos/mini-e2e-helm/k8s-1.31
      • status-success=ci/centos/mini-e2e/k8s-1.29
      • status-success=ci/centos/mini-e2e/k8s-1.30
      • status-success=ci/centos/mini-e2e/k8s-1.31
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
    • all of:
      • base=devel
      • status-success=ci/centos/k8s-e2e-external-storage/1.29
      • status-success=ci/centos/k8s-e2e-external-storage/1.30
      • status-success=ci/centos/k8s-e2e-external-storage/1.31
      • status-success=ci/centos/mini-e2e-helm/k8s-1.29
      • status-success=ci/centos/mini-e2e-helm/k8s-1.30
      • status-success=ci/centos/mini-e2e-helm/k8s-1.31
      • status-success=ci/centos/mini-e2e/k8s-1.29
      • status-success=ci/centos/mini-e2e/k8s-1.30
      • status-success=ci/centos/mini-e2e/k8s-1.31
      • status-success=ci/centos/upgrade-tests-cephfs
      • status-success=ci/centos/upgrade-tests-rbd
      • status-success=codespell
      • status-success=go-test
      • status-success=golangci-lint
      • status-success=lint-extras
      • status-success=mod-check
      • status-success=multi-arch-build
      • status-success=uncommitted-code-check
    • all of:
      • base=ci/centos
      • status-success=ci/centos/jjb-validate
      • status-success=ci/centos/job-validation

Required conditions to stay in the queue:

---
previous_failed_batches: []
pull_requests:
  - number: 5032
...

Rakshith-R and others added 5 commits December 17, 2024 15:16
This commit consolidates flatten logic checks for cloneDepth
and snapshotLimit in PrepareVolumeForSnapshot. This allows
the function to be called for both CreateSnapshot and
CreateVolumeGroupSnapshot.
Clone Depth check and flattening of grand parent image
now occurs before creation of snapshot starts.
This aligns better with how PVC-PVC clone and
PVC-restore process occurs currently.
Flattening the grandparent image once prevents
flattening of every newly created snapshot.
Snapshot in above para refers to k8s VolumeSnapshot
(which is backed by a rbd image).

Signed-off-by: Rakshith R <[email protected]>
(cherry picked from commit 9936033)
Currently, CephCSI only uses listSnaps to determine
number of snapshots on a RBD image and uses snapshot
names as child image names to flatten them.
But child images may have different name(in case of
group snapshot) or they maybe in trash
(deleted k8s VolSnapshot with alive restored PVC).

The above problems are avoid by making use of both
snap and child image lists.

Signed-off-by: Rakshith R <[email protected]>
(cherry picked from commit 09d848e)
@ceph-csi-bot ceph-csi-bot added the ok-to-test Label to trigger E2E tests label Dec 18, 2024
@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot ceph-csi-bot removed the ok-to-test Label to trigger E2E tests label Dec 18, 2024
@mergify mergify bot closed this Dec 18, 2024
@mergify mergify bot deleted the mergify/merge-queue/f28b277be0 branch December 18, 2024 13:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants