[RFE] Caching instance id in the metadata agent to have less RPC messages sent to server
Bug #2024581 reported by
Slawek Kaplonski
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Fix Committed
|
Wishlist
|
Unassigned |
Bug Description
Problem like that was mentioned in Vancouvers's "Challenges & lessons from operating OpenStack at Scale" forum session (https:/
In some cases, neutron metadata agent may put a lot of load on the RPC bus and neutron server as every time VM is asking for some of the metadata, this agent needs to find out what the id of the instance is. Because of that it sends RPC message to get port details every time.
It could be potentially avoided by some simple caching of the instance id in the agent's side.
tags: |
added: rfe-approved removed: rfe |
Changed in neutron: | |
status: | New → Fix Committed |
To post a comment you must log in.
I may missing something but don't we want to just enable the cache using memcache for the metadata agent?
This should be added in metadata_agent.ini
[cache] memcache_ pool pool_maxsize = 20
backend = oslo_cache.
enabled = True
memcache_servers = ...
expiration_time = 300
memcache_
We ran into such issue and this clearly fixed/improved the issue.