How to run neutron metadata agent in an isolated network with enable_isolated_metadata

Solution Verified - Updated -

Issue

When one uses neutron provider networks with an external router, there is no need for L3 agent function in Openstack.

However, the NAT rule for 169.254.169.254 (metadata agent) is done in the virtual router's namespace. How can one run the metadata agent without a neutron router on the subnet?

Cloud-init is unable to set up ssh key for an instance that is using a provider network.
Unable to inject ssh key at boot time
cloud init ssh key

Environment

Red Hat Enterprise Linux OpenStack Platform 7.0
Red Hat OpenStack Platform 8
Red Hat OpenStack Platform 9
Red Hat OpenStack Platform 10
Red Hat OpenStack Platform 13

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