[SOLVED] Proxmox 7.0-13 live migration failed

javabugz

New Member
Oct 15, 2021
2
2
3
24
I'm running a test cluster with 3 nodes using ceph rbd as the storage. I set up a simple debian 11 VM to test out live migration but never quite got it working. Below is the error I always get. Any suggestion is greatly appreciated. Offline migration works fine, btw. Thanks.

2021-10-14 20:45:16 use dedicated network address for sending migration traffic (10.1.1.9)
2021-10-14 20:45:16 starting migration of VM 103 to node 'nomad' (10.1.1.9)
2021-10-14 20:45:16 starting VM 103 on remote node 'nomad'
2021-10-14 20:45:18 start remote tunnel
2021-10-14 20:45:18 ssh tunnel ver 1
2021-10-14 20:45:18 starting online/live migration on unix:/run/qemu-server/103.migrate
2021-10-14 20:45:18 set migration capabilities
2021-10-14 20:45:18 migration downtime limit: 100 ms
2021-10-14 20:45:18 migration cachesize: 1.0 GiB
2021-10-14 20:45:18 set migration parameters
2021-10-14 20:45:18 start migrate command to unix:/run/qemu-server/103.migrate
channel 2: open failed: connect failed: open failed
2021-10-14 20:45:19 migration status error: failed
2021-10-14 20:45:19 ERROR: online migrate failure - aborting
2021-10-14 20:45:19 aborting phase 2 - cleanup resources
2021-10-14 20:45:19 migrate_cancel
2021-10-14 20:45:21 ERROR: migration finished with problems (duration 00:00:06)
TASK ERROR: migration problems
 
channel 2: open failed: connect failed: open failed
on a hunch - make sure that ssh between the nodes works - and that there are not modifications to the ssh configuration (client and server and also the public keys in /root/.ssh/authorized_keys)

I hope this helps!
 
Thanks for the tip. I reinstall openssh-server and it works

2021-10-15 06:33:33 starting VM 103 on remote node 'nomad'
2021-10-15 06:33:35 start remote tunnel
2021-10-15 06:33:35 ssh tunnel ver 1
2021-10-15 06:33:35 starting online/live migration on unix:/run/qemu-server/103.migrate
2021-10-15 06:33:35 set migration capabilities
2021-10-15 06:33:35 migration downtime limit: 100 ms
2021-10-15 06:33:35 migration cachesize: 1.0 GiB
2021-10-15 06:33:35 set migration parameters
2021-10-15 06:33:35 start migrate command to unix:/run/qemu-server/103.migrate
2021-10-15 06:33:36 migration active, transferred 117.3 MiB of 6.0 GiB VM-state, 128.0 MiB/s
2021-10-15 06:33:37 migration active, transferred 230.6 MiB of 6.0 GiB VM-state, 396.0 MiB/s
2021-10-15 06:33:38 migration active, transferred 338.5 MiB of 6.0 GiB VM-state, 109.6 MiB/s
2021-10-15 06:33:40 average migration speed: 1.2 GiB/s - downtime 163 ms
2021-10-15 06:33:40 migration status: completed
2021-10-15 06:33:43 migration finished successfully (duration 00:00:10)
TASK OK
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!