Merge pull request #36900 from vwfs/volume_reconciler_verbosity

Automatic merge from submit-queue

Reduce verbosity of volume reconciler

**What this PR does / why we need it**:
It reduces the log verbosity for attaching of volumes

**Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: fixes #

**Special notes for your reviewer**:

**Release note**:
```release-note
Reduce verbosity of volume reconciler when attaching volumes
```

Set logging level for information about attaching of volumes to from 1 to 4
Otherwise the log is spammed with one line per 100ms while attaching is
in progress and afterwards as long as the volume is attached.
This commit is contained in:
Kubernetes Submit Queue 2016-11-28 11:42:10 -08:00 committed by GitHub
commit e94118411c

View File

@ -561,7 +561,7 @@ func (oe *operationExecutor) generateVolumesAreAttachedFunc(
if !check {
actualStateOfWorld.MarkVolumeAsDetached(volumeSpecMap[spec], nodeName)
glog.V(1).Infof("VerifyVolumesAreAttached determined volume %q (spec.Name: %q) is no longer attached to node %q, therefore it was marked as detached.",
volumeSpecMap[spec], spec.Name())
volumeSpecMap[spec], spec.Name(), nodeName)
}
}
}