-
Notifications
You must be signed in to change notification settings - Fork 553
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
Fix pluginpath for cephfs #460
Conversation
0399fa6
to
c17f8ec
Compare
cmd/cephcsi.go
Outdated
@@ -52,6 +53,8 @@ var ( | |||
volumeMounter = flag.String("volumemounter", "", "default volume mounter (possible options are 'kernel', 'fuse')") | |||
mountCacheDir = flag.String("mountcachedir", "", "mount info cache save dir") | |||
metadataStorage = flag.String("metadatastorage", "", "metadata persistence method [node|k8s_configmap]") | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Madhu-1 no newline required here.
pkg/cephfs/driver.go
Outdated
klog.Infof("Driver: %v version: %v", driverName, version) | ||
|
||
// Configuration | ||
PluginFolder = pluginFolder |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
may be you can use a different arg name in func().. but even this is fine but one can miss the case of the letter and be confused.
Signed-off-by: Madhu Rajanna <[email protected]>
@Madhu-1 can you please add the issue Link in the PR description ? |
@ShyamsundarR @poornimag Please review. This PR is pretty old , so ping with a timeout :) |
Fixes: #458 |
As discussed in slack, I am merging this PR. |
Fix pluginpath for cephfs
@Madhu-1 the provisioner logs ,i check the mointors i set in configmap : |
@jianglingxia there are a lot of changes between v1.0.0 and v1.2.0. from the error, it looks like csi is not able to fetch mon values. btw how you are passing mon values? |
yes,the v1.0.0 and v1.2.0 has a lot of changes, the mon values i writer the configmap and create configmap because that my kubernetes cluster version is v1.13,so then use the csi version v1.0.0,can you give my some idea?thanks |
@jianglingxia cephcsi v1.2.0 works with Kube 1.13. why you are using v1.0.0? |
@jianglingxia if you want to use v1.0.0 can you add monitors in storageclass and try? |
can i use k8s v1.13 and use csi version v1.2.0? thanks |
yes you can use cephcsi v1.2.0 with kube 1.13 |
but the pr kubernetes-csi/external-provisioner#249 merge the sidecar,the k8s code change it when support multi replicas ? |
you can use a single replica. refer templates from v1.13 folder example https://github.com/ceph/ceph-csi/tree/master/deploy/rbd/kubernetes/v1.13 |
sorry i see the pr label v1.2.0, but the branch and realeas can not find v1.2.0,only v1.0.0 and v1.1.0 |
yes, we have only released v1.1.0 and v1.0.0 we are yet to release v1.2.0 this month End. if you are testing ceph-csi you can use the master branch |
Describe what this PR does
make pluginpath configurable for cephfs