Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

change severity of some stolon logs so kubelet logs are not flooded #718

Closed
aligthart opened this issue Oct 15, 2019 · 1 comment
Closed

Comments

@aligthart
Copy link

aligthart commented Oct 15, 2019

Submission type

  • Request for enhancement (RFE)

Environment

Stolon version

0.14.0

Additional environment information if useful to understand the bug

When running journalctl -f we get all the systemd logs including the ones from kubelet.
Every second kubelet reports the following messages.

This is annoying as it makes it more difficult to see other messages.

Oct 15 08:32:14 ip-10-18-8-20 kubelet[15397]: I1015 08:32:14.632463   15397 setters.go:73] Using node IP: "10.18.8.20"
Oct 15 08:32:14 ip-10-18-8-20 kubelet[15397]: I1015 08:32:14.867305   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-keeper-0_control(ee71590d-a285-4c60-b730-1604f3b2baee)"
Oct 15 08:32:16 ip-10-18-8-20 kubelet[15397]: I1015 08:32:16.646184   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-proxy-55f44b98dd-cknlw_control(e8e9db28-dd97-498e-9d8a-0ab6f3813c5f)"
Oct 15 08:32:19 ip-10-18-8-20 kubelet[15397]: I1015 08:32:19.886794   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-keeper-0_control(ee71590d-a285-4c60-b730-1604f3b2baee)"
Oct 15 08:32:21 ip-10-18-8-20 kubelet[15397]: I1015 08:32:21.747884   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-proxy-55f44b98dd-cknlw_control(e8e9db28-dd97-498e-9d8a-0ab6f3813c5f)"
Oct 15 08:32:24 ip-10-18-8-20 kubelet[15397]: I1015 08:32:24.645222   15397 setters.go:73] Using node IP: "10.18.8.20"
Oct 15 08:32:24 ip-10-18-8-20 kubelet[15397]: I1015 08:32:24.899987   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-keeper-0_control(ee71590d-a285-4c60-b730-1604f3b2baee)"
Oct 15 08:32:26 ip-10-18-8-20 kubelet[15397]: I1015 08:32:26.756997   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-proxy-55f44b98dd-cknlw_control(e8e9db28-dd97-498e-9d8a-0ab6f3813c5f)"
Oct 15 08:32:29 ip-10-18-8-20 kubelet[15397]: I1015 08:32:29.932519   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-keeper-0_control(ee71590d-a285-4c60-b730-1604f3b2baee)"
Oct 15 08:32:31 ip-10-18-8-20 kubelet[15397]: I1015 08:32:31.845789   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-proxy-55f44b98dd-cknlw_control(e8e9db28-dd97-498e-9d8a-0ab6f3813c5f)"
Oct 15 08:32:34 ip-10-18-8-20 kubelet[15397]: I1015 08:32:34.662599   15397 setters.go:73] Using node IP: "10.18.8.20"
Oct 15 08:32:34 ip-10-18-8-20 kubelet[15397]: I1015 08:32:34.958680   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-keeper-0_control(ee71590d-a285-4c60-b730-1604f3b2baee)"
Oct 15 08:32:36 ip-10-18-8-20 kubelet[15397]: I1015 08:32:36.857420   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-proxy-55f44b98dd-cknlw_control(e8e9db28-dd97-498e-9d8a-0ab6f3813c5f)"
Oct 15 08:32:39 ip-10-18-8-20 kubelet[15397]: I1015 08:32:39.972742   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-keeper-0_control(ee71590d-a285-4c60-b730-1604f3b2baee)"
Oct 15 08:32:41 ip-10-18-8-20 kubelet[15397]: I1015 08:32:41.870469   15397 kubelet.go:1891] SyncLoop (UPDATE, "api"): "stolon-proxy-55f44b98dd-cknlw_control(e8e9db28-dd97-498e-9d8a-0ab6f3813c5f)"

Expected behaviour you didn't see

I prefer not to see these informational messages. They look more debug to me.
Can we change the severity of these messages to Debug instead of Info.

Steps to reproduce the problem

stolon installed via official helm chart (but that should not matter) and explicitly set container version to stolon 0.14.

helm upgrade stolon stable/stolon \
    --install \
    --version 1.1.2 \
    --set image.tag="v0.14.0-pg11" \

Enhancement Description

Change severity of these messages to DEBUG so kubelet logs stay clean.

@sgotti
Copy link
Member

sgotti commented Oct 15, 2019

@aligthart These are kubelet logs not stolon logs probably caused by updates to the stolon pods metadata (see #463)

@sgotti sgotti closed this as completed Oct 15, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants