CachedResourceConsumerTracker update triggered for every command

Bug #1998317 reported by Szymon Wróblewski
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Confirmed
Low
Szymon Wróblewski

Bug Description

Some agents don't report resource_versions in agent state dict, since they don't use OVO.

But for db.agents_db.AgentDbMixin.is_agent_considered_for_versions (and get_agents_resource_versions) every agent is considered for versions tracking.
As a result for each api call api.rpc.callbacks.version_manager.get_resource_versions is called and triggers refresh of agent OVO versions.

Changed in neutron:
assignee: nobody → Szymon Wróblewski (bluex)
Revision history for this message
Slawek Kaplonski (slaweq) wrote :

Indeed it seems for me that only L2 agents currently reports that versions. I think that we should add it to the agent_state dict for all agents.

Changed in neutron:
importance: Undecided → Medium
status: New → Confirmed
importance: Medium → Low
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.