[ovs-discuss] Multiple Assigned dynamic IPv6 address and Duplicate IP set on switch messages when using dynamic addressing

Thomas Parrott thomas.parrott at canonical.com
Fri Dec 11 11:22:19 UTC 2020


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=
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 '' 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

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
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"


2020-12-11T11:20:00.150Z|00067|ovn_northd|INFO|Assigned dynamic IPv4
address '' 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.

Tom Parrott
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.openvswitch.org/pipermail/ovs-discuss/attachments/20201211/4af7cf3e/attachment.html>

More information about the discuss mailing list