Instance cloud-init cannot reach neutron-metadata-agent due to a 404 error message in Red Hat OpenStack Platform

Solution Verified - Updated -

Issue

neutron-metadata-agent in the log files shows the error

Unauthorized: {"error": {"message": "The resource could not be found.", "code": 404, "title": "Not Found"}}

When this happens, new provisioning of instances is impacted because instances' Cloudinit cannot contact the metadata agent. A restart of neutron-metadata-agent fixes the issue temporarily.

Environment

-Red Hat Enterprise Linux OpenStack Platform 7.0.
- Red Hat OpenStack Platform 8.0.

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content