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

error messages in ovn-controller when svc template is enabled #4301

Open
cathy-zhou opened this issue Apr 22, 2024 · 3 comments
Open

error messages in ovn-controller when svc template is enabled #4301

cathy-zhou opened this issue Apr 22, 2024 · 3 comments
Labels
kind/bug All issues that are bugs and PRs opened to fix bugs services/endpoints All issues related to the Servces/Endpoints API

Comments

@cathy-zhou
Copy link
Contributor

When svc template is enabled, and in the case the numberso f nodeIPs are different from multiple nodes, we saw the following ovn-controller error messages on the nodes with less IPS:

2024-04-16T21:39:43.768Z|03064|socket_util|ERR|NODEIP_IPv4_1:32358: bad IP address "NODEIP_IPv4_1"
2024-04-16T21:39:43.768Z|03065|socket_util|ERR|NODEIP_IPv4_1:31509: bad IP address "NODEIP_IPv4_1"
2024-04-16T21:39:43.768Z|03066|socket_util|ERR|NODEIP_IPv4_2:31509: bad IP address "NODEIP_IPv4_2"
...
2024-04-16T21:39:43.769Z|03068|lflow|WARN|error parsing match "ct.new && !ct.rel && ip4 && ip4.dst == ^NODEIP_IPv4_2 && tcp && tcp.dst == 31825": Syntax error at `NODEIP_IPv4_2' expecting constant.

The error messages may just be annoying and do no harm based on the ovn-nb(1M):

       If a template variable is referenced on a chassis for which that  vari‐
       able  is  not  defined then ovn-controller running on that chassis will
       just interpret it as a raw string literal.

But there are too many such log messages and it could pollute the logs and affect the other logs that are useful.

@tssurya tssurya added kind/bug All issues that are bugs and PRs opened to fix bugs services/endpoints All issues related to the Servces/Endpoints API labels Apr 22, 2024
@tssurya
Copy link
Member

tssurya commented Apr 23, 2024

OH I see if there are secondary IPs only on some nodes the other nodes are printing these logs that cause noise?

@trozet
Copy link
Contributor

trozet commented May 1, 2024

@dceara @numansiddique FYI

@dceara
Copy link
Contributor

dceara commented May 2, 2024

@trozet @cathy-zhou You're right, we should fix this in OVN. I opened an issue to track this:
https://issues.redhat.com/browse/FDP-607

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug All issues that are bugs and PRs opened to fix bugs services/endpoints All issues related to the Servces/Endpoints API
Projects
None yet
Development

No branches or pull requests

4 participants