Closed gmarks-ntap closed 1 year ago
The Kubernetes project currently lacks enough contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle stale
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle stale
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues.
This bot triages un-triaged issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/remove-lifecycle rotten
/close
Please send feedback to sig-contributor-experience at kubernetes/community.
/lifecycle rotten
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues and PRs.
This bot triages issues according to the following rules:
lifecycle/stale
is appliedlifecycle/stale
was applied, lifecycle/rotten
is appliedlifecycle/rotten
was applied, the issue is closedYou can:
/reopen
/remove-lifecycle rotten
Please send feedback to sig-contributor-experience at kubernetes/community.
/close not-planned
@k8s-triage-robot: Closing this issue, marking it as "Not Planned".
While looking at logs for a CSI driver we noticed we were seeing warning log messages coming from the following snippet of code from the removePathIfNotMountPoint() function from the mount_helper_common.go file.
Looking at the comment for the removePathIfNotMountPoint() function, and from the name of the function, it appears that removal of a path is an intended result of the function.
Given that the path removal is expected from this function it seems a little bit odd that a warning level log message would be produced in conjunction with removing the path element. It seems to me that a higher level V style Info message would be better fitting for this log message. In that scenario the log message would be filtered out at normal logging levels but would still be available for scenarios where additional info/debug level detail was desired. It may also be less confusing for someone running across these log messages to see an Info message rather than a Warning message about the path removal since the removal is expected there and not necessarily an error situation.
Does this make enough sense to change this klog.Warningf() usage to something more like a klog.V(4).Infof() usage? The exact V level could probably be debated, but 4 or 5 seem reasonable to me.