OpenShift deploys are failing due to metadata errors in OpenStack.
Issue
- Can't deploy OpenShift (OCP) on top of OpenStack (OSP).
- The issue seems to be caused by an issue with the ovn-metadata-agent.
- Messages observed in the ovn-metadata-agent.log
2021-07-31 09:00:12.583 942231 INFO eventlet.wsgi.server [-] 192.168.3.189,<local> "GET /2009-04-04/meta-data/instance-type HTTP/1.1" status: 500 len: 248 time: 11.1597562
2021-07-31 09:00:12.585 942231 INFO eventlet.wsgi.server [-] 192.168.1.188,<local> "GET /2009-04-04/meta-data/public-ipv4 HTTP/1.1" status: 200 len: 135 time: 17.8726904
2021-07-31 09:00:12.586 942231 INFO eventlet.wsgi.server [-] 192.168.2.187,<local> "GET /2009-04-04/meta-data/public-ipv4 HTTP/1.1" status: 200 len: 135 time: 19.8126025
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server [-] Unexpected error.: Exception: Unexpected response code: 408
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server Traceback (most recent call last):
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server File "/usr/lib/python3.6/site-packages/networking_ovn/agent/metadata/server.py", line 72, in __call__
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server return self._proxy_request(instance_id, project_id, req)
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server File "/usr/lib/python3.6/site-packages/networking_ovn/agent/metadata/server.py", line 169, in _proxy_request
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server resp.status_code)
2021-07-31 09:00:12.587 942231 ERROR networking_ovn.agent.metadata.server Exception: Unexpected response code: 408
Environment
Red Hat OpenStack Platform 16.1
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.