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

Can we share VolumeLocks for NodeServer/ControllerServer? #4648

Closed
iPraveenParihar opened this issue May 29, 2024 · 6 comments
Closed

Can we share VolumeLocks for NodeServer/ControllerServer? #4648

iPraveenParihar opened this issue May 29, 2024 · 6 comments
Assignees
Labels
component/rbd Issues related to RBD dependency/csi-addons Related to a CSI-Addons issue or enhancement

Comments

@iPraveenParihar
Copy link
Contributor

          lets discuss on this one and we need to see can what will happen when we try to do nodeserver operations like (expand/umount) etc when the fstrim is going on can it leads to corruption etc. based on that we can have central/shared locking. Is it allowed to expand or remove the image when the ControllerReclaimOperation is going on etc.

Originally posted by @Madhu-1 in #4641 (comment)

@nixpanic nixpanic added the dependency/csi-addons Related to a CSI-Addons issue or enhancement label May 30, 2024
@nixpanic
Copy link
Member

lets discuss on this one and we need to see can what will happen when we try to do nodeserver operations like (expand/umount) etc when the fstrim is going on can it leads to corruption etc. based on that we can have central/shared locking.

I do not think this can cause corruption. If so, it is a bug in the filesystem.

Is it allowed to expand or remove the image when the ControllerReclaimOperation is going on etc.

  1. expanding should be allowed, but maybe RBD prevents running both operations at the same time?
  2. while ControllerReclaim is running, the image is open, so deleting it may not be possible (and the CO should retry with backoff)

@nixpanic nixpanic added the component/rbd Issues related to RBD label May 30, 2024
@Madhu-1
Copy link
Collaborator

Madhu-1 commented May 31, 2024

lets discuss on this one and we need to see can what will happen when we try to do nodeserver operations like (expand/umount) etc when the fstrim is going on can it leads to corruption etc. based on that we can have central/shared locking.

I do not think this can cause corruption. If so, it is a bug in the filesystem.

Is it allowed to expand or remove the image when the ControllerReclaimOperation is going on etc.

  1. expanding should be allowed, but maybe RBD prevents running both operations at the same time?
  2. while ControllerReclaim is running, the image is open, so deleting it may not be possible (and the CO should retry with backoff)

@nixpanic yes once we test these things and decide letter on!

Copy link

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 github-actions bot added the wontfix This will not be worked on label Jun 30, 2024
@iPraveenParihar iPraveenParihar removed the wontfix This will not be worked on label Jul 1, 2024
Copy link

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 github-actions bot added the wontfix This will not be worked on label Jul 31, 2024
Copy link

github-actions bot commented Aug 8, 2024

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

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Aug 8, 2024
@iPraveenParihar iPraveenParihar removed the wontfix This will not be worked on label Aug 9, 2024
@iPraveenParihar iPraveenParihar self-assigned this Aug 9, 2024
@iPraveenParihar
Copy link
Contributor Author

decided to share locks #4641. closing this.

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 dependency/csi-addons Related to a CSI-Addons issue or enhancement
Projects
None yet
Development

No branches or pull requests

3 participants