Comments (3)
@muecahit94 current GCS support kube 1.13+ version
to deploy in kube 1.12 may be you need to update driver register path in gcs deployment
from var/lib/kubelet/plugins_registry
to var/lib/kubelet/plugins
in https://github.com/gluster/gcs/blob/master/deploy/templates/gcs-manifests/gcs-fs-csi.yml.j2
from gcs.
there is plugins_registry at three places:
cat templates/gcs-manifests/gcs-fs-csi.yml.j2 | grep var/lib/kubelet/plugins_registry
value: /var/lib/kubelet/plugins_registry/org.gluster.glusterfs/csi.sock
path: /var/lib/kubelet/plugins_registry/org.gluster.glusterfs
path: /var/lib/kubelet/plugins_registry/
when I change this part:
- name: registration-dir
hostPath:
path: /var/lib/kubelet/plugins/
type: Directory
I got this error on csi-nodeplugin:
I0212 17:14:04.271438 1 main.go:111] Version: v1.0.1-0-g27703026
I0212 17:14:04.271552 1 main.go:118] Attempting to open a gRPC connection with: "/plugin/csi.sock"
I0212 17:14:04.271570 1 connection.go:69] Connecting to /plugin/csi.sock
I0212 17:14:04.272055 1 connection.go:96] Still trying, connection is CONNECTING
I0212 17:14:04.272383 1 connection.go:93] Connected
I0212 17:14:04.272401 1 main.go:126] Calling CSI driver to discover driver name.
I0212 17:14:04.272421 1 connection.go:137] GRPC call: /csi.v1.Identity/GetPluginInfo
I0212 17:14:04.272430 1 connection.go:138] GRPC request: {}
I0212 17:14:04.276837 1 connection.go:140] GRPC response: {"name":"org.gluster.glusterfs","vendor_version":"1.0.0"}
I0212 17:14:04.277597 1 connection.go:141] GRPC error: <nil>
I0212 17:14:04.277608 1 main.go:134] CSI driver name: "org.gluster.glusterfs"
I0212 17:14:04.277630 1 main.go:138] Loading kubeconfig.
I0212 17:14:04.277943 1 node_register.go:55] Calling CSI driver to discover node ID.
I0212 17:14:04.277976 1 connection.go:137] GRPC call: /csi.v1.Node/NodeGetInfo
I0212 17:14:04.277984 1 connection.go:138] GRPC request: {}
I0212 17:14:04.279040 1 connection.go:140] GRPC response: {"node_id":"hostname"}
I0212 17:14:04.279609 1 connection.go:141] GRPC error: <nil>
I0212 17:14:04.279616 1 node_register.go:63] CSI driver node ID: "hostname"
I0212 17:14:04.279696 1 node_register.go:86] Starting Registration Server at: /registration/org.gluster.glusterfs-reg.sock
I0212 17:14:04.279778 1 node_register.go:93] Registration Server started at: /registration/org.gluster.glusterfs-reg.sock
I0212 17:14:04.280374 1 main.go:84] Received GetInfo call: &InfoRequest{}
I0212 17:14:04.282779 1 main.go:94] Received NotifyRegistrationStatus call: &RegistrationStatus{PluginRegistered:false,Error:plugin registration failed with err: error updating CSI node info in the cluster: error adding CSI driver node info: driverNodeID must not be empty,}
E0212 17:14:04.282897 1 main.go:96] Registration process failed with error: plugin registration failed with err: error updating CSI node info in the cluster: error adding CSI driver node info: driverNodeID must not be empty, restarting registration container.
from gcs.
is there no way to deploy gcs on a kubernetes version 1.12.x ?
Pls give me some tips, what i could try out.
from gcs.
Related Issues (20)
- csi-node going to Evicted state HOT 3
- glustercli commands are failing because of an unhealthy gluster pod HOT 2
- Change in README is required HOT 3
- support for loopback CSI driver HOT 2
- GCS Website pending things
- Failed to add devices, vagrant up hung. HOT 2
- Grafana dashboard not showing gluster volumes HOT 9
- failed to add device on a rancher(kubernetes)-cluster HOT 2
- python 2.7 used while installing requirements into gcs-env HOT 1
- RWO Volume request failed HOT 2
- remove host udev dependency HOT 4
- RWO volumes sometimes fails with transaction errors
- GD2 pods should shutdown cleanly when requested
- plugins_registry vs plugins path HOT 1
- Deployment changes to Loop back bricks
- Issue with deploy-gcs.yml HOT 4
- GD2 pods fails to come up if the kube cluster nodes have FQDN as hostname HOT 1
- Etcd pods goto error state while deploying
- can not deploy due to the json.decoder.JSONDecodeError:
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gcs.