Add a trait that compute manager can handle accelerator requests.
When a Cyborg device profile name is present in the flavor, the conductor will initiate creation and binding of accelerator requests, and the compute manager must wait for the ARQ binding notifications. In a deployment where the conductor is new, but one or more compute managers are older than the needed version, this flow will break. To prevent that: (a) the compute manager publishes this trait, and (b) the scheduler factors this trait in the Placement query, so that older compute nodes are not included in allocation candidates. Change-Id: I6dc00248b54f3a8a5d5dae284d2182df5ba550ab
This commit is contained in:
parent
c37f67aea1
commit
bdc942a272
|
@ -30,4 +30,6 @@ TRAITS = [
|
|||
'SAME_HOST_COLD_MIGRATE',
|
||||
# The virt driver supports rescuing boot from volume instances.
|
||||
'RESCUE_BFV',
|
||||
# The compute manager supports handling accelerator requests.
|
||||
'ACCELERATORS',
|
||||
]
|
||||
|
|
Loading…
Reference in New Issue