Skip to content

Conversation

@mergify
Copy link
Contributor

@mergify mergify bot commented Jun 24, 2025

Describe what this PR does

PrepareVolumeForSnapshot() or flattenParentImage() requires rbd image flattening, that is performed in function flattenClonedRbdImages(). This function is lacking namespace support. This was undetected before because ceph local installs, used as tests, provides a default namespace and it's not common behaviour to create new ones.

The underlying bug is very critical : snapshots are performed but flattening are never performed, leading to accumulation of data.

Is there anything that requires special attention

Do you have any questions? no

Is the change backward compatible? yes

Are there concerns around backward compatibility? this code was tested with non-default namespaces but should be tested proactively in all situations.

Future concerns

Checklist:

  • Commit Message Formatting: Commit titles and messages follow
    guidelines in the developer guide.
  • Reviewed the developer guide on Submitting a Pull Request
  • Pending release notes updated with breaking and/or notable changes for the next major release.
  • Documentation has been updated, if necessary.
  • Unit tests have been added, if necessary.
  • Integration tests have been added, if necessary.

This is my first PR on this project, let me know if I missed something.


This is an automatic backport of pull request #5392 done by Mergify.

flattenClonedRbdImages() requires namespace if it not the default one.

Signed-off-by: Olivier Doucet <[email protected]>
(cherry picked from commit b0eb428)
@mergify mergify bot added the ok-to-test Label to trigger E2E tests label Jun 24, 2025
@ceph-csi-bot
Copy link
Collaborator

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

@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.32

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-cephfs

@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.32

@ceph-csi-bot
Copy link
Collaborator

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

@ceph-csi-bot
Copy link
Collaborator

/test ci/centos/upgrade-tests-rbd

@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 Jun 24, 2025
@Rakshith-R Rakshith-R requested a review from a team June 25, 2025 11:02
@mergify mergify bot merged commit 8f9ed63 into release-v3.14 Jun 25, 2025
38 of 39 checks passed
@mergify mergify bot deleted the mergify/bp/release-v3.14/pr-5392 branch June 25, 2025 11:15
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.

4 participants