a985e34cde
Ironic nodes should all be using resource classes for scheduling by now, which means reporting CPU/RAM/disk isn't useful. Report these as zero so they cannot be scheduled. Since we now require resource classes, raise an exception in update_provider_tree for any nodes that don't have a resource class set on the node. Change-Id: If2b8c1a76d7dbabbac7bb359c9e572cfed510800
11 lines
516 B
YAML
11 lines
516 B
YAML
---
|
|
upgrade:
|
|
- |
|
|
Ironic nodes are now only scheduled using the ``resource_class`` field set
|
|
on the node. CPUs, RAM, and disks are not reported to the resource tracker.
|
|
Ironic nodes must have the ``resource_class`` field set before upgrading.
|
|
Flavors must also be configured to use resource classes instead of node
|
|
properties. See the `ironic flavor configuration guide
|
|
<https://docs.openstack.org/ironic/latest/install/configure-nova-flavors.html>`_
|
|
for more information on doing this.
|