live migration finished with problems, how to recover

Dale.Sykora

Member
May 13, 2020
18
2
8
55
Below is the migration task log. The vm is offline and I am unable to start as it is in a locked state.

qm status 118 shows status: postmigrate

how can I recover this?



2023-07-13 12:26:45 starting migration of VM 118 to node 'n4' (172.25.36.14)
2023-07-13 12:26:46 starting VM 118 on remote node 'n4'
2023-07-13 12:26:51 start remote tunnel
2023-07-13 12:26:53 ssh tunnel ver 1
2023-07-13 12:26:53 starting online/live migration on unix:/run/qemu-server/118.migrate
2023-07-13 12:26:53 set migration capabilities
2023-07-13 12:26:53 migration downtime limit: 100 ms
2023-07-13 12:26:53 migration cachesize: 1.0 GiB
2023-07-13 12:26:53 set migration parameters
2023-07-13 12:26:53 start migrate command to unix:/run/qemu-server/118.migrate
2023-07-13 12:26:54 migration active, transferred 14.4 MiB of 8.0 GiB VM-state, 84.1 MiB/s
2023-07-13 12:26:55 migration active, transferred 91.5 MiB of 8.0 GiB VM-state, 53.9 MiB/s
2023-07-13 12:26:56 migration active, transferred 148.9 MiB of 8.0 GiB VM-state, 56.3 MiB/s
2023-07-13 12:26:57 migration active, transferred 167.0 MiB of 8.0 GiB VM-state, 127.3 MiB/s
2023-07-13 12:26:58 migration active, transferred 171.7 MiB of 8.0 GiB VM-state, 21.5 MiB/s
2023-07-13 12:26:59 migration active, transferred 225.3 MiB of 8.0 GiB VM-state, 3.5 MiB/s
2023-07-13 12:27:00 migration active, transferred 319.3 MiB of 8.0 GiB VM-state, 119.3 MiB/s
2023-07-13 12:27:01 migration active, transferred 431.9 MiB of 8.0 GiB VM-state, 114.8 MiB/s
2023-07-13 12:27:02 migration active, transferred 544.6 MiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:27:03 migration active, transferred 620.9 MiB of 8.0 GiB VM-state, 121.7 MiB/s
2023-07-13 12:27:04 migration active, transferred 732.6 MiB of 8.0 GiB VM-state, 117.2 MiB/s
2023-07-13 12:27:05 migration active, transferred 755.4 MiB of 8.0 GiB VM-state, 2.1 MiB/s
2023-07-13 12:27:06 migration active, transferred 774.3 MiB of 8.0 GiB VM-state, 2.3 MiB/s
2023-07-13 12:27:07 migration active, transferred 819.3 MiB of 8.0 GiB VM-state, 3.3 MiB/s
2023-07-13 12:27:08 migration active, transferred 867.7 MiB of 8.0 GiB VM-state, 5.3 MiB/s
2023-07-13 12:27:09 migration active, transferred 909.3 MiB of 8.0 GiB VM-state, 77.9 MiB/s
2023-07-13 12:27:10 migration active, transferred 945.5 MiB of 8.0 GiB VM-state, 74.9 MiB/s
2023-07-13 12:27:11 migration active, transferred 1023.6 MiB of 8.0 GiB VM-state, 117.2 MiB/s
2023-07-13 12:27:12 migration active, transferred 1.0 GiB of 8.0 GiB VM-state, 78.6 MiB/s
2023-07-13 12:27:13 migration active, transferred 1.1 GiB of 8.0 GiB VM-state, 117.2 MiB/s
2023-07-13 12:27:14 migration active, transferred 1.2 GiB of 8.0 GiB VM-state, 21.8 MiB/s
2023-07-13 12:27:15 migration active, transferred 1.3 GiB of 8.0 GiB VM-state, 33.6 MiB/s
2023-07-13 12:27:16 migration active, transferred 1.4 GiB of 8.0 GiB VM-state, 119.2 MiB/s
2023-07-13 12:27:18 migration active, transferred 1.5 GiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:27:19 migration active, transferred 1.5 GiB of 8.0 GiB VM-state, 60.8 MiB/s
2023-07-13 12:27:20 migration active, transferred 1.5 GiB of 8.0 GiB VM-state, 6.4 MiB/s
2023-07-13 12:27:21 migration active, transferred 1.5 GiB of 8.0 GiB VM-state, 6.0 MiB/s
2023-07-13 12:27:22 migration active, transferred 1.6 GiB of 8.0 GiB VM-state, 59.2 MiB/s
2023-07-13 12:27:23 migration active, transferred 1.7 GiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:27:24 migration active, transferred 1.8 GiB of 8.0 GiB VM-state, 49.7 MiB/s
2023-07-13 12:27:25 migration active, transferred 1.8 GiB of 8.0 GiB VM-state, 61.2 MiB/s
2023-07-13 12:27:26 migration active, transferred 1.9 GiB of 8.0 GiB VM-state, 120.5 MiB/s
2023-07-13 12:27:27 migration active, transferred 2.0 GiB of 8.0 GiB VM-state, 123.9 MiB/s
2023-07-13 12:27:28 migration active, transferred 2.1 GiB of 8.0 GiB VM-state, 129.6 MiB/s
2023-07-13 12:27:29 migration active, transferred 2.2 GiB of 8.0 GiB VM-state, 128.4 MiB/s
2023-07-13 12:27:30 migration active, transferred 2.3 GiB of 8.0 GiB VM-state, 93.8 MiB/s
2023-07-13 12:27:31 migration active, transferred 2.4 GiB of 8.0 GiB VM-state, 147.3 MiB/s
2023-07-13 12:27:32 migration active, transferred 2.5 GiB of 8.0 GiB VM-state, 119.2 MiB/s
2023-07-13 12:27:33 migration active, transferred 2.6 GiB of 8.0 GiB VM-state, 115.8 MiB/s
2023-07-13 12:27:34 migration active, transferred 2.7 GiB of 8.0 GiB VM-state, 122.8 MiB/s
2023-07-13 12:27:35 migration active, transferred 2.8 GiB of 8.0 GiB VM-state, 126.2 MiB/s
2023-07-13 12:27:36 migration active, transferred 2.9 GiB of 8.0 GiB VM-state, 111.2 MiB/s
2023-07-13 12:27:37 migration active, transferred 3.0 GiB of 8.0 GiB VM-state, 116.0 MiB/s
2023-07-13 12:27:38 migration active, transferred 3.1 GiB of 8.0 GiB VM-state, 127.3 MiB/s
2023-07-13 12:27:39 migration active, transferred 3.1 GiB of 8.0 GiB VM-state, 4.2 MiB/s
2023-07-13 12:27:40 migration active, transferred 3.2 GiB of 8.0 GiB VM-state, 126.2 MiB/s
2023-07-13 12:27:41 migration active, transferred 3.3 GiB of 8.0 GiB VM-state, 126.2 MiB/s
2023-07-13 12:27:42 migration active, transferred 3.4 GiB of 8.0 GiB VM-state, 116.0 MiB/s
2023-07-13 12:27:43 migration active, transferred 3.4 GiB of 8.0 GiB VM-state, 113.7 MiB/s
2023-07-13 12:27:44 migration active, transferred 3.5 GiB of 8.0 GiB VM-state, 84.2 MiB/s
2023-07-13 12:27:45 migration active, transferred 3.6 GiB of 8.0 GiB VM-state, 5.2 MiB/s
2023-07-13 12:27:46 migration active, transferred 3.6 GiB of 8.0 GiB VM-state, 129.9 MiB/s
2023-07-13 12:27:47 migration active, transferred 3.7 GiB of 8.0 GiB VM-state, 3.5 MiB/s
2023-07-13 12:27:48 migration active, transferred 3.8 GiB of 8.0 GiB VM-state, 117.0 MiB/s
2023-07-13 12:27:49 migration active, transferred 3.8 GiB of 8.0 GiB VM-state, 19.2 MiB/s
2023-07-13 12:27:50 migration active, transferred 3.9 GiB of 8.0 GiB VM-state, 110.7 MiB/s
2023-07-13 12:27:51 migration active, transferred 4.0 GiB of 8.0 GiB VM-state, 26.3 MiB/s
2023-07-13 12:27:52 migration active, transferred 4.1 GiB of 8.0 GiB VM-state, 8.6 MiB/s
2023-07-13 12:27:53 migration active, transferred 4.1 GiB of 8.0 GiB VM-state, 19.1 MiB/s
2023-07-13 12:27:54 migration active, transferred 4.1 GiB of 8.0 GiB VM-state, 20.7 MiB/s
2023-07-13 12:27:55 migration active, transferred 4.2 GiB of 8.0 GiB VM-state, 65.8 MiB/s
2023-07-13 12:27:56 migration active, transferred 4.3 GiB of 8.0 GiB VM-state, 7.1 MiB/s
2023-07-13 12:27:57 migration active, transferred 4.3 GiB of 8.0 GiB VM-state, 2.0 MiB/s
2023-07-13 12:27:58 migration active, transferred 4.3 GiB of 8.0 GiB VM-state, 98.5 MiB/s
2023-07-13 12:27:59 migration active, transferred 4.4 GiB of 8.0 GiB VM-state, 117.2 MiB/s
2023-07-13 12:28:00 migration active, transferred 4.4 GiB of 8.0 GiB VM-state, 23.9 MiB/s
2023-07-13 12:28:01 migration active, transferred 4.4 GiB of 8.0 GiB VM-state, 2.9 MiB/s
2023-07-13 12:28:02 migration active, transferred 4.4 GiB of 8.0 GiB VM-state, 2.2 MiB/s
2023-07-13 12:28:03 migration active, transferred 4.5 GiB of 8.0 GiB VM-state, 98.1 MiB/s
2023-07-13 12:28:04 migration active, transferred 4.6 GiB of 8.0 GiB VM-state, 122.8 MiB/s
2023-07-13 12:28:05 migration active, transferred 4.6 GiB of 8.0 GiB VM-state, 18.3 MiB/s
2023-07-13 12:28:06 migration active, transferred 4.6 GiB of 8.0 GiB VM-state, 3.7 MiB/s
2023-07-13 12:28:07 migration active, transferred 4.6 GiB of 8.0 GiB VM-state, 5.9 MiB/s
2023-07-13 12:28:08 migration active, transferred 4.6 GiB of 8.0 GiB VM-state, 6.6 MiB/s
2023-07-13 12:28:09 migration active, transferred 4.7 GiB of 8.0 GiB VM-state, 118.1 MiB/s
2023-07-13 12:28:10 migration active, transferred 4.8 GiB of 8.0 GiB VM-state, 24.2 MiB/s
2023-07-13 12:28:11 migration active, transferred 4.8 GiB of 8.0 GiB VM-state, 44.2 MiB/s
2023-07-13 12:28:12 migration active, transferred 4.9 GiB of 8.0 GiB VM-state, 68.1 MiB/s
2023-07-13 12:28:13 migration active, transferred 5.0 GiB of 8.0 GiB VM-state, 60.2 MiB/s
2023-07-13 12:28:14 migration active, transferred 5.0 GiB of 8.0 GiB VM-state, 3.8 MiB/s
2023-07-13 12:28:15 migration active, transferred 5.1 GiB of 8.0 GiB VM-state, 135.6 MiB/s
2023-07-13 12:28:16 migration active, transferred 5.1 GiB of 8.0 GiB VM-state, 122.8 MiB/s
2023-07-13 12:28:17 migration active, transferred 5.1 GiB of 8.0 GiB VM-state, 10.8 MiB/s
2023-07-13 12:28:18 migration active, transferred 5.2 GiB of 8.0 GiB VM-state, 129.6 MiB/s
2023-07-13 12:28:19 migration active, transferred 5.3 GiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:28:20 migration active, transferred 5.4 GiB of 8.0 GiB VM-state, 120.4 MiB/s
2023-07-13 12:28:21 migration active, transferred 5.4 GiB of 8.0 GiB VM-state, 122.8 MiB/s
2023-07-13 12:28:22 migration active, transferred 5.5 GiB of 8.0 GiB VM-state, 136.9 MiB/s
2023-07-13 12:28:23 migration active, transferred 5.6 GiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:28:24 migration active, transferred 5.6 GiB of 8.0 GiB VM-state, 116.0 MiB/s
2023-07-13 12:28:25 migration active, transferred 5.7 GiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:28:26 migration active, transferred 5.8 GiB of 8.0 GiB VM-state, 15.4 MiB/s
2023-07-13 12:28:27 migration active, transferred 5.9 GiB of 8.0 GiB VM-state, 95.0 MiB/s
2023-07-13 12:28:28 migration active, transferred 6.0 GiB of 8.0 GiB VM-state, 57.9 MiB/s
2023-07-13 12:28:29 migration active, transferred 6.0 GiB of 8.0 GiB VM-state, 100.5 MiB/s
2023-07-13 12:28:30 migration active, transferred 6.1 GiB of 8.0 GiB VM-state, 155.2 MiB/s
2023-07-13 12:28:31 migration active, transferred 6.2 GiB of 8.0 GiB VM-state, 121.7 MiB/s
2023-07-13 12:28:32 migration active, transferred 6.3 GiB of 8.0 GiB VM-state, 264.0 MiB/s
2023-07-13 12:28:33 migration active, transferred 6.4 GiB of 8.0 GiB VM-state, 4.9 MiB/s
2023-07-13 12:28:34 migration active, transferred 6.4 GiB of 8.0 GiB VM-state, 8.6 MiB/s
2023-07-13 12:28:35 migration active, transferred 6.5 GiB of 8.0 GiB VM-state, 7.4 MiB/s
2023-07-13 12:28:36 migration active, transferred 6.6 GiB of 8.0 GiB VM-state, 89.5 MiB/s
2023-07-13 12:28:37 migration active, transferred 6.7 GiB of 8.0 GiB VM-state, 118.2 MiB/s
2023-07-13 12:28:38 migration active, transferred 6.8 GiB of 8.0 GiB VM-state, 120.4 MiB/s
2023-07-13 12:28:39 migration active, transferred 6.9 GiB of 8.0 GiB VM-state, 113.9 MiB/s
2023-07-13 12:28:40 migration active, transferred 7.0 GiB of 8.0 GiB VM-state, 120.4 MiB/s
2023-07-13 12:28:41 migration active, transferred 7.1 GiB of 8.0 GiB VM-state, 119.3 MiB/s
2023-07-13 12:28:42 migration active, transferred 7.2 GiB of 8.0 GiB VM-state, 114.8 MiB/s
2023-07-13 12:28:43 migration active, transferred 7.3 GiB of 8.0 GiB VM-state, 110.2 MiB/s
2023-07-13 12:28:44 migration active, transferred 7.3 GiB of 8.0 GiB VM-state, 66.9 MiB/s
2023-07-13 12:28:45 migration active, transferred 7.4 GiB of 8.0 GiB VM-state, 110.9 MiB/s
2023-07-13 12:28:46 migration active, transferred 7.6 GiB of 8.0 GiB VM-state, 115.6 MiB/s
2023-07-13 12:28:47 average migration speed: 72.0 MiB/s - downtime 242 ms
2023-07-13 12:28:47 migration status: completed
2023-07-13 12:29:28 ERROR: unable to open file '/etc/pve/nodes/n3/qemu-server/118.conf.tmp.4122922' - Device or resource busy
2023-07-13 12:29:28 ERROR: migration finished with problems (duration 00:02:45)
TASK ERROR: migration problems
 
Hello,

Can you please test to unlock the VM and then start it using the following commands:

Bash:
qm unlock 118 && qm start 118
 

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!