diff --git a/pkg/cephfs/nodeserver.go b/pkg/cephfs/nodeserver.go index 6d184f2a3..06b546dff 100644 --- a/pkg/cephfs/nodeserver.go +++ b/pkg/cephfs/nodeserver.go @@ -121,7 +121,7 @@ func (ns *nodeServer) NodePublishVolume(ctx context.Context, req *csi.NodePublis conf := cephConfigData{Monitors: volOptions.Monitors, VolumeUuid: volUuid} if err = conf.writeToFile(); err != nil { - glog.Errorf("couldn't generate ceph.conf: %v", err) + glog.Errorf("failed to write ceph config file to %s: %v", getCephConfPath(volUuid), err) return nil, status.Error(codes.Internal, err.Error()) }