-
Notifications
You must be signed in to change notification settings - Fork 29
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Fix unmap #197
Fix unmap #197
Conversation
Signed-off-by: Erik Hollensbe <erik+github@hollensbe.org>
Signed-off-by: Erik Hollensbe <erik+github@hollensbe.org>
… the same host would trump each other. Signed-off-by: Erik Hollensbe <erik+github@hollensbe.org>
…t bugs Signed-off-by: Erik Hollensbe <erik+github@hollensbe.org>
LGTM, I guess we need this as ceph won't allow mounting same volume more than once, right? Just to understand the docker issue and the fix well, basically docker will continue to send unmount but has added an ID to mount and unmount request that volplugin can use to disregard unmount requests that don't have corresponding successful mount? Do we need to worry about these ID's being global v/s host local, looks like not becasue swarm will anyways create a volume on every host. Is that correct? |
It's just not safe to do, ceph will let it happen though. There is a facility in ceph itself to make/remove these locks, but it hasn't proven very reliable to me yet. |
ah..ok, yeah I remember we had tried ceph locks before in volplugin. |
To answer this, yes, that is the exact scenario we are hitting. |
global vs. host local: these ids are generated locally and are per-mount, not per-volume, well at least once they arrive that is. |
b9e9302 Merge pull request contiv-experimental#197 from mapuri/docker 8ce63b8 bump up versions of contiv services a4ce37f Add support for installing Docker CS engine 641fef9 Merge pull request contiv-experimental#196 from vvb/ovs_fix 135dfdb using the latest openvswitch rpm as in openstak-kilo repo git-subtree-dir: ansible git-subtree-split: b9e930270ae327e27fa66f2325f0fded4844f10b
This creates a number of fixes for potential and infrequent failures in the mount/unmount process in volplugin. It also exposes a bug in docker via moby/moby#21015 which is required to fix the issue for multiple atttempts at unmounting the same mountpoint on the same host.