Openstack

Explain what the Metadata agent is responsible for

Difficulty: unrated

Source: bregman-arie/devops-exercises by Arie Bregman

Answer

The Metadata agent is responsible for providing metadata (e.g., instance ID, hostname, public keys) to instances. It runs on network nodes and acts as a proxy between instances and the Nova metadata service. When an instance requests metadata, the request is forwarded to the Metadata agent, which then retrieves the information from Nova and returns it to the instance.