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 of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.