Comment 8 for bug 1799727

Revision history for this message
Matt Riedemann (mriedem) wrote :

OK I think this is the regression:

https://review.openstack.org/#/c/569132/

With that change, once we set the allocation ratios in the inventory data in the provider tree, that's what gets passed to _normalize_inventory_from_cn_obj, and _normalize_inventory_from_cn_obj won't set the allocation ratios from the compute node object if they are already in the inventory dict pass to _normalize_inventory_from_cn_obj - which once set, never gets unset...and that's the bug.