This repository has been archived by the owner on Feb 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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
- Loading branch information
Showing
4 changed files
with
161 additions
and
30 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
releasenotes/notes/resource-class-init-e11b6a630bc47bed.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
--- | ||
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. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters