[Bug 1907686] Re: ovn: instance unable to retrieve metadata

Frode Nordahl 1907686 at bugs.launchpad.net
Tue Jan 12 06:53:49 UTC 2021


Also see a few of these:
2021-01-12 06:48:21.947 52569 INFO eventlet.wsgi.server [-] 10.5.3.232,<local> "GET /openstack HTTP/1.1" status: 500  len: 362 time: 0.0006430
2021-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server [-] Unexpected error.: AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'
2021-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server Traceback (most recent call last):
2021-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server   File "/usr/lib/python3/dist-packages/neutron/agent/ovn/metadata/server.py", line 67, in __call__
2021-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server     instance_id, project_id = self._get_instance_and_project_id(req)
2021-01-12 06:48:49.848 52569 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-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server     ports = self.sb_idl.get_network_port_bindings_by_ip(network_id,
2021-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server AttributeError: 'MetadataProxyHandler' object has no attribute 'sb_idl'
2021-01-12 06:48:49.848 52569 ERROR neutron.agent.ovn.metadata.server 

Restarting the neutron-ovn-metadata-agent service resolves the issue.

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

Title:
  ovn: instance unable to retrieve metadata

Status in charm-ovn-chassis:
  New
Status in neutron:
  New
Status in neutron package in Ubuntu:
  New

Bug description:
  Ubuntu:focal
  OpenStack: ussuri
  Instance port: hardware offloaded

  instance created, attempts to access metadata - metadata agent can't
  resolve the port/network combination:

  2020-12-10 15:00:18.258 4732 INFO neutron.agent.ovn.metadata.agent [-] Port d65418a6-d0e9-47e6-84ba-3d02fe75131a in datapath 37706e4d-ce2a-4d81-8c61-3fd12437a0a7 bound to our ch
  assis
  2020-12-10 15:00:31.672 8062 ERROR neutron.agent.ovn.metadata.server [-] No port found in network 37706e4d-ce2a-4d81-8c61-3fd12437a0a7 with IP address 10.5.1.155
  2020-12-10 15:00:31.673 8062 INFO eventlet.wsgi.server [-] 10.5.1.155,<local> "GET /openstack HTTP/1.1" status: 404  len: 297 time: 0.0043790
  2020-12-10 15:00:34.639 8062 ERROR neutron.agent.ovn.metadata.server [-] No port found in network 37706e4d-ce2a-4d81-8c61-3fd12437a0a7 with IP address 10.5.1.155
  2020-12-10 15:00:34.639 8062 INFO eventlet.wsgi.server [-] 10.5.1.155,<local> "GET /openstack HTTP/1.1" status: 404  len: 297 time: 0.0040138

To manage notifications about this bug go to:
https://bugs.launchpad.net/charm-ovn-chassis/+bug/1907686/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list