-
Notifications
You must be signed in to change notification settings - Fork 69
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
VolumePopulator scheduling issue - CSI democrati-csi local-hostpath using the volsync volumepopulator. #1255
Comments
@danielsand please update if I've misunderstood, but I tried to put a summary above. I'm guessing your issue is tied to the volumepopulator and that you have a volumesnapshot that is not portable across nodes. What happens with the volumepopulator when you have a storageclass that uses Essentially when a consumer wants to use the PVC ,it will get schduled to a node, and at that point the volume populator would try to provision a temp pvc with the snapshot contents on the same node that has been assigned to your original volumepopulator pvc. I think this can be an issue if the scheduler has chosen a node that is not compatible with your volume snapshot. You may be able to work around this by using a storageclass with |
@tesshuflower kudos for pushing this and please assign the ticket to me. |
@tesshuflower spend 2 days on the issue. the state i found february (?) where it worked sometimes and then not is not reproducible anymore. (each of them is pointing to the next one in logs... with no visible error) Since yesterday csi-snapshotter 8.0.0 was released
i will stop right here and wait what will come next... the haystack is just to big. kudos to you @tesshuflower for your commitment and effort. From my side the ticket is obsolete and can be closed. cheers |
thanks @danielsand and thanks for the info about the external-snapshotter, I do need to look into updating volsync tests to use this latest release. Will close this issue for now, but please re-open if you encounter this again going forward. |
Taken from conversation in #1019.
If I'm understanding this correctly, this is about a storage driver that creates volume snapshots that are not portable across nodes.
When the volumepopulator is used to create a pvc from snapshot and volumebinding mode is
WaitForFirstConsumer
, the PVC may get assigned to a node that is not compatible with the volumesnapshot, and restoring the snapshot fails.The linked issue wasnt about the volumepopulator,
democrati csi local-hostpath + volume snapshots + volsync didnt worked for some folks.
Just a reference it on what was is currently running on my end and what is working. (CSI and volume snapshots work as they should)
Volumepopulator is failing at random currently on my setup.
The wrong node gets picked by the volume populator and WaitForFirstConsumer is specified.
Will circle back when I push the topic again.
Originally posted by @danielsand in #1019 (comment)
The text was updated successfully, but these errors were encountered: