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

got /var/run/cri-resmgr/cri-resmgr-agent.sock no such file issue #1094

Open
jongwu opened this issue Apr 12, 2024 · 1 comment
Open

got /var/run/cri-resmgr/cri-resmgr-agent.sock no such file issue #1094

jongwu opened this issue Apr 12, 2024 · 1 comment

Comments

@jongwu
Copy link

jongwu commented Apr 12, 2024

My cri-resmgr version is
cri-resmgr version information:

I always get journal log related with cri-resmgr:

cri-resmgr[196816]: W: [ grpc ] [core]grpc: addrConn.createTransport failed to connect to {/var/run/cri-resmgr/cri-resmgr-agent.sock /var/run/cri-resmgr/cri-resmgr-agent.sock 0 }. Err: connection error: desc = "transport: Error while dialing dial unix /var/run/cri-resmgr/cri-resmgr-agent.sock: connect: no such file or directory". Reconnecting...

Yeah, there is really no that agent socket and I have never saw it ever. I think cri-resmgr has not created it.
And cri-resmgr doesn't work. When I start it with topolgy-aware plocy, the pod won't bind to numa node.

How to resolve this?

@klihub
Copy link
Contributor

klihub commented Jan 7, 2025

That is a warning , not an error. Unless you explicitly tell it not to, cri-resmgr will always try to connect to the agent socket and log that warning if it can't. you can get rid of that warning by disabling the agent (socket). IIRC, you can do this by setting the agent socket (--agent-socket command line option) to distabled or the empty string.

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