[L2] update the port DB status directly in agent-side
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Won't Fix
|
Wishlist
|
Unassigned |
Bug Description
When ovs-agent done processing the port, it will call neutron-server to make some DB update.
Especially when restart the ovs-agent, all ports in one agent will do such RPC and DB update again to make port status consistent. When a large number of concurrent agent restart happen, neutron-server may not work fine.
So how about making the following DB updating locally in neutron agent side directly? It may have some mechanism driver notification, IMO, this can also be done in agent-side.
def update_
cctxt = self.client.
return cctxt.call(context, 'update_
def update_
cctxt = self.client.
return cctxt.call(context, 'update_device_up', device=device,
def update_
ret = cctxt.call(context, 'update_
Changed in neutron: | |
status: | New → Opinion |
importance: | Undecided → Wishlist |
Changed in neutron: | |
assignee: | nobody → LIU Yulong (dragon889) |
status: | Won't Fix → New |
Changed in neutron: | |
status: | New → In Progress |
Fix proposed to branch: master /review. opendev. org/678366
Review: https:/