instack-undercloud/releasenotes/notes/resource-class-init-e11b6a630bc47bed.yaml
Dmitry Tantsur 16961722c5 Switch to scheduling based on resource classes
This is needed for upgrade. In the future we may support custom
resource classes, but let's at least make sure we have one.

Depends-On: I027ee4ccf5db51729f036aceab047f2b65d0b368
Change-Id: I5d0ef61e1527927882802f01c4f5c82b1f495cdd
Closes-Bug: #1708653
2017-08-16 17:53:30 +02:00

19 lines
774 B
YAML

---
upgrade:
- |
This release replaces node scheduling based on properties (CPU count,
memory and disk) with scheduling based on *custom resource classes*.
As part of this change during the upgrade:
* The ``resource_class`` field is set to ``baremetal``, if empty.
* The standard flavors are adjusted to request one instance of the
``baremetal`` resource class and to **not** request the standard
properties. Flavors that already have a resource class attached are
not changed.
All non-standard custom flavors have to be changed in a similar way.
See the `ironic flavor documentation
<https://docs.openstack.org/ironic/latest/install/configure-nova-flavors.html#scheduling-based-on-resource-classes>`_
for details.