projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7252f5a
)
14360: Fix error log level on first probe after boot.
author
Tom Clegg <tclegg@veritasgenetics.com>
Thu, 20 Dec 2018 18:57:27 +0000
(13:57 -0500)
committer
Tom Clegg <tclegg@veritasgenetics.com>
Thu, 20 Dec 2018 18:57:27 +0000
(13:57 -0500)
Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tclegg@veritasgenetics.com>
lib/dispatchcloud/worker/worker.go
patch
|
blob
|
history
diff --git
a/lib/dispatchcloud/worker/worker.go
b/lib/dispatchcloud/worker/worker.go
index a0a61c1597198171a54b0de373cc84761afacc58..c26186309ad013f2926ba351eee4e2326595920e 100644
(file)
--- a/
lib/dispatchcloud/worker/worker.go
+++ b/
lib/dispatchcloud/worker/worker.go
@@
-168,7
+168,10
@@
func (wkr *worker) probeAndUpdate() {
"Duration": dur,
"State": wkr.state,
})
- if wkr.state == StateBooting {
+ if wkr.state == StateBooting && !needProbeRunning {
+ // If we know the instance has never passed a
+ // boot probe, it's not noteworthy that it
+ // hasn't passed this probe.
logger.Debug("new instance not responding")
} else {
logger.Info("instance not responding")