So i have two proxmox clusters, both have the access to the RBD storage of my first cluster, now i want to migrate a VM to test the possibility of migrating the whole thing to my new cluster...
After researching a litttle, i found i cant live-migrate to a remote host, via '"qm remote-migrate", i tried to migrate a basic windows VM and it worked like a charm. But my problems started when i tried to move a linux VM that has a cloudinit..
What i tried:
qm remote-migrate 120 120 'apitoken=PVEAPIToken=user@pam!migration=azerty654,host=10.197.241.57,fingerprint=XX:XX' --target-bridge vmbr0 --target-storage rbd --online 1
Here's what i got in return:
The exact same method worked in a VM that doesnt have a cloudinit, is there another way to do this without removing the cloudinit?
Also i dont understand why the VM copies the disk, since the disk stays on the same storage and location..
After researching a litttle, i found i cant live-migrate to a remote host, via '"qm remote-migrate", i tried to migrate a basic windows VM and it worked like a charm. But my problems started when i tried to move a linux VM that has a cloudinit..
What i tried:
qm remote-migrate 120 120 'apitoken=PVEAPIToken=user@pam!migration=azerty654,host=10.197.241.57,fingerprint=XX:XX' --target-bridge vmbr0 --target-storage rbd --online 1
Here's what i got in return:
Code:
Establishing API connection with remote at 'XX.XX.XX.XX'
2024-06-10 20:08:26 remote: started tunnel worker 'UPID:px4:00152FD6:123006DF:6667411A:qmtunnel:1020:user@pam!migration:'
tunnel: -> sending command "version" to remote
tunnel: <- got reply
2024-06-10 20:08:26 local WS tunnel version: 2
2024-06-10 20:08:26 remote WS tunnel version: 2
2024-06-10 20:08:26 minimum required WS tunnel version: 2
websocket tunnel started
2024-06-10 20:08:26 starting migration of VM 120 to node 'px4' (XX.XX.XX.XX)
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
tunnel: -> sending command "bwlimit" to remote
tunnel: <- got reply
2024-06-10 20:08:27 found generated disk 'rbd:vm-120-cloudinit' (in current VM config)
2024-06-10 20:08:27 found local disk 'rbd:vm-120-disk-0' (attached)
2024-06-10 20:08:27 copying local disk images
2024-06-10 20:08:27 ERROR: no export formats for 'rbd:vm-120-cloudinit' - check storage plugin support!
2024-06-10 20:08:27 aborting phase 1 - cleanup resources
tunnel: -> sending command "quit" to remote
tunnel: <- got reply
2024-06-10 20:08:28 ERROR: migration aborted (duration 00:00:02): no export formats for 'rbd:vm-120-cloudinit' - check storage plugin support!
migration aborted
The exact same method worked in a VM that doesnt have a cloudinit, is there another way to do this without removing the cloudinit?
Also i dont understand why the VM copies the disk, since the disk stays on the same storage and location..