Comment 2 for bug 1872730

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

Reviewed: https://review.opendev.org/716186
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=d94ea23d3d64ecd3f2539a337c066487b938fcad
Submitter: Zuul
Branch: master

commit d94ea23d3d64ecd3f2539a337c066487b938fcad
Author: Sundar Nadathur <email address hidden>
Date: Mon Mar 30 19:24:30 2020 -0700

    Delete ARQs by UUID if Cyborg ARQ bind fails.

    During the reivew of the cyborg series it was noted that
    in some cases ARQs could be leaked during binding.
    See https://review.opendev.org/#/c/673735/46/nova/conductor/manager.py@1632

    This change adds a delete_arqs_by_uuid function that can delete
    unbound ARQs by instance uuid.

    This change modifies build_instances and schedule_and_build_instances
    to handel the AcceleratorRequestBindingFailed exception raised when
    binding fails and clean up instance arqs.

    Co-Authored-By: Wenping Song <email address hidden>

    Closes-Bug: #1872730
    Change-Id: I86c2f00e2368fe02211175e7328b2cd9c0ebf41b
    Blueprint: nova-cyborg-interaction