kayobe/releasenotes/notes/update-deploy-kernel-6943f3ad3cb82c51.yaml
Pierre Riteau 44af704836 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
2023-10-10 13:09:12 +02:00

21 lines
1004 B
YAML

---
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.