-
Notifications
You must be signed in to change notification settings - Fork 545
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
remount old mount point when csi plugin unexpect exit #282
Merged
gman0
merged 10 commits into
ceph:csi-v1.0
from
huaizong:improve-remount-pv-path-when-exit-v2
Apr 2, 2019
Merged
remount old mount point when csi plugin unexpect exit #282
gman0
merged 10 commits into
ceph:csi-v1.0
from
huaizong:improve-remount-pv-path-when-exit-v2
Apr 2, 2019
Commits on Mar 25, 2019
-
issue #217 Goal we try to solve when csi exit unexpect, the pod use cephfs pv can not auto recovery because lost mount relation until pod be killed and reschedule to other node. i think this is may be a problem. may be csi plugin can do more thing to remount the old path so when pod may be auto recovery when pod exit and restart, the old mount path can use. NoGoal Pod should exit and restart when csi plugin pod exit and mount point lost. if pod not exit will get error of **transport endpoint is not connected**. implment logic csi-plugin start: 1. load all MountCachEntry from node local dir 2. check if volID exist in cluster, if no we ignore this entry, if yes continue 3. check if stagingPath exist, if yes we mount the path 4. check if all targetPath exist, if yes we binmount to staging path NodeServer: 1. NodeStageVolume: add MountCachEntry on local dir include readonly attr and ceph secret 2. NodeStagePublishVolume: add pod bind mount path to MountCachEntry and persist local dir 3. NodeStageunPublishVolume: remove pod bind mount path From MountCachEntry and persist local dir 4. NodeStageunStageVolume: remove MountCachEntry from local dir
王怀宗 committedMar 25, 2019 Configuration menu - View commit details
-
Copy full SHA for b318964 - Browse repository at this point
Copy the full SHA b318964View commit details
Commits on Mar 27, 2019
-
1. fix mountcache race conflict
2. support user-defined cache dir 3. if not define mountcachedir disable mountcache
王怀宗 committedMar 27, 2019 Configuration menu - View commit details
-
Copy full SHA for af330fe - Browse repository at this point
Copy the full SHA af330feView commit details
Commits on Mar 29, 2019
-
王怀宗 committed
Mar 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 5b53e90 - Browse repository at this point
Copy the full SHA 5b53e90View commit details -
王怀宗 committed
Mar 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 043d360 - Browse repository at this point
Copy the full SHA 043d360View commit details -
王怀宗 committed
Mar 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 4ec3a57 - Browse repository at this point
Copy the full SHA 4ec3a57View commit details -
add cephfs driver **--mountcachedir** parameter document
王怀宗 committedMar 29, 2019 Configuration menu - View commit details
-
Copy full SHA for dfdefe4 - Browse repository at this point
Copy the full SHA dfdefe4View commit details -
cephfs driver deploy support remount volume
王怀宗 committedMar 29, 2019 Configuration menu - View commit details
-
Copy full SHA for 1ccbb5b - Browse repository at this point
Copy the full SHA 1ccbb5bView commit details -
mount info cache dir support multi cephfsdriver
王怀宗 committedMar 29, 2019 Configuration menu - View commit details
-
Copy full SHA for f3e5f83 - Browse repository at this point
Copy the full SHA f3e5f83View commit details
Commits on Apr 1, 2019
-
王怀宗 committed
Apr 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 6de862d - Browse repository at this point
Copy the full SHA 6de862dView commit details -
王怀宗 committed
Apr 1, 2019 Configuration menu - View commit details
-
Copy full SHA for 1f1d5f4 - Browse repository at this point
Copy the full SHA 1f1d5f4View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.