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

rbd: Avoid flattening child images which are in trash #5173

Open
Rakshith-R opened this issue Feb 25, 2025 · 0 comments
Open

rbd: Avoid flattening child images which are in trash #5173

Rakshith-R opened this issue Feb 25, 2025 · 0 comments
Assignees
Labels
component/rbd Issues related to RBD

Comments

@Rakshith-R
Copy link
Contributor

Describe the bug

Currently, ListChildren() goceph function lists all child images regardless of their existence in trash.

_, children, err := image.ListChildren()

https://github.com/ceph/go-ceph/blob/e84ad6c5a35c0514773539c3462af300c3b50584/rbd/snapshot_nautilus.go#L138

We need to make use of new go-ceph API ListChildrenWithParams API in order to distinguish child images in trash and avoid trying to flatten them.
ceph/go-ceph#1079

@Rakshith-R Rakshith-R self-assigned this Feb 25, 2025
@Rakshith-R Rakshith-R added the component/rbd Issues related to RBD label Feb 25, 2025
@Rakshith-R Rakshith-R added this to the release-v3.14.0 milestone Feb 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component/rbd Issues related to RBD
Projects
None yet
Development

No branches or pull requests

1 participant