ceph / ceph-csi

CSI driver for Ceph
Apache License 2.0
1.29k stars 548 forks source link

Possible leaks in cephcsi (question) #2059

Open Madhu-1 opened 3 years ago

Madhu-1 commented 3 years ago

Possible leaks in cephcsi (question)

General leak

CreateVolume/CreateSnapshot

What if the csi pod is restarted between the new UUID and PV mapping? will this leave a stale entry?

Note: We also need to check restart of csi-provisioner container will leave any stale PVC,PV,ceph resource in cluster?

RBD

Create Volume

Create volume from the snapshot

Create Volume from volume

Create snapshot

Delete Volume

Note covered in https://github.com/ceph/ceph-csi/issues/1728?

CephFS

Create Volume

Create volume from the snapshot

Create Volume from volume

Create snapshot

Madhu-1 commented 3 years ago

@nixpanic @ShyamsundarR @humblec @Yuggupta27 @Rakshith-R @yati1998 Do you guys any other possibilities we need to check?

Madhu-1 commented 3 years ago

cc @agarwal-mudit

Madhu-1 commented 3 years ago

There may/may not be a leak in above cases but we need to verify and make sure there is no leak

humblec commented 3 years ago

As discussed we have to continue the analysis and get into the completion in upcoming releases. Moving this out of 3.4.0 release.

github-actions[bot] commented 3 years ago

This issue has been automatically marked as stale because it has not had recent activity. It will be closed in a week if no further activity occurs. Thank you for your contributions.

github-actions[bot] commented 3 years ago

This issue has been automatically closed due to inactivity. Please re-open if this still requires investigation.

humblec commented 2 years ago

@Madhu-1 shall we remove this form the milestone tracker?