volumes: promote some logs from info -> warning

Part of #40583
This commit is contained in:
Justin Santa Barbara 2017-02-28 10:43:06 -05:00
parent 90250220a9
commit 35be997c2f

View File

@ -220,7 +220,7 @@ func (rc *reconciler) reconcile() {
if !timeout { if !timeout {
glog.Infof(attachedVolume.GenerateMsgDetailed("attacherDetacher.DetachVolume started", "")) glog.Infof(attachedVolume.GenerateMsgDetailed("attacherDetacher.DetachVolume started", ""))
} else { } else {
glog.Infof(attachedVolume.GenerateMsgDetailed("attacherDetacher.DetachVolume started", fmt.Sprintf("This volume is not safe to detach, but maxWaitForUnmountDuration %v expired, force detaching", rc.maxWaitForUnmountDuration))) glog.Warningf(attachedVolume.GenerateMsgDetailed("attacherDetacher.DetachVolume started", fmt.Sprintf("This volume is not safe to detach, but maxWaitForUnmountDuration %v expired, force detaching", rc.maxWaitForUnmountDuration)))
} }
} }
if err != nil && !exponentialbackoff.IsExponentialBackoff(err) { if err != nil && !exponentialbackoff.IsExponentialBackoff(err) {
@ -270,6 +270,6 @@ func (rc *reconciler) reconcile() {
// Update Node Status // Update Node Status
err := rc.nodeStatusUpdater.UpdateNodeStatuses() err := rc.nodeStatusUpdater.UpdateNodeStatuses()
if err != nil { if err != nil {
glog.Infof("UpdateNodeStatuses failed with: %v", err) glog.Warningf("UpdateNodeStatuses failed with: %v", err)
} }
} }