Comment 5 for bug 1738083

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to nova (stable/pike)

Reviewed: https://review.openstack.org/528094
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=66a7508728fc7cc9f221702b0fe511ddf7f378ab
Submitter: Zuul
Branch: stable/pike

commit 66a7508728fc7cc9f221702b0fe511ddf7f378ab
Author: Matt Riedemann <email address hidden>
Date: Wed Dec 13 21:22:32 2017 -0500

    Retry _trait_sync on deadlock

    We're seeing DBDeadlock failures during scheduling in CI jobs
    when syncing traits when getting allocation candidates.

    We have a lock around this code but that's not going to carry across
    multiple processes, so we need to be able to retry on deadlock if
    one occurs.

    Change-Id: I6cf1793c1cbed18d850ec7e32b5b195e78cb4e68
    Closes-Bug: #1738083
    (cherry picked from commit c66ae65775bb9d885fac059847063fee70617bc5)