Skip to content

v2k: support rbd cutover via mapped block devices#14

Merged
dhslove merged 19 commits intoablecloud-team:mainfrom
dhslove:v2k-rbd-cutover-map
Mar 17, 2026
Merged

v2k: support rbd cutover via mapped block devices#14
dhslove merged 19 commits intoablecloud-team:mainfrom
dhslove:v2k-rbd-cutover-map

Conversation

@dhslove
Copy link
Copy Markdown
Contributor

@dhslove dhslove commented Mar 17, 2026

Summary

  • support v2k cutover for rbd targets using host-side mapped block devices
  • keep sync path on direct rbd: targets and use mapped /dev/rbd/<pool>/<image> only for bootstrap/cutover/libvirt
  • persist mapped RBD device state in manifest runtime and remap after WinPE shutdown
  • improve fleet sync status so rbd migrations report used bytes via rbd du
  • isolate linux bootstrap NBD cleanup to reduce cross-VM interference
  • update v2k docs, test runbook, CI workflow encoding, and repo rules for binary artifacts

Details

  • rbd cutover now defines libvirt disks as block devices
  • Linux bootstrap supports mapped rbd roots
  • WinPE bootstrap/virtio detection and failure flow were hardened
  • final Windows boot remaps RBD devices after WinPE shutdown
  • fleet status now shows transferred size for rbd targets

Validation

  • Windows cutover completed successfully with rbd
  • WinPE stage completed successfully with test WinPE ISO
  • Linux bootstrap/cutover issues were mitigated with tighter NBD isolation
  • rbd base sync progress now reports used bytes

@dhslove dhslove merged commit 15c54b6 into ablecloud-team:main Mar 17, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant