cheesecake failover-host can hit rpc timeout
Bug #1555342 reported by
Patrick East
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Cinder |
Fix Released
|
Undecided
|
Patrick East |
Bug Description
Right now when handling a failover-host api call we do a blocking RPC 'call' to the volume api which then handles the failover and would return the new backend id.
Unfortunately on some backends when there are large numbers of volumes the failover can take some time as it may require API calls to be done on a per-volume basis to ensure the failover is being done correctly. It is relatively easy to run into the RPC call timeout once you are in the thousands of volumes.
A fix for this would be to make it async and use a RCP 'cast' instead.
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/290857
Review: https:/