-
Notifications
You must be signed in to change notification settings - Fork 560
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
Consider options for persisting metadata #66
Comments
What are the current metadata stored that are supposed to be persistent and are not node-specific, for rbd and cephfs, respectively? from the linked PR the rbd snapshot info seems to be one of them. |
Yes, snapshot info and both rbd and cephfs CSI plugins store volume attributes. |
I'm playing around with having etcd as a metadata store. Is it ok to have it as a dependency @rootfs ? |
Note that RBD allows you to associate arbitrary key/value pairs to images via "rbd image-meta get/set". |
Is this just for snapshotting, or are other uses also affected? |
Also other uses. |
Also if snapshotter container is not start in the same node as provisionner container, trying to create a snapshot result in: Source Volume ID csi-xxx-xxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx cannot found cannot found |
Made a PR to address this issue (still WIP), please give me your feedbacks :) |
@gman0 I think this can be closed? |
Done, closing. |
Sync rhs/ceph-csi:devel with ceph/ceph-csi:devel
Currently, both RBD and CephFS CSI plugins suffer from relying on metadata stored locally on nodes - this will cause problems if e.g. the node goes down and the plugin gets relocated, losing the persisted state. This issue is intended to open a discussion and weigh the options to solve this problem.
The text was updated successfully, but these errors were encountered: