forked from openstack/kayobe
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add introspection rule to update deploy kernel location
Back in the Ussuri release, we changed the Bifrost kernel location to use ipa.kernel instead of ipa.vmlinuz. While this works fine for newly discovered nodes, any node added to Bifrost in Train or earlier will have kept ipa.vmlinuz as its deploy kernel. This can cause issues since upgrading Bifrost or building new deployment images will update ipa.kernel, but not ipa.vmlinuz, resulting in nodes booting with an old kernel and a new ramdisk. Fix by adding a new rule updating the legacy kernel location and documenting how to update node information. Change-Id: I6ae44dcae78424b4638762d015cf24336444707f (cherry picked from commit 44af704)
- Loading branch information
Showing
5 changed files
with
40 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
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
20 changes: 20 additions & 0 deletions
20
releasenotes/notes/update-deploy-kernel-6943f3ad3cb82c51.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,20 @@ | ||
--- | ||
upgrade: | ||
- | | ||
Adds an introspection rule to update the location of the deployment kernel | ||
registered in existing Ironic nodes. Nodes discovered on a deployment | ||
running the Train release or earlier may still be using the ``ipa.vmlinuz`` | ||
kernel, which stays unchanged when deployment images get updated. If only | ||
default introspection rules are in use, existing nodes may be updated from | ||
the Bifrost container with the following command: | ||
``OS_CLOUD=bifrost baremetal introspection reprocess $NODE_UUID_OR_NAME`` | ||
If non-default rules are used, reprocessing may revert any customisation | ||
done by the operator. In this case, a more cautious approach is to update | ||
the deployment kernel location manually: | ||
``OS_CLOUD=bifrost baremetal node set --driver-info deploy_kernel=<http://url/to/ipa.kernel> $NODE_UUID_OR_NAME`` | ||
If the ``kolla_bifrost_inspector_rules`` list is customised, the rule | ||
``inspector_rule_legacy_deploy_kernel`` should be added to it. |