I was looking at https://github.com/openstack/nova/blob/835faf3f40af6b0e07c585690982a997d6a2ac47/nova/compute/provider_tree.py#L128 incorrectly, that will return True from has_inventory_changed if the keys are different, meaning we don't need to check the values, which is correct.
I was looking at https:/ /github. com/openstack/ nova/blob/ 835faf3f40af6b0 e07c585690982a9 97d6a2ac47/ nova/compute/ provider_ tree.py# L128 incorrectly, that will return True from has_inventory_ changed if the keys are different, meaning we don't need to check the values, which is correct.