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

daemon: Remove unnecessary log #15776

Merged
merged 1 commit into from
Apr 20, 2021

Conversation

christarazi
Copy link
Member

This log msg is unnecessary and was added in 25a90dc ("daemon: log
errors from bpf.TestDummyProg()"). It is unnecessary because the option
it is warning about is not even exposed to the user, so it is completely
irrelevant and un-actionable.

Fixes: #15727

Signed-off-by: Chris Tarazi chris@isovalent.com

This log msg is unnecessary and was added in 25a90dc ("daemon: log
errors from bpf.TestDummyProg()"). It is unnecessary because the option
it is warning about is not even exposed to the user, so it is completely
irrelevant and un-actionable.

Fixes: cilium#15727

Signed-off-by: Chris Tarazi <chris@isovalent.com>
@christarazi christarazi requested a review from a team April 19, 2021 20:57
@christarazi christarazi added area/daemon Impacts operation of the Cilium daemon. kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact. labels Apr 19, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 19, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot added this to In progress in 1.10.0 Apr 19, 2021
@maintainer-s-little-helper maintainer-s-little-helper bot removed the dont-merge/needs-release-note-label The author needs to describe the release impact of these changes. label Apr 19, 2021
@christarazi christarazi requested a review from brb April 19, 2021 20:57
@christarazi christarazi requested a review from aanm April 19, 2021 20:58
@pchaigno pchaigno removed their assignment Apr 19, 2021
Copy link
Member

@brb brb left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! I wonder what HostServicePeer even is.

@@ -231,13 +231,11 @@ func initKubeProxyReplacementOptions() (strict bool) {
option.Config.EnableHostServicesPeer = true
if option.Config.EnableIPv4 {
if err := bpf.TestDummyProg(bpf.ProgTypeCgroupSockAddr, bpf.BPF_CGROUP_INET4_GETPEERNAME); err != nil {
log.WithError(err).Warn("Disabling HostServicesPeer feature.")
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This line looks good!

@aanm aanm merged commit c3bc267 into cilium:master Apr 20, 2021
1.10.0 automation moved this from In progress to Done Apr 20, 2021
@christarazi christarazi deleted the pr/christarazi/fix-15727 branch April 20, 2021 16:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/daemon Impacts operation of the Cilium daemon. kind/cleanup This includes no functional changes. release-note/misc This PR makes changes that have no direct user impact.
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Give better UX to log message "Disabling HostServicesPeer feature." error="invalid argument"
4 participants