We've seen this error a few times in the last fortnight
root@cmp3az3cz20300kvj:~# dpkg --list | grep -i ovn
ii neutron-ovn-metadata-agent 2:16.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent
ii ovn-common 20.03.0-0ubuntu1~cloud0 amd64 OVN common components
ii ovn-host 20.03.0-0ubuntu1~cloud0 amd64 OVN host components
root@cmp3az3cz20300kvj:~# dpkg --list | grep -i neutron
ii neutron-common 2:16.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - common
ii neutron-ovn-metadata-agent 2:16.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent
ii python3-neutron 2:16.2.0-0ubuntu1~cloud0 all Neutron is a virtual network service for Openstack - Python library
ii python3-neutron-lib 2.3.0-0ubuntu1~cloud0 all Neutron shared routines and utilities - Python 3.x
ii python3-neutronclient 1:7.1.1-0ubuntu1~cloud0 all client API library for Neutron - Python 3.x
Hi,
We've seen this error a few times in the last fortnight
root@cmp3az3cz2 0300kvj: ~# dpkg --list | grep -i ovn ovn-metadata- agent 2:16.2. 0-0ubuntu1~ cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent 0ubuntu1~ cloud0 amd64 OVN common components 0ubuntu1~ cloud0 amd64 OVN host components
ii neutron-
ii ovn-common 20.03.0-
ii ovn-host 20.03.0-
root@cmp3az3cz2 0300kvj: ~# dpkg --list | grep -i neutron 0-0ubuntu1~ cloud0 all Neutron is a virtual network service for Openstack - common ovn-metadata- agent 2:16.2. 0-0ubuntu1~ cloud0 all Neutron is a virtual network service for Openstack - OVN metadata agent 0-0ubuntu1~ cloud0 all Neutron is a virtual network service for Openstack - Python library cloud0 all Neutron shared routines and utilities - Python 3.x neutronclient 1:7.1.1- 0ubuntu1~ cloud0 all client API library for Neutron - Python 3.x
ii neutron-common 2:16.2.
ii neutron-
ii python3-neutron 2:16.2.
ii python3-neutron-lib 2.3.0-0ubuntu1~
ii python3-
2021-03-18 15:19:55.309 37889 INFO eventlet. wsgi.server [-] 10.216. 4.163,< local> "GET /2009-04- 04/meta- data/instance- id HTTP/1.1" status: 500 len: 362 time: 0.0015686 agent.ovn. metadata. server [-] Unexpected error.: AttributeError: 'MetadataProxyH andler' object has no attribute 'sb_idl' agent.ovn. metadata. server Traceback (most recent call last): agent.ovn. metadata. server File "/usr/lib/ python3/ dist-packages/ neutron/ agent/ovn/ metadata/ server. py", line 67, in __call__ agent.ovn. metadata. server instance_id, project_id = self._get_ instance_ and_project_ id(req) agent.ovn. metadata. server File "/usr/lib/ python3/ dist-packages/ neutron/ agent/ovn/ metadata/ server. py", line 84, in _get_instance_ and_project_ id agent.ovn. metadata. server ports = self.sb_ idl.get_ network_ port_bindings_ by_ip(network_ id, agent.ovn. metadata. server AttributeError: 'MetadataProxyH andler' object has no attribute 'sb_idl' agent.ovn. metadata. server wsgi.server [-] 10.216. 4.163,< local> "GET /2009-04- 04/meta- data/instance- id HTTP/1.1" status: 500 len: 362 time: 0.0015662 backend. ovs_idl. vlog [-] tcp:127.0.0.1:6640: connection closed by peer backend. ovs_idl. vlog [-] tcp:127.0.0.1:6640: connecting... backend. ovs_idl. vlog [-] tcp:127.0.0.1:6640: connection attempt failed (Connection refused) backend. ovs_idl. vlog [-] tcp:127.0.0.1:6640: waiting 2 seconds before reconnect backend. ovs_idl. vlog [-] tcp:127.0.0.1:6640: connecting... backend. ovs_idl. vlog [-] tcp:127.0.0.1:6640: connected agent.ovn. metadata. server [-] Unexpected error.: AttributeError: 'MetadataProxyH andler' object has no attribute 'sb_idl' agent.ovn. metadata. server Traceback (most recent call last): agent.ovn. metadata. server File "/usr/lib/ python3/ dist-packages/ neutron/ agent/ovn/ metadata/ server. py", line 67, in __call__ agent.ovn. metadata. server instance_id, project_id = self._get_ instance_ and_project_ id(req) agent.ovn. metadata. server File "/usr/lib/ python3/ dist-packages/ neutron/ agent/ovn/ metadata/ server. py", line 84, in _get_instance_ and_project_ id agent.ovn. metadata. server ports = self.sb_ idl.get_ network_ port_bindings_ by_ip(network_ id, agent.ovn. metadata. server AttributeError: 'MetadataProxyH andler' object has no attribute 'sb_idl' agent.ovn. metadata. server
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.314 37889 ERROR neutron.
2021-03-18 15:19:57.315 37889 INFO eventlet.
2021-03-18 15:20:02.452 37801 INFO ovsdbapp.
2021-03-18 15:20:03.452 37801 INFO ovsdbapp.
2021-03-18 15:20:03.453 37801 WARNING ovsdbapp.
2021-03-18 15:20:03.453 37801 INFO ovsdbapp.
2021-03-18 15:20:05.454 37801 INFO ovsdbapp.
2021-03-18 15:20:05.455 37801 INFO ovsdbapp.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.
2021-03-18 15:20:08.415 37889 ERROR neutron.