It looks like that any key in instance_type_extra_specs field is not recognized by the compute_capabilities_filter at all.
For testing, I've added the following code into libvirt.HostState.update_status() function:
data['pci_passthrough_devices'] = \ self.driver.get_pci_passthrough_devices()
+ data["test_key"] = 'test_value'
Scheduler cannot find the value of the key from the state of compute node.
Should the new key:value pair be inserted somewhere else?
It looks like that any key in instance_ type_extra_ specs field is not recognized by the compute_ capabilities_ filter at all.
For testing, I've added the following code into libvirt. HostState. update_ status( ) function:
+ data["test_key"] = 'test_value'
Scheduler cannot find the value of the key from the state of compute node.
Should the new key:value pair be inserted somewhere else?