nova/releasenotes/notes/bug-1695861-ebc8a0aa7a87f7e0.yaml
Tetsuro Nakamura 38b25397e8 fix nova accepting invalid availability zone name with ':'
Nova has a legacy hack to allow admins to specify hosts via an
availability zone using az:host:node. That means ':' cannot be
included in the name of an availability zone itself.

However, the aggregate API accepts requests which have
availability zone names including ':'.

This patch checks the availabilty zone name when aggregate is
created or updated and raises an error if it contains ':'.

Change-Id: I9b0d8e8d4b3ab2cb3d578c22fa259e0e7c0d325b
Closes-Bug: #1695861
2017-09-24 15:12:43 +09:00

10 lines
336 B
YAML

---
fixes:
- |
Fixes `bug 1695861`_ in which the aggregate API accepted requests that
have availability zone names including ':'. With this fix, a creation
of an availabilty zone whose name includes ':' results in a
``400 BadRequest`` error response.
.. _bug 1695861: https://bugs.launchpad.net/nova/+bug/1695861