Description
Appears to be a regression in fluent bit where we've changed the base image to improve security (K8S-2804)
There appears to be a different opening log from standard base image followed by crash:
"level":"info","ts":1660178169.4961982,"logger":"couchbase-watcher","caller":"common/common.go:273","msg":"No environment variable so defaulting","environmentVariable":"STORAGE_BUFFER_PATH","defaultValue":"/tmp/buffer"}{"level":"info","ts":1660178169.4962957,"logger":"couchbase-watcher","caller":"common/common.go:143","msg":"Loaded environment files”} |
|
...
|
|
|
","stacktrace":"github.com/couchbase/fluent-bit/pkg/fluent.Start\n\tgithub.com/couchbase/fluent-bit/pkg/fluent/watcher.go:122 |
github.com/couchbase/fluent-bit/pkg/fluent.addFluentBitWatcher.func1 github.com/couchbase/fluent-bit/pkg/fluent/watcher.go:234\ngithub.com/oklog/run.(*Group).Run.func1 github.com/oklog/run@v1.1.0/group.go:38"}{"level":"info","ts":1660170655.0074291,"logger":"couchbase-watcher","caller":"fluent/watcher.go:237","msg":"Detected exit of Fluent Bit so backoff”} |
As a result fail with the following error because the expected output is non-existent:
util.go:1390: timeout: logs do not contain "[0] couchbase.log." for pod "test-couchbase-jg22t-0000" |
Attachments
For Gerrit Dashboard: K8S-2810 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
178741,5 | K8S-2810: fluent-bit watcher crashes | main | couchbase-fluent-bit | Status: MERGED | +2 | +1 |