Comment 3 for bug 1962544

Revision history for this message
Nobuto Murata (nobuto) wrote :

Or we could set a huge weight like 9999 to achieve the following behavior?

https://docs.openstack.org/nova/latest/admin/scheduling.html#pciweigher
> For example, given three hosts - one with a single PCI device, one with
> many PCI devices, and one with no PCI devices - nova should prioritise
> these differently based on the demands of the instance. If the instance
> requests a single PCI device, then the first of the hosts should be
> preferred. Similarly, if the instance requests multiple PCI devices,
> then the second of these hosts would be preferred. Finally, if the
> instance does not request a PCI device, then the last of these hosts
> should be preferred.

Anyway, it has to be tested first.