nova migration a vm with pci devices to a host don't have pci available
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Compute (nova) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
on nova master, multinodes with 2 compute nodes available. only one of nova compute had pci devices available.
1. booting vm with pci reqested, assume it's name: pci-vm
2. nova migrate pci-vm
3. the pci-vm been schedule to a host don't have pci devices available.
we see exception on nova compute(the host don't have pci devs and which nova schedule the pci-vm to):
exception type 1:
env/local/
2018-07-19 22:04:15.950 7 ERROR oslo_messaging.
2018-07-19 22:04:15.950 7 ERROR oslo_messaging.
PciRequestAlias
exception type2: (define pci configurations but no pci device available )
2018-07-22 23:10:16.528 7 ERROR oslo_messaging.
2018-07-22 23:10:16.528 7 ERROR oslo_messaging.
2018-07-22 23:10:16.528 7 ERROR oslo_messaging.
2018-07-22 23:10:16.528 7 ERROR oslo_messaging.
2018-07-22 23:10:16.528 7 ERROR oslo_messaging.
2018-07-22 23:10:16.528 7 ERROR oslo_messaging.
tags: | added: pci scheduler |
Changed in nova: | |
assignee: | nobody → Yongli He (yongli-he) |
Have you configured PciPassthroughF ilter in schduler. enabled_ filters? The default is not configured this filter, if you need PCI scheduling, you should configure it.