
The get_reservation_allocations_by_host_ids function builds an allocation dictionary that looks like this: allocations = { 'r1': ['host1'], 'r2': ['host1', 'host2'] } The list returned by this function was only using the first host of each reservation: allocations[r['id']][0] Loop over hosts to build the list of (reservation, lease, host) tuples. Change-Id: I55b3cb4e736f6f747c8b3254c62fa40bac3f288f Closes-Bug: #1958307
7 lines
204 B
YAML
7 lines
204 B
YAML
---
|
|
fixes:
|
|
- |
|
|
Fixes result of the List Allocations API for reservations with multiple
|
|
physical hosts. For more details, see `bug 1958307
|
|
<https://bugs.launchpad.net/blazar/+bug/1958307>`_.
|