Timeout in RPC method get_devices_details_list_and_failed_devices cannot be fixed by increasing the timeout to infinity
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
neutron |
Incomplete
|
High
|
Saverio Proto |
Bug Description
We are running a big production public cloud with Openstrack Newton. However looking at the code what I show here should affect also master.
In neutron.conf we have:
rpc_response_
we often hit Timeout in RPC method get_devices_
The problem is that when calling this function:
https:/
the 'devices' argument can be very big without any limit, generating huge RPC calls and huge database queries.
As an operator I would propose to paginate the list to break the thing into smaller RPC calls.
Please note that `update_
This looks similar to fetch_and_ sync_all_ routers( ) in the l3-agent, which we "chunkified" to do smaller RPC queries. That code is a little different but can probably be used as a reference since it definitely does help.