-
Notifications
You must be signed in to change notification settings - Fork 553
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
Conversation
Signed-off-by: Rakshith R <[email protected]> (cherry picked from commit afc08c5)
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)
Signed-off-by: Rakshith R <[email protected]> (cherry picked from commit 50b2a05)
/test ci/centos/upgrade-tests-cephfs |
/test ci/centos/upgrade-tests-rbd |
/test ci/centos/k8s-e2e-external-storage/1.29 |
/test ci/centos/k8s-e2e-external-storage/1.31 |
/test ci/centos/k8s-e2e-external-storage/1.30 |
/test ci/centos/mini-e2e-helm/k8s-1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.31 |
/test ci/centos/mini-e2e/k8s-1.29 |
/test ci/centos/mini-e2e-helm/k8s-1.30 |
/test ci/centos/mini-e2e/k8s-1.31 |
/test ci/centos/mini-e2e/k8s-1.30 |
🎉 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]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
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
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
base=ci/centos
status-success=ci/centos/jjb-validate
status-success=ci/centos/job-validation
Required conditions to stay in the queue:
#approved-reviews-by >= 1
[🛡 GitHub branch protection]#changes-requested-reviews-by = 0
[🛡 GitHub branch protection]