Repository navigation
docs(kubevirt): preserve TopoLVM VM data when reinstalling node OS (ACP-56362) - #854
Merged
Merged
Conversation
…CP-56362) Add a solution for moving workload cluster nodes to a new operating system while keeping KubeVirt VM disks on TopoLVM: reinstall the system disk only and rejoin the node under the same name, with a Ceph RBD backup as the safety net and a clone-back fallback when data disks are lost. Covers device-name changes after reinstall, node taint and virtualization switch restore, and Kube-OVN control plane membership for control plane nodes. Validated on ACP 4.1.7 (CentOS 7.9 -> RHEL 9.6). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…-56362) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch was successfully deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Adds a solution for moving workload cluster nodes to a new operating system (for example off CentOS 7) while keeping the disks of KubeVirt VMs that live on TopoLVM local storage. Tracked in ACP-56362.
Approach
Pitfalls covered (all hit during validation)
vdb↔vdc); the guide checks disks by content and fixes TopolvmCluster/CephCluster before the node rejoins, because the 4.1 TopoLVM operator canvgremovea VG whose PVs no longer match its config.control-plane:NoScheduletaint keeps virt-handler off the node.ovn-centralmembership andOVN_DB_IPS.status.jsoninlvmdconfig-<node>that stops TopoLVM from recreating the VG.Validation: run end to end on an ACP 4.1.7 cluster (TopoLVM 4.1.5, Rook-Ceph 4.1.5, KubeVirt 1.5.2 / CDI 1.62.0, Kube-OVN), moving nodes from CentOS 7.9 to RHEL 9.6. Test VMs covered both
BlockandFilesystemvolume modes:Changing
OVN_DB_IPSof theovs-ovnDaemonSet is noted in the guide as not tested.The
id:field is omitted on purpose so CI assigns the KB id on merge; zh is generated by the translation job.🤖 Generated with Claude Code