Description of problem: VM resize is failing with error 'No valid host found' as PciPassthroughFilter is returning '0' hosts. default default] Filtering removed all hosts for t he request with instance ID 'VM-UUID shared in next comment' neFilter: (start: 40, end: 8)', 'ComputeFilter: (start: 8, end: 8)', 'ComputeCapabilitiesFilter: (start: 8, end: 8)', 'ImagePropertiesFilter: (start: 8, end: 8)', 'ServerGroupAntiAffinityFilter: (start: 8, end: 8)', 'ServerGroupAffinityFilter: (start: 8, end: 8)', 'PciPassthroughFilter: (start: 8, end: 0)'] Version-Release number of selected component (if applicable): RHOSP16.1 How reproducible: Steps to Reproduce: 1. VM-1 is already deployed with flavor i.e. flavor-A extra specs of "pci_passthrough:alias='cx4:1'" 2. create new flavor with no extra spec for pci device say flavor-B. 3. resize VM with Flavor-B openstack server resize --flavor <Flavor-B id> <VM-1 uuid> Actual results: - Resize is failing as PciPassthroughFilter returning 0 hosts Expected results: - The resize should happen as Flavor-B does not have any extra spec for pci-passthrough device and other computes in availability zone have enough resource to host this VM. So, "Scheduler should not use "PciPassthroughFilter" to filter the available host as new flavor does not demand for it. Additional info: