If for some reason Neutron/OVN services are unavailable, the neutron-ovn-metadata-agent will continuously spit logs and eventually fill the disk via /var/log/syslog. Restarting services and clearing syslog gets things back in order.
--
Jul 15 00:37:20 lab-compute01 neutron-ovn-metadata-agent[1477]: 2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection [-] non-zero flags not allowed in calls to send() on <class 'eventlet.green.ssl.GreenSSLSocket'>: ValueError: non-zero flags not allowed in calls to send() on <class 'eventlet.green.ssl.GreenSSLSocket'>
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection Traceback (most recent call last):
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovsdbapp/backend/ovs_idl/connection.py", line 107, in run
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection self.idl.run()
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/db/idl.py", line 433, in run
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection self._session.run()
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/jsonrpc.py", line 519, in run
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection error = self.stream.connect()
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/stream.py", line 817, in connect
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection retval = super(SSLStream, self).connect()
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/stream.py", line 300, in connect
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection self.__scs_connecting()
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/stream.py", line 268, in __scs_connecting
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection retval = self.check_connection_completion(self.socket)
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/stream.py", line 777, in check_connection_completion
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection return Stream.check_connection_completion(sock)
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/stream.py", line 137, in check_connection_completion
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection return ovs.socket_util.check_connection_completion(sock)
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/ovs/socket_util.py", line 181, in check_connection_completion
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection sock.send("\0".encode(), socket.MSG_DONTWAIT)
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/eventlet/green/ssl.py", line 194, in send
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection return self._call_trampolining(
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/openstack/venvs/neutron-27.1.0.dev22/lib/python3.10/site-packages/eventlet/green/ssl.py", line 158, in _call_trampolining
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection return func(*a, **kw)
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection File "/usr/lib/python3.10/ssl.py", line 1203, in send
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection raise ValueError(
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection ValueError: non-zero flags not allowed in calls to send() on <class 'eventlet.green.ssl.GreenSSLSocket'>
2023-07-15 00:37:20.438 1477 ERROR ovsdbapp.backend.ovs_idl.connection
--
I'm inclined to think this is a duplicate of https:/ /bugs.launchpad .net/openvswitc h/+bug/ 1985062
Though I would expect it to be fixed already upstream for a while.