Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add nova-status check for ironic flavor migration
In Pike we started requiring that ironic instances have their embedded flavor migrated to track the ironic node custom resource class. This can be done either via the normal running of the nova-compute service and ironic driver or via the 'nova-manage db ironic_flavor_migration' command. This change adds a nova-status check to see if there are any unmigrated ironic instances across all non-cell0 cells, and is based mostly on the same logic within the nova-manage command except it's multi-cell aware and doesn't use the objects. Conflicts: doc/source/cli/nova-status.rst NOTE(mriedem): The conflict is because the Rocky section in the man page does not exist in Queens. The note about the new check is added to the Queens section and mentions it was backported from Rocky. Change-Id: Ifd22325e849db2353b1b1eedfe998e3d6a79591c (cherry picked from commit 7eb6703)
- Loading branch information
Showing
4 changed files
with
263 additions
and
1 deletion.
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
6 changes: 6 additions & 0 deletions
6
releasenotes/notes/nova-status-check-ironic-flavor-migration-4c78314bf4e74ff6.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,6 @@ | ||
--- | ||
upgrade: | ||
- | | ||
A new check is added to the ``nova-status upgrade check`` CLI which can | ||
assist with determining if ironic instances have had their embedded flavor | ||
migrated to use the corresponding ironic node custom resource class. |