[PVE-User] cloud-init drive prevents offline migration
wzyboy at wzyboy.org
Fri Feb 15 14:21:28 CET 2019
I am playing with Proxmox VE cluster migration feature. When trying out my first migration, I encountered this:
root at inf-vmh-3:~# qm stop 115
root at inf-vmh-3:~# qm migrate 115 inf-vmh-1
2019-02-15 04:41:01 starting migration of VM 115 to node 'inf-vmh-1' (192.168.0.170)
2019-02-15 04:41:01 found local disk 'local-lvm:vm-115-cloudinit' (in current VM config)
2019-02-15 04:41:01 found local disk 'local-lvm:vm-115-disk-0' (in current VM config)
2019-02-15 04:41:01 can't migrate local disk 'local-lvm:vm-115-cloudinit': local cdrom image
2019-02-15 04:41:01 ERROR: Failed to sync data - can't migrate VM - check log
2019-02-15 04:41:01 aborting phase 1 - cleanup resources
2019-02-15 04:41:01 ERROR: migration aborted (duration 00:00:00): Failed to sync data - can't migrate VM - check log
It seems that PVE considers the cloud-init drive as a local resource that cannot be moved. After removing the cloud-init drive from the VM, the migration succeeded.
IMHO, the cloud-init drive could be treated just like a normal disk image that could be dd'ed and copied to another node.
Is this a bug or by design? If so, I could file a report at Bugzilla.
More information about the pve-user