Hi, We are experiencing an issue with a flood of log messages when using OVN with dynamic addressing.
Example, every time we add a port, it then seems to flood the log messages for the new port plus all existing ports, e.g. ovn-nbctl ls-add s1 ovn-nbctl set Logical_Switch s1 other_config:subnet=172.16.102.0/24 other_config:ipv6_prefix="fd42:a4ec:de94:b4a6::/64" ovn-nbctl lsp-add s1 s1_r1 ovn-nbctl lsp-set-addresses s1_r1 "00:de:ad:ff:01:02 dynamic" That last command will then generate this in /var/log/ovn/ovn-northd.log: 2020-12-11T11:15:56.401Z|00059|ovn_northd|INFO|Assigned dynamic IPv4 address '172.16.102.2' to port 's2_r1' 2020-12-11T11:15:56.401Z|00060|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r1' 2020-12-11T11:15:56.402Z|00061|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r1' 2020-12-11T11:15:56.402Z|00062|ovn_northd|WARN|Dropped 17 log messages in last 201 seconds (most recently, 169 seconds ago) due to excessive rate 2020-12-11T11:15:56.402Z|00063|ovn_northd|WARN|Duplicate IP set on switch s2: 172.16.102.2 Subsequently adding another port by running: ovn-nbctl lsp-add s2 s2_r2 Will then generate: 2020-12-11T11:19:19.941Z|00064|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r1' 2020-12-11T11:19:19.941Z|00065|ovn_northd|WARN|Duplicate IP set on switch s2: 172.16.102.2 2020-12-11T11:19:19.942Z|00066|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r1' And then running: ovn-nbctl lsp-set-addresses s2_r2 "00:de:ad:ff:01:02 dynamic" Generates: 2020-12-11T11:20:00.150Z|00067|ovn_northd|INFO|Assigned dynamic IPv4 address '172.16.102.3' to port 's2_r2' 2020-12-11T11:20:00.150Z|00068|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r2' 2020-12-11T11:20:00.150Z|00069|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r1' 2020-12-11T11:20:00.150Z|00070|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r2' 2020-12-11T11:20:00.150Z|00071|ovn_northd|INFO|Assigned dynamic IPv6 address 'fd42:a4ec:de94:b4a6:2de:adff:feff:102' to port 's2_r1' This gets worse and worse as you add more ports, and becomes a problem for log space. It seems we are not the first to experience similar issues, as this bug report shows https://bugzilla.redhat.com/show_bug.cgi?id=1894362 We experience this on the latest master and 20.03.1. Thanks Tom Parrott
_______________________________________________ discuss mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-discuss
