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

Kubectl run logs error while run as non-root user with "failed to initialize nfacct client" err="nfacct sub-system not available" #10765

Closed
ShylajaDevadiga opened this issue Aug 29, 2024 · 2 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@ShylajaDevadiga
Copy link
Contributor

Environmental Info:
v1.31.0-rc1+k3s1

Node(s) CPU architecture, OS, and Version:
Ubuntu 24.04, Any OS

Cluster Configuration:
Single node

Describe the bug:
While running kubectl, it logs an error with

~$ kubectl get nodes
E0829 18:07:08.482306    3622 metrics.go:340] "failed to initialize nfacct client" err="nfacct sub-system not available"
E0829 18:07:08.482414    3622 metrics.go:340] "failed to initialize nfacct client" err="nfacct sub-system not available"
NAME              STATUS   ROLES                  AGE   VERSION
ip-172-31-8-251   Ready    control-plane,master   42s   v1.31.0-rc1+k3s1

Steps To Reproduce:

  1. Install k3s
  2. Run kubectl

Expected behavior:
No error should be logged on console

Actual behavior:
Even though the functionality is not affected we do not expect to see these logs

@brandond
Copy link
Member

brandond commented Aug 29, 2024

v1.31.0+k3s1 milestone should go on the release-1.31 backport issue

@mdrahman-suse
Copy link

Validation on v1.31.0+k3s1

No error is getting logged

$ k3s -v
k3s version v1.31.0+k3s1 (34be6d96)
go version go1.22.5

ubuntu@ip-xxx-xx-xx-204:~$ kubectl get nodes
NAME      STATUS   ROLES                       AGE   VERSION
server1   Ready    control-plane,etcd,master   17m   v1.31.0+k3s1

ubuntu@ip-xxx-xx-xx-204:~$ kubectl get pods -A
NAMESPACE     NAME                                      READY   STATUS      RESTARTS   AGE
kube-system   coredns-5dd589bf46-j6mqc                  1/1     Running     0          18m
kube-system   helm-install-traefik-crd-qzxkw            0/1     Completed   0          17m
kube-system   helm-install-traefik-tmgqm                0/1     Completed   1          17m
kube-system   local-path-provisioner-846b9dcb6c-7vjb5   1/1     Running     0          18m
kube-system   metrics-server-5dc58b587c-xc87l           1/1     Running     0          18m
kube-system   svclb-traefik-0a7e2ac3-7gmbh              2/2     Running     0          17m
kube-system   traefik-7f4b44bf74-mh7df                  1/1     Running     0          17m

@github-project-automation github-project-automation bot moved this from To Test to Done Issue in K3s Development Sep 11, 2024
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
Status: Done Issue
Development

No branches or pull requests

5 participants