Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cmd/csi-node-driver-registrar/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ func newRegistrationServer(driverName string, endpoint string, versions []string
// GetInfo is the RPC invoked by plugin watcher
func (e registrationServer) GetInfo(ctx context.Context, req *registerapi.InfoRequest) (*registerapi.PluginInfo, error) {
logger := klog.FromContext(ctx)
logger.Info("Received GetInfo call", "request", req)
logger.V(4).Info("Received GetInfo call", "request", req)

return &registerapi.PluginInfo{
Type: registerapi.CSIPlugin,
Expand Down
4 changes: 2 additions & 2 deletions cmd/csi-node-driver-registrar/node_register.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,15 +141,15 @@ func httpServer(ctx context.Context, socketPath string, httpEndpoint string, csi

func checkLiveRegistrationSocket(ctx context.Context, socketFile, csiDriverName string) error {
logger := klog.FromContext(ctx)
logger.V(2).Info("Attempting to open a gRPC connection", "socketfile", socketFile)
logger.V(4).Info("Attempting to open a gRPC connection", "socketfile", socketFile)
grpcConn, err := connection.ConnectWithoutMetrics(ctx, socketFile)
if err != nil {
return fmt.Errorf("error connecting to node-registrar socket %s: %v", socketFile, err)
}

defer closeGrpcConnection(logger, socketFile, grpcConn)

logger.V(2).Info("Calling node registrar to check if it still responds")
logger.V(4).Info("Calling node registrar to check if it still responds")
ctx, cancel := context.WithTimeout(context.Background(), *operationTimeout)
defer cancel()

Expand Down