Cyborg shelve/unshelve support

This change extends the conductor manager to append the cyborg
resource request to the request spec when performing an unshelve.

On shelve offload an instance will be deleted the instance's ARQs
binding info to free up the bound ARQs in Cyborg service.
And this change passes the ARQs to spawn during unshelve an instance.

This change extends the ``shelve_instance``, ``shelve_offload_instance``
and ``unshelve_instance`` rpcapi function to carry the arq_uuids.

Co-Authored-By: Wenping Song <songwenping@inspur.com>

Implements: blueprint cyborg-shelve-and-unshelve
Change-Id: I258df4d77f6d86df1d867a8fe27360731c21d237
This commit is contained in:
zhangbailin
2020-05-20 18:34:59 +08:00
parent 261416aeb0
commit 7fbd787b1b
15 changed files with 827 additions and 89 deletions
+5 -1
View File
@@ -43,12 +43,12 @@ The lists of supported and unsupported operations are as below:
* Rescue and unrescue.
* Rebuild.
* Evacuate.
* Shelve and unshelve.
* Unsupported operations
* Resize.
* Suspend and resume.
* Shelve and unshelve.
* Cold migration.
* Live migration.
@@ -56,6 +56,10 @@ The lists of supported and unsupported operations are as below:
Added support for rebuild and evacuate operations.
.. versionchanged:: 23.0.0(Wallaby)
Added support for shelve and unshelve operations.
Some operations, such as lock and unlock, work as they are effectively
no-ops for accelerators.