-
Notifications
You must be signed in to change notification settings - Fork 199
Closed
Description
Hi,
- I develop a CSI driver and implement Probe call. The Probe call verifies driver status and takes about 2 seconds. The external attacher prints calling Probe RPC timeout log (
Probe failed with rpc error: code = DeadlineExceeded desc = context deadline exceeded
). In my opinion, when external attacher calling Probe, the timeout setting is too short (only one second). We can increase timeout second.
external-attacher/cmd/csi-attacher/main.go
Line 198 in 5a4cc3b
ctx, cancel := context.WithTimeout(context.Background(), csiTimeout) - We would not share the same context object in several GRPC call.
external-attacher/cmd/csi-attacher/main.go
Line 101 in 5a4cc3b
csiConn, err := connection.New(*csiAddress, *connectionTimeout)
Metadata
Metadata
Assignees
Labels
No labels