[RFE] Add distributed datapath for metadata
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
In Progress
|
Wishlist
|
Unassigned |
Bug Description
When instances are booting, they will try to retrieve metadata from
Nova by the path of Neutron virtual switches(bridges), virtual devices,
namespaces and metadata-agents. After that, metadata agent has no other
functionalities. In large-scale scenarios, a large number of deployed
metadata agents will cause a waste of resources for hosts and message queue.
Because they will start tons of external processes based on the number of
users' resources, report state to Neutron server for heartbeat keepalive.
How many metadata-agent should run for a large scale cloud deployment?
There is no exact answer to this question. Cloud operators may setup
metadata agent to all hosts, something like DHCP agent. Config drive can be
an alternative for clouds to supply metadata for VMs. But what if users do
not want to add a cd-rom device to VM?
So, I'd like to request for implementing an agent extension for Neutron
openvswitch agent to make the metadata datapath distributed.
tags: | added: rfe |
Changed in neutron: | |
importance: | Undecided → Wishlist |
As we can see, the metadata datapath is very long via many devices, namespaces and agents. One metadata path, such as agent down or external process die, goes down will not only influence the host, but also all related hosts that will boot new VMs on.