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

clusternet-agent sa need clusterrole permission #99

Closed
hustcat opened this issue Sep 1, 2021 · 1 comment · Fixed by #98
Closed

clusternet-agent sa need clusterrole permission #99

hustcat opened this issue Sep 1, 2021 · 1 comment · Fixed by #98
Assignees
Labels
kind/bug Something isn't working
Milestone

Comments

@hustcat
Copy link

hustcat commented Sep 1, 2021

What happened:

clusternet-agent error log:

W0901 02:45:02.131938       1 status_manager.go:124] cluster status is not ready, will retry later
W0901 02:45:02.649602       1 status_manager.go:124] cluster status is not ready, will retry later
W0901 02:45:05.366810       1 status_manager.go:124] cluster status is not ready, will retry later
I0901 02:45:10.403261       1 reflector.go:255] Listing and watching *v1.Node from pkg/mod/k8s.io/client-go@v0.21.2/tools/cache/reflector.go:167
E0901 02:45:10.404607       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.21.2/tools/cache/reflector.go:167: Failed to watch *v1.Node: failed to list *v1.Node: nodes is forbidden: User "system:serviceaccount:clusternet-system:clusternet-agent" cannot list resource "nodes" in API group "" at the cluster scope
W0901 02:45:19.086087       1 status_manager.go:124] cluster status is not ready, will retry later

The clusternet-agent sa need clusterrole permission.

@dixudx
Copy link
Member

dixudx commented Sep 1, 2021

This is still a new feature to be released into v0.4.0. Thanks for trying newest feature.

Will be fixed in #98.

@dixudx dixudx added this to the v0.4.0 milestone Sep 1, 2021
@dixudx dixudx closed this as completed in #98 Sep 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants