ironic/releasenotes/notes/resource-class-change-563797d5a3c35683.yaml
Dmitry Tantsur 6525a0da29 Prevent changes of a resource class for an active node
Doing so would confuse nova-scheduler, and may result in attempts
to schedule a new instance on such node. The API version is not
updated, as this behavior is broken already, we're just moving
the breakage to the API level.

Change-Id: I758587d36c927c8eed852170728f6267ae18f001
2017-08-11 11:58:12 +02:00

13 lines
516 B
YAML

---
upgrade:
- |
Changing the ``resource_class`` field of a node in the ``active`` state
or any of the transient states is no longer possible. Please update your
scripts to only set a resource class for nodes that are not deployed to.
Setting a resource class for nodes that do not have it is still possible.
fixes:
- |
No longer allows changing the ``resource_class`` field for ``active`` nodes
if it was already set to a non-empty value. Doing so would break the
Compute scheduler.