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

[Release-1.27] - Fix Error getting the node object error spew on initial startup #9619

Closed
brandond opened this issue Mar 1, 2024 · 1 comment
Assignees
Milestone

Comments

@brandond
Copy link
Member

brandond commented Mar 1, 2024

Backport fix for Fix Error getting the node object error spew on initial startup

@mdrahman-suse
Copy link

Validated using release-1.27 branch with commit 1268cf0

Followed the same steps as mentioned here: #9574 (comment)

Replication

$ k3s -v
k3s version v1.27.11+k3s1 (06d6bc80)
go version go1.21.7

$ sudo journalctl -u k3s | grep 'forbidden:'
Mar 11 15:38:32 server1 k3s[6034]: time="2024-03-11T15:38:32Z" level=error msg="Error getting the node object: nodes \"server1\" is forbidden: User \"system:k3s-controller\" cannot get resource \"nodes\" in API group \"\" at the cluster scope"
Mar 11 15:38:34 server1 k3s[6034]: time="2024-03-11T15:38:34Z" level=error msg="Error getting the node object: nodes \"server1\" is forbidden: User \"system:k3s-controller\" cannot get resource \"nodes\" in API group \"\" at the cluster scope"
Mar 11 15:38:36 server1 k3s[6034]: time="2024-03-11T15:38:36Z" level=error msg="Error getting the node object: nodes \"server1\" is forbidden: User \"system:k3s-controller\" cannot get resource \"nodes\" in API group \"\" at the cluster scope"

Validation

$ k3s -v
k3s version v1.27.11+k3s-1268cf0a (1268cf0a)
go version go1.21.7

$ sudo journalctl -u k3s | grep 'forbidden:'
Mar 11 15:54:11 server1 k3s[7374]: time="2024-03-11T15:54:11Z" level=debug msg="Network policy controller waiting to get Node server1: nodes \"server1\" is forbidden: User \"system:k3s-controller\" cannot get resource \"nodes\" in API group \"\" at the cluster scope"
Mar 11 15:54:13 server1 k3s[7374]: time="2024-03-11T15:54:13Z" level=debug msg="Network policy controller waiting to get Node server1: nodes \"server1\" is forbidden: User \"system:k3s-controller\" cannot get resource \"nodes\" in API group \"\" at the cluster scope"
Mar 11 15:54:15 server1 k3s[7374]: time="2024-03-11T15:54:15Z" level=debug msg="Network policy controller waiting to get Node server1: nodes \"server1\" is forbidden: User \"system:k3s-controller\" cannot get resource \"nodes\" in API group \"\" at the cluster scope"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done Issue
Development

No branches or pull requests

2 participants