Skip to content

Commit 606b3f9

Browse files
Merge pull request openshift#7209 from bfournie/pending-user-warning
OCPBUGS-13108: Log additional host info at warning level
2 parents 744dd80 + 385834c commit 606b3f9

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

pkg/agent/cluster.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ func (czero *Cluster) IsBootstrapComplete() (bool, bool, error) {
224224
(*clusterMetadata.Status == models.ClusterStatusInstallingPendingUserAction) {
225225
for _, host := range clusterMetadata.Hosts {
226226
if *host.Status == models.ClusterStatusInstallingPendingUserAction {
227-
logrus.Debugf("Host %s %s", host.RequestedHostname, *host.StatusInfo)
227+
logrus.Warningf("Host %s %s", host.RequestedHostname, *host.StatusInfo)
228228
}
229229
}
230230
}

pkg/agent/waitfor.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@ func WaitForBootstrapComplete(cluster *Cluster) error {
3232
lastErrOnExit = err
3333
cancel()
3434
} else {
35-
logrus.Info(err)
3635
if err.Error() != lastErrStr {
3736
logrus.Info(err)
3837
lastErrStr = err.Error()

0 commit comments

Comments
 (0)