Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep updating allocations for Ironic
When ironic updates the instance.flavor to require the new custom resource class, we really need the allocations to get updated. Easiest way to do that is to make the resource tracker keep updating allocations for the ironic virt driver. This can be dropped once the transition to custom resource classes is complete. If we were not to claim the extra resources, placement will pick nodes that already have instances running on them when you boot an instance with a flavor that only requests the custom resource class. This should be what all ironic flavors do, before the upgrade to queens is performed. Closes-Bug: #1724589 Change-Id: Ibbf65a8d817d359786abcdffa6358089ed1107f6 (cherry picked from commit 5c2b867)
- Loading branch information
1 parent
8110ab1
commit 842641c
Showing
6 changed files
with
57 additions
and
6 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
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
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