ERROR neutron.agent.ovn.metadata.server AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'

Bug #1920041 reported by David O Neill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
charm-ovn-chassis
New
Undecided
Unassigned

Bug Description

We have this ongoing error with no nagios check.

/var/lib/juju/agents/unit-ovn-chassis-mlx-0/charm/hooks/relations/nrpe-external-master/provides.py

I've opened a case aginst the ovn metadata agent to get the agent fixed.
https://bugs.launchpad.net/bugs/1920037

But we have a gap here in monitoring

021-03-18 15:19:55.309 37889 INFO eventlet.wsgi.server [-] XX.XX.XX.XX,<local> "GET /2009-04-04/meta-data/instance-id HTTP/1.1" status: 500 len: 362 time: 0.0015686
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server [-] Unexpected error.: AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server Traceback (most recent call last):
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/server.py", line 67, in __call__
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server instance_id, project_id = self._get_instance_and_project_id(req)
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/server.py", line 84, in _get_instance_and_project_id
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server ports = self.sb_idl.get_network_port_bindings_by_ip(network_id,
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'
2021-03-18 15:19:57.314 37889 ERROR neutron.agent.ovn.metadata.server
2021-03-18 15:19:57.315 37889 INFO eventlet.wsgi.server [-] XX.XX.XX.XX,<local> "GET /2009-04-04/meta-data/instance-id HTTP/1.1" status: 500 len: 362 time: 0.0015662
2021-03-18 15:20:02.452 37801 INFO ovsdbapp.backend.ovs_idl.vlog [-] tcp:127.0.0.1:6640: connection closed by peer
2021-03-18 15:20:03.452 37801 INFO ovsdbapp.backend.ovs_idl.vlog [-] tcp:127.0.0.1:6640: connecting...
2021-03-18 15:20:03.453 37801 WARNING ovsdbapp.backend.ovs_idl.vlog [-] tcp:127.0.0.1:6640: connection attempt failed (Connection refused)
2021-03-18 15:20:03.453 37801 INFO ovsdbapp.backend.ovs_idl.vlog [-] tcp:127.0.0.1:6640: waiting 2 seconds before reconnect
2021-03-18 15:20:05.454 37801 INFO ovsdbapp.backend.ovs_idl.vlog [-] tcp:127.0.0.1:6640: connecting...
2021-03-18 15:20:05.455 37801 INFO ovsdbapp.backend.ovs_idl.vlog [-] tcp:127.0.0.1:6640: connected
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server [-] Unexpected error.: AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server Traceback (most recent call last):
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/server.py", line 67, in __call__
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server instance_id, project_id = self._get_instance_and_project_id(req)
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/server.py", line 84, in _get_instance_and_project_id
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server ports = self.sb_idl.get_network_port_bindings_by_ip(network_id,
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'
2021-03-18 15:20:08.415 37889 ERROR neutron.agent.ovn.metadata.server

description: updated
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.