adamant-kite-43734
04/14/2025, 9:31 PMbland-article-62755
04/14/2025, 9:33 PMbland-article-62755
04/14/2025, 9:33 PMbland-article-62755
04/14/2025, 9:34 PMvirtctl or the UI has to have some sort of way to export an image or disk right?bland-article-62755
04/14/2025, 9:37 PMbland-article-62755
04/14/2025, 10:09 PMmillions-microphone-3535
04/15/2025, 7:35 PMVirtualMachineExport api is the key, which is what virtctl vmexport or kubectl virt vmexport usemillions-microphone-3535
04/15/2025, 7:37 PMvm-import-controller to support harvester-to-harvester scenario, since 3rd party csi is a pain atmmillions-microphone-3535
04/15/2025, 7:37 PMVirtualMachineExport apibland-article-62755
04/15/2025, 8:17 PMVirtualMachineExport is the path forward for sure. Using it instead of the longhorn backups because of the image backed disks (having to recreate them with the same IDs in the other clusters or convert them to flat non-image backed disks) seem to provide fewer steps/less effort than what's currently supported.bland-article-62755
04/15/2025, 8:17 PMbland-article-62755
04/15/2025, 8:18 PMmillions-microphone-3535
04/15/2025, 8:20 PMit doesn't seem to care what the csi driver is doing.i think that's the key. i'll try to find time to test this import scenario, unless you get to it first.
bland-article-62755
04/15/2025, 8:21 PMbland-article-62755
04/15/2025, 8:21 PMbland-article-62755
04/15/2025, 8:22 PMmillions-microphone-3535
04/15/2025, 8:24 PMmillions-microphone-3535
04/15/2025, 8:25 PMmillions-microphone-3535
04/15/2025, 8:29 PMbland-article-62755
04/15/2025, 8:29 PMmillions-microphone-3535
04/15/2025, 8:29 PMmillions-microphone-3535
04/15/2025, 8:31 PMbland-article-62755
04/15/2025, 8:31 PMmillions-microphone-3535
04/15/2025, 8:32 PMmillions-microphone-3535
04/15/2025, 8:32 PMmillions-microphone-3535
04/15/2025, 8:33 PMbland-article-62755
04/15/2025, 8:34 PMmillions-microphone-3535
04/15/2025, 8:34 PMmillions-microphone-3535
05/07/2025, 6:15 PMbland-article-62755
05/07/2025, 6:16 PMbland-article-62755
05/07/2025, 6:16 PMmillions-microphone-3535
05/07/2025, 6:16 PMbland-article-62755
05/07/2025, 6:17 PMbland-article-62755
05/07/2025, 6:17 PMmillions-microphone-3535
05/07/2025, 6:18 PMbland-article-62755
05/07/2025, 6:18 PMmillions-microphone-3535
05/07/2025, 6:18 PMbland-article-62755
05/07/2025, 6:18 PMmillions-microphone-3535
05/07/2025, 6:20 PMbland-article-62755
05/07/2025, 6:45 PMbland-article-62755
05/07/2025, 6:48 PMqemu-img convert -f raw -O qcow2 -c -p -S 4k ~/Downloads/lti-dev-db ~/Downloads/lti-dev-db.qcow2
• Upload the image to cluster directly (ie from fqdn for the vip on the harvester cluster and not through rancher )
• Create new disk with the image.
• Flatten the disk with the pvc-flattener script. (ie ./pvc-disk-flatner lti-dev-db-root canvas lti-dev-db-flat )
• Create a new VM with the flat disk and the MAC from the previous vm.
• Verify the VM boots properly.
• Delete the Backed Image PVC (you may need to delete the Job and completed pods from the flattening via the embedded rancher UI)
• Delete the Imported image.bland-article-62755
05/07/2025, 6:50 PMbland-article-62755
05/07/2025, 6:50 PMmillions-microphone-3535
05/28/2025, 7:02 PMbland-article-62755
05/28/2025, 7:14 PMbland-article-62755
05/28/2025, 7:20 PMmillions-microphone-3535
05/28/2025, 7:20 PMmillions-microphone-3535
05/28/2025, 7:21 PMmillions-microphone-3535
05/28/2025, 7:21 PMbland-article-62755
05/28/2025, 7:21 PMbland-article-62755
05/28/2025, 7:21 PMbland-article-62755
05/28/2025, 7:44 PMbland-article-62755
05/28/2025, 7:44 PMbland-article-62755
05/29/2025, 6:48 PMmillions-microphone-3535
05/29/2025, 6:48 PMmillions-microphone-3535
05/29/2025, 6:49 PMbland-article-62755
05/29/2025, 6:49 PMmillions-microphone-3535
05/29/2025, 6:49 PMBackingImage, BackupBackingImage etc.