[Bug 1998781] Re: yoga: neutron-ovn-metadata-agent unable to communicate via ovn-relay

Frode Nordahl 1998781 at bugs.launchpad.net
Tue Dec 6 11:18:18 UTC 2022


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.

** Changed in: openvswitch (Ubuntu)
       Status: New => Confirmed

** Changed in: openvswitch (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to openvswitch in Ubuntu.
https://bugs.launchpad.net/bugs/1998781

Title:
  yoga: neutron-ovn-metadata-agent unable to communicate via ovn-relay

Status in Sunbeam Snap:
  New
Status in openvswitch package in Ubuntu:
  Confirmed

Bug description:
  For a Yoga base deployment (OVN: 22.03, OVS: 2.17.2) the neutron-ovn-
  metadata-agent continually reconnects to the ovn-central services via
  ovn-relay - the inactivity probe timeout is set to 60 seconds in OVN
  central and on the client side so I think the issue is that the ovn-
  relay is probing with a 5 second timeout and then resetting
  connections.

  ovn-relay log:

  2022-12-05T11:19:54.403Z|21688|reconnect|DBG|ssl:ovn-central-0.ovn-central-endpoints.openstack.svc.cluster.local:6642: idle 5003 ms, sending inactivity probe
  2022-12-05T11:19:54.403Z|21689|reconnect|DBG|ssl:ovn-central-0.ovn-central-endpoints.openstack.svc.cluster.local:6642: entering IDLE
  2022-12-05T11:19:54.403Z|21690|jsonrpc|DBG|ssl:ovn-central-0.ovn-central-endpoints.openstack.svc.cluster.local:6642: send request, method="echo", params=[], id="echo"

  by passing the ovn-relay and communicating directly with the SB db
  server worked around this issue.

To manage notifications about this bug go to:
https://bugs.launchpad.net/snap-sunbeam/+bug/1998781/+subscriptions




More information about the Ubuntu-openstack-bugs mailing list