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

Remove misleading logs about connecting to agent when running with --force-config #923

Open
ppalucki opened this issue Nov 16, 2022 · 0 comments

Comments

@ppalucki
Copy link
Contributor

Describe the bug
when run like this:

./cri-resmgr --force-config config.yaml 

with no intetion of using cri-regmgr-agent

I'm getting such warnings in output:

W1116 15:10:52.288077  680245 log/ratelimit.go:97] <rate-limited> [core]grpc: addrConn.createTransport failed to connect to {/var/run/cri-resmgr/cri-resmgr-agent.sock /var/run/cri-resmgr/cri-resmgr-agent.sock <nil
> 0 <nil>}. 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...

Expected behavior
With --force-config when I don't want to use agent, there should be no errors like this.

To Reproduce
just run ./cri-resmgr with --force-config but without agent

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

1 participant