Comment 4 for bug 1998781

Revision history for this message
Frode Nordahl (fnordahl) wrote : Re: yoga: neutron-ovn-metadata-agent unable to communicate via ovn-relay

While looking into this, we found out that this behavior is only visible when using a DNS name for the remote, so the root of the issue may be related to that. Example:

$ sudo ovsdb-server --private-key=/etc/ovn/key_host --certificate=/etc/ovn/cert_host --ca-cert=/etc/ovn/ovn-chassis.crt --remote=pssl:6642:enp7s0.secure-pigeon.maas relay:OVN_Southbound:ssl:10.247.39.150:6642,ssl:10.247.39.91:6642,ssl:10.247.39.138:6642

2022-12-06T11:04:54Z|00021|reconnect|INFO|pssl:6642:enp7s0.secure-pigeon.maas: listening...
2022-12-06T11:04:54Z|00022|reconnect|INFO|pssl:6642:enp7s0.secure-pigeon.maas: listening...
2022-12-06T11:04:54Z|00023|reconnect|INFO|pssl:6642:enp7s0.secure-pigeon.maas: connected
2022-12-06T11:04:59Z|00024|jsonrpc|INFO|Dropped 9 log messages in last 6 seconds (most recently, 2 seconds ago) due to excessive rate
2022-12-06T11:04:59Z|00025|jsonrpc|INFO|pssl:6642:enp7s0.secure-pigeon.maas: new connection replacing active connection
2022-12-06T11:05:11Z|00026|jsonrpc|INFO|Dropped 3 log messages in last 10 seconds (most recently, 6 seconds ago) due to excessive rate
2022-12-06T11:05:11Z|00027|jsonrpc|INFO|pssl:6642:enp7s0.secure-pigeon.maas: new connection replacing active connection
2022-12-06T11:05:23Z|00028|jsonrpc|INFO|Dropped 4 log messages in last 11 seconds (most recently, 3 seconds ago) due to excessive rate
2022-12-06T11:05:23Z|00029|jsonrpc|INFO|pssl:6642:enp7s0.secure-pigeon.maas: new connection replacing active connection

If the `--remote` parameter is changed to contain a IP address, the re-connections do not occur.