commit 1a2a71baf3904209679fc5448814a0e7940fe44d
Author: Kevin Benton <email address hidden>
Date: Wed Dec 7 11:33:46 2016 -0800
SRIOV: don't block report_state with device count
The device count process can be quite slow on a system with
lots of interfaces. Doing this during report_state can block
it long enough that the agent will be reported as dead and
bindings will fail.
This adjusts the logic to only update the configuration during
the normal device retrieval for the scan loop. This will leave
the report_state loop unblocked by the operation so the agent
doesn't get reported as dead (which blocks port binding).
Reviewed: https:/ /review. openstack. org/408281 /git.openstack. org/cgit/ openstack/ neutron/ commit/ ?id=1a2a71baf39 04209679fc54488 14a0e7940fe44d
Committed: https:/
Submitter: Jenkins
Branch: master
commit 1a2a71baf390420 9679fc5448814a0 e7940fe44d
Author: Kevin Benton <email address hidden>
Date: Wed Dec 7 11:33:46 2016 -0800
SRIOV: don't block report_state with device count
The device count process can be quite slow on a system with
lots of interfaces. Doing this during report_state can block
it long enough that the agent will be reported as dead and
bindings will fail.
This adjusts the logic to only update the configuration during
the normal device retrieval for the scan loop. This will leave
the report_state loop unblocked by the operation so the agent
doesn't get reported as dead (which blocks port binding).
Closes-Bug: #1648206 1eceeed238a8d9e 958f874f12b
Change-Id: Iff45fb6617974b