nova/nova/accelerator
Sundar Nadathur d94ea23d3d 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 <songwenping@inspur.com>

Closes-Bug: #1872730
Change-Id: I86c2f00e2368fe02211175e7328b2cd9c0ebf41b
Blueprint: nova-cyborg-interaction
2020-07-23 15:26:07 +08:00
..
__init__.py ksa auth conf and client for Cyborg access 2020-03-21 12:03:37 -07:00
cyborg.py Delete ARQs by UUID if Cyborg ARQ bind fails. 2020-07-23 15:26:07 +08:00