You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Kubernetes versions 1.15 and greater, kubelet has a dynamic plugin registration mechanism that discovers all sockets in /var/lib/kubelet/plugin using grpc GetInfo calls. But, trident-csi node-driver-registrar container already registers the plugin. So, the Kubelet's default discovery leads to lot of noise in kubelet logs like below:
Can you please confirm this is harmless in case of trident csi also ?
kubelet: I0121 13:40:31.450593 36037 reconciler.go:156] operationExecutor.RegisterPlugin started for plugin at "/var/lib/kubelet/plugins/csi.trident.netapp.io/csi.sock" (plugin details: &{/var/lib/kubelet/plugins/csi.trident.netapp.io/csi.sock true 2020-01-21 13:05:48.192444146 -0800 PST m=+3.508661885})
kubelet: I0121 13:40:31.450638 36037 operation_generator.go:193] parsed scheme: ""
kubelet: I0121 13:40:31.450667 36037 operation_generator.go:193] scheme "" not registered, fallback to default scheme
kubelet: I0121 13:40:31.450706 36037 asm_amd64.s:1337] ccResolverWrapper: sending new addresses to cc: [{/var/lib/kubelet/plugins/csi.trident.netapp.io/csi.sock 0 <nil>}]
kubelet: I0121 13:40:31.450720 36037 clientconn.go:796] ClientConn switching balancer to "pick_first"
kubelet: I0121 13:40:31.450766 36037 balancer_conn_wrappers.go:131] pickfirstBalancer: HandleSubConnStateChange: 0xc000d73140, CONNECTING
kubelet: I0121 13:40:31.450904 36037 balancer_conn_wrappers.go:131] pickfirstBalancer: HandleSubConnStateChange: 0xc000d73140, READY
kubelet: E0121 13:40:31.451325 36037 goroutinemap.go:150] Operation for "/var/lib/kubelet/plugins/csi.trident.netapp.io/csi.sock" failed. No retries permitted until 2020-01-21 13:42:33.451301322 -0800 PST m=+2208.767519081 (durationBeforeRetry 2m2s). Error: "RegisterPlugin error -- failed to get plugin info using RPC GetInfo at socket /var/lib/kubelet/plugins/csi.trident.netapp.io/csi.sock, err: rpc error: code = Unimplemented desc = unknown service pluginregistration.Registration"
kubelet: I0121 13:40:31.451328 36037 controlbuf.go:382] transport: loopyWriter.run returning. connection error: desc = "transport is closing"
Environment
Provide accurate information about the environment to help us reproduce the issue.
Trident version: 19.10
Container runtime: Docker 18.09.9-CE
Kubernetes version: [e.g. 1.15.9
To Reproduce
Install trident-csi on Kubernetes > v1.14.x
Expected behavior
See kubernetes/kubernetes#70485 (comment). Trident should either move the registration path outside of /var/lib/kubelet/plugin/ or name the file not ending with .sock.
Note that before Kubernetes v1.17, if the csi socket is in the /var/lib/kubelet/plugins/ path, kubelet may log a lot of harmless errors regarding grpc GetInfo call not implemented (fix in kubernetes/kubernetes#84533). The /var/lib/kubelet/csi-plugins/ path is preferred in Kubernetes versions prior to v1.17.
Describe the bug
On Kubernetes versions 1.15 and greater, kubelet has a dynamic plugin registration mechanism that discovers all sockets in /var/lib/kubelet/plugin using grpc GetInfo calls. But, trident-csi node-driver-registrar container already registers the plugin. So, the Kubelet's default discovery leads to lot of noise in kubelet logs like below:
Can you please confirm this is harmless in case of trident csi also ?
Environment
Provide accurate information about the environment to help us reproduce the issue.
To Reproduce
Install trident-csi on Kubernetes > v1.14.x
Expected behavior
See kubernetes/kubernetes#70485 (comment). Trident should either move the registration path outside of /var/lib/kubelet/plugin/ or name the file
not ending with .sock
.Additional context
See kubernetes/kubernetes#70485 (comment)
Can you please confirm this is harmless in case of trident csi also ? If so, can we move the registration path outside of /var/lib/kubelet/plugin/ ?
The text was updated successfully, but these errors were encountered: