Hello


I've  installed openstack cluster with ovn and neutron ovn metadata agent.

Problem is that my VM instances cannot get metadata from metadata agent


When I try "curl http://169.254.169.254/latest" from VM instance, I get:


--------------------------------------------------------------------------------------------------

<html>

  <head>

    <title>500 Internal Server Error</title>

  </head>

  <body>

    <h1>500 Internal Server Error</h1>

    Remote metadata server experienced an intertnal server error.<br /><br />


  </body>

</html>

--------------------------------------------------------------------------------------------------


Only relevant log I could find was in /var/log/keystone/keystone-wsgi-public.log file.


--------------------------------------------------------------------------------------------------

2022-10-06 01:49:03.895 3250739 WARNING keystone.server.flask.application [req-93c1717a-2868-4553-878e-5afd71738195 - - - - -] Authorization failed. The request you have made requires authentication. from 10.0.10.21: keystone.exception.Unauthorized: The request you have made requires authentication.

--------------------------------------------------------------------------------------------------


Everytime I try "curl http://169.254.169.254/latest" inside VM instance, that "keystone.exception.Unauthorized: The request you have made requires authentication." log popped up in keystone-wsgi-public.log file.


It seems like keystone auth related problem, but I can log in to horizon, create/delete instances, and do other things just fine.

Only having problem with metadata agent now


Thank you