nova/releasenotes/notes/bug-1894966-d25c12b1320cb910.yaml
Stephen Finucane 32c43fc801 api: Set min, maxItems for server_group.policies field
As noted inline, the 'policies' field may be a list but it expects one
of two items.

Change-Id: I34c68df1e6330dab1524aa0abec733610211a407
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Closes-Bug: #1894966
2020-09-16 11:13:47 +01:00

11 lines
447 B
YAML

---
fixes:
- |
Resolved an issue whereby providing an empty list for the ``policies``
field in the request body of the ``POST /os-server-groups`` API would
result in a server error. This only affects the 2.1 to 2.63 microversions,
as the 2.64 microversion replaces the ``policies`` list field with a
``policy`` string field. See `bug #1894966`__ for more information.
.. __: https://bugs.launchpad.net/nova/+bug/1894966