The SQL in here:
https://github.com/openstack/nova/blob/e27905f482ba26d2bbf3ae5d948dee37523042d5/nova/api/openstack/placement/objects/consumer.py#L70
might be broken in the same way ensure_consumer was broken:
https://github.com/openstack/nova/commit/730936e535e67127c76d4f27649a16d8cf05efc9#diff-fcca11e34c1b5fce52a4ddbc418aa2d5
If the consumer had allocations against >1 resource class, it might not query properly.
The SQL in here:
https:/ /github. com/openstack/ nova/blob/ e27905f482ba26d 2bbf3ae5d948dee 37523042d5/ nova/api/ openstack/ placement/ objects/ consumer. py#L70
might be broken in the same way ensure_consumer was broken:
https:/ /github. com/openstack/ nova/commit/ 730936e535e6712 7c76d4f27649a16 d8cf05efc9# diff-fcca11e34c 1b5fce52a4ddbc4 18aa2d5
If the consumer had allocations against >1 resource class, it might not query properly.