add ossfs metrics
@@ -121,7 +121,7 @@ func newNodeServer(d *NAS) *nodeServer {
}
func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublishVolumeRequest) (*csi.NodePublishVolumeResponse, error) {
- log.Infof("NodePublishVolume:: Nas Volume %s mount with: %v", req.VolumeId, req)
+ log.Infof("NodePublishVolume:: Nas Volume %s mount with req: %+v", req.VolumeId, req)
// parse parameters
mountPath := req.GetTargetPath()
@@ -372,7 +372,7 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis
}
func (ns *nodeServer) NodeUnpublishVolume(ctx context.Context, req *csi.NodeUnpublishVolumeRequest) (*csi.NodeUnpublishVolumeResponse, error) {
- log.Infof("NodeUnpublishVolume:: Starting Umount Nas Volume %s at path %s", req.VolumeId, req.TargetPath)
+ log.Infof("NodeUnpublishVolume:: Starting umount nas volume %s with req: %+v", req.VolumeId, req)
// check runtime mode
if GlobalConfigVar.RunTimeClass == MixRunTimeMode && utils.IsMountPointRunv(req.TargetPath) {
fileName := filepath.Join(req.TargetPath, utils.CsiPluginRunTimeFlagFile)
