Hi!
I'm currently using Home Assistant OS VM created by the great scripts at https://tteck.github.io/Proxmox/. As I have a Zigbee network, it also has a USB device mapped. I know it's not possible to move it with that USB device because of the way Zigbee networks work. However, when I want to migrate it to my other node, what I usually do is remove the USB mapping and start the migration process.
But the problem is that every time I try to migrate it, I get an error (pasting it below).
Any ideas on what could be going wrong?
I'm currently using Home Assistant OS VM created by the great scripts at https://tteck.github.io/Proxmox/. As I have a Zigbee network, it also has a USB device mapped. I know it's not possible to move it with that USB device because of the way Zigbee networks work. However, when I want to migrate it to my other node, what I usually do is remove the USB mapping and start the migration process.
But the problem is that every time I try to migrate it, I get an error (pasting it below).
Code:
()
2024-04-14 21:02:42 starting migration of VM 101 to node 'pve' (10.0.1.37)
2024-04-14 21:02:42 found local disk 'local-lvm:vm-101-disk-0' (attached)
2024-04-14 21:02:42 found local disk 'local-lvm:vm-101-disk-1' (attached)
2024-04-14 21:02:42 starting VM 101 on remote node 'pve'
2024-04-14 21:02:47 volume 'local-lvm:vm-101-disk-0' is 'local-lvm:vm-101-disk-0' on the target
2024-04-14 21:02:47 volume 'local-lvm:vm-101-disk-1' is 'local-lvm:vm-101-disk-1' on the target
2024-04-14 21:02:47 start remote tunnel
2024-04-14 21:02:48 ssh tunnel ver 1
2024-04-14 21:02:48 starting storage migration
2024-04-14 21:02:48 efidisk0: start migration to nbd:unix:/run/qemu-server/101_nbd.migrate:exportname=drive-efidisk0
drive mirror is starting for drive-efidisk0
drive-efidisk0: transferred 16.0 KiB of 528.0 KiB (3.03%) in 0s
drive-efidisk0: transferred 528.0 KiB of 528.0 KiB (100.00%) in 1s, ready
all 'mirror' jobs are ready
2024-04-14 21:02:49 scsi0: start migration to nbd:unix:/run/qemu-server/101_nbd.migrate:exportname=drive-scsi0
drive mirror is starting for drive-scsi0
drive-scsi0: transferred 149.0 MiB of 32.0 GiB (0.45%) in 53s
drive-scsi0: transferred 416.0 MiB of 32.0 GiB (1.27%) in 54s
drive-scsi0: transferred 696.0 MiB of 32.0 GiB (2.12%) in 55s
drive-scsi0: transferred 977.0 MiB of 32.0 GiB (2.98%) in 56s
drive-scsi0: transferred 1.2 GiB of 32.0 GiB (3.81%) in 57s
drive-scsi0: transferred 1.5 GiB of 32.0 GiB (4.64%) in 58s
drive-scsi0: transferred 1.8 GiB of 32.0 GiB (5.50%) in 59s
drive-scsi0: transferred 2.0 GiB of 32.0 GiB (6.36%) in 1m
drive-scsi0: transferred 2.3 GiB of 32.0 GiB (7.21%) in 1m 1s
drive-scsi0: transferred 2.6 GiB of 32.0 GiB (8.06%) in 1m 2s
drive-scsi0: transferred 2.9 GiB of 32.0 GiB (8.92%) in 1m 3s
drive-scsi0: transferred 3.1 GiB of 32.0 GiB (9.78%) in 1m 4s
drive-scsi0: transferred 3.4 GiB of 32.0 GiB (10.60%) in 1m 5s
drive-scsi0: transferred 3.7 GiB of 32.0 GiB (11.45%) in 1m 6s
drive-scsi0: transferred 3.9 GiB of 32.0 GiB (12.30%) in 1m 7s
drive-scsi0: transferred 4.2 GiB of 32.0 GiB (13.16%) in 1m 8s
drive-scsi0: transferred 4.5 GiB of 32.0 GiB (14.01%) in 1m 9s
drive-scsi0: transferred 4.7 GiB of 32.0 GiB (14.83%) in 1m 10s
drive-scsi0: transferred 5.0 GiB of 32.0 GiB (15.58%) in 1m 11s
drive-scsi0: transferred 5.3 GiB of 32.0 GiB (16.44%) in 1m 12s
drive-scsi0: transferred 5.5 GiB of 32.0 GiB (17.24%) in 1m 13s
drive-scsi0: transferred 5.8 GiB of 32.0 GiB (18.05%) in 1m 14s
drive-scsi0: transferred 6.0 GiB of 32.0 GiB (18.90%) in 1m 15s
drive-scsi0: transferred 6.3 GiB of 32.0 GiB (19.72%) in 1m 16s
drive-scsi0: transferred 6.6 GiB of 32.0 GiB (20.57%) in 1m 17s
drive-scsi0: transferred 6.9 GiB of 32.0 GiB (21.43%) in 1m 18s
drive-scsi0: transferred 7.1 GiB of 32.0 GiB (22.28%) in 1m 19s
drive-scsi0: transferred 7.4 GiB of 32.0 GiB (23.10%) in 1m 20s
drive-scsi0: transferred 7.7 GiB of 32.0 GiB (23.92%) in 1m 21s
drive-scsi0: transferred 7.9 GiB of 32.0 GiB (24.78%) in 1m 22s
drive-scsi0: transferred 8.2 GiB of 32.0 GiB (25.63%) in 1m 23s
drive-scsi0: transferred 8.5 GiB of 32.0 GiB (26.47%) in 1m 24s
drive-scsi0: transferred 8.7 GiB of 32.0 GiB (27.29%) in 1m 25s
drive-scsi0: transferred 9.0 GiB of 32.0 GiB (28.13%) in 1m 26s
drive-scsi0: transferred 9.3 GiB of 32.0 GiB (28.93%) in 1m 27s
drive-scsi0: transferred 9.5 GiB of 32.0 GiB (29.78%) in 1m 28s
drive-scsi0: transferred 9.8 GiB of 32.0 GiB (30.64%) in 1m 29s
drive-scsi0: transferred 10.1 GiB of 32.0 GiB (31.47%) in 1m 30s
drive-scsi0: transferred 10.3 GiB of 32.0 GiB (32.30%) in 1m 31s
drive-scsi0: transferred 10.6 GiB of 32.0 GiB (33.13%) in 1m 32s
drive-scsi0: transferred 10.9 GiB of 32.0 GiB (33.98%) in 1m 33s
drive-scsi0: transferred 11.1 GiB of 32.0 GiB (34.82%) in 1m 34s
drive-scsi0: transferred 11.4 GiB of 32.0 GiB (35.66%) in 1m 35s
drive-scsi0: transferred 11.7 GiB of 32.0 GiB (36.50%) in 1m 36s
drive-scsi0: transferred 12.0 GiB of 32.0 GiB (37.36%) in 1m 37s
drive-scsi0: transferred 12.2 GiB of 32.0 GiB (38.20%) in 1m 38s
drive-scsi0: transferred 12.5 GiB of 32.0 GiB (39.05%) in 1m 39s
drive-scsi0: transferred 12.8 GiB of 32.0 GiB (39.86%) in 1m 40s
drive-scsi0: transferred 13.0 GiB of 32.0 GiB (40.71%) in 1m 41s
drive-scsi0: transferred 13.3 GiB of 32.0 GiB (41.52%) in 1m 42s
drive-scsi0: transferred 13.5 GiB of 32.0 GiB (42.34%) in 1m 43s
drive-scsi0: transferred 13.8 GiB of 32.0 GiB (43.19%) in 1m 44s
drive-scsi0: transferred 14.1 GiB of 32.0 GiB (44.06%) in 1m 45s
drive-scsi0: transferred 14.4 GiB of 32.0 GiB (44.85%) in 1m 46s
drive-scsi0: transferred 14.6 GiB of 32.0 GiB (45.70%) in 1m 47s
drive-scsi0: transferred 14.9 GiB of 32.0 GiB (46.55%) in 1m 48s
drive-scsi0: transferred 15.2 GiB of 32.0 GiB (47.40%) in 1m 49s
drive-scsi0: transferred 15.4 GiB of 32.0 GiB (48.23%) in 1m 50s
drive-scsi0: transferred 15.7 GiB of 32.0 GiB (49.03%) in 1m 51s
drive-scsi0: transferred 16.0 GiB of 32.0 GiB (49.85%) in 1m 52s
drive-scsi0: transferred 16.2 GiB of 32.0 GiB (50.72%) in 1m 53s
drive-scsi0: transferred 16.5 GiB of 32.0 GiB (51.57%) in 1m 54s
drive-scsi0: transferred 16.8 GiB of 32.0 GiB (52.42%) in 1m 55s
drive-scsi0: transferred 17.0 GiB of 32.0 GiB (53.24%) in 1m 56s
drive-scsi0: transferred 17.3 GiB of 32.0 GiB (54.08%) in 1m 57s
drive-scsi0: transferred 17.6 GiB of 32.0 GiB (54.86%) in 1m 58s
drive-scsi0: transferred 17.8 GiB of 32.0 GiB (55.71%) in 1m 59s
drive-scsi0: transferred 18.1 GiB of 32.0 GiB (56.57%) in 2m
drive-scsi0: transferred 18.4 GiB of 32.0 GiB (57.43%) in 2m 1s
drive-scsi0: transferred 18.6 GiB of 32.0 GiB (58.27%) in 2m 2s
drive-scsi0: transferred 18.9 GiB of 32.0 GiB (59.04%) in 2m 3s
drive-scsi0: transferred 19.2 GiB of 32.0 GiB (59.89%) in 2m 4s
drive-scsi0: transferred 19.4 GiB of 32.0 GiB (60.72%) in 2m 5s
drive-scsi0: transferred 19.7 GiB of 32.0 GiB (61.54%) in 2m 6s
drive-scsi0: transferred 20.0 GiB of 32.0 GiB (62.31%) in 2m 7s
drive-scsi0: transferred 20.2 GiB of 32.0 GiB (63.14%) in 2m 8s
drive-scsi0: transferred 20.5 GiB of 32.0 GiB (63.99%) in 2m 9s
drive-scsi0: transferred 20.8 GiB of 32.0 GiB (64.85%) in 2m 11s
drive-scsi0: transferred 21.0 GiB of 32.0 GiB (65.69%) in 2m 12s
drive-scsi0: transferred 21.3 GiB of 32.0 GiB (66.50%) in 2m 13s
drive-scsi0: transferred 21.6 GiB of 32.0 GiB (67.35%) in 2m 14s
drive-scsi0: transferred 21.8 GiB of 32.0 GiB (68.20%) in 2m 15s
drive-scsi0: transferred 22.1 GiB of 32.0 GiB (69.05%) in 2m 16s
drive-scsi0: transferred 22.4 GiB of 32.0 GiB (69.88%) in 2m 17s
drive-scsi0: transferred 22.6 GiB of 32.0 GiB (70.72%) in 2m 18s
drive-scsi0: transferred 22.9 GiB of 32.0 GiB (71.55%) in 2m 19s
drive-scsi0: transferred 23.2 GiB of 32.0 GiB (72.36%) in 2m 20s
drive-scsi0: transferred 23.4 GiB of 32.0 GiB (73.20%) in 2m 21s
drive-scsi0: transferred 23.7 GiB of 32.0 GiB (74.03%) in 2m 22s
drive-scsi0: transferred 24.0 GiB of 32.0 GiB (74.88%) in 2m 23s
drive-scsi0: transferred 24.2 GiB of 32.0 GiB (75.71%) in 2m 24s
drive-scsi0: transferred 24.5 GiB of 32.0 GiB (76.53%) in 2m 25s
drive-scsi0: transferred 24.8 GiB of 32.0 GiB (77.33%) in 2m 26s
drive-scsi0: transferred 25.0 GiB of 32.0 GiB (78.18%) in 2m 27s
drive-scsi0: transferred 25.3 GiB of 32.0 GiB (79.03%) in 2m 28s
drive-scsi0: transferred 25.6 GiB of 32.0 GiB (79.89%) in 2m 29s
drive-scsi0: transferred 25.8 GiB of 32.0 GiB (80.69%) in 2m 30s
drive-scsi0: transferred 26.1 GiB of 32.0 GiB (81.41%) in 2m 31s
drive-scsi0: transferred 26.3 GiB of 32.0 GiB (82.26%) in 2m 32s
drive-scsi0: transferred 26.6 GiB of 32.0 GiB (83.06%) in 2m 33s
drive-scsi0: transferred 26.9 GiB of 32.0 GiB (83.89%) in 2m 34s
drive-scsi0: transferred 27.1 GiB of 32.0 GiB (84.68%) in 2m 35s
drive-scsi0: transferred 27.3 GiB of 32.0 GiB (85.39%) in 2m 36s
drive-scsi0: transferred 27.6 GiB of 32.0 GiB (86.24%) in 2m 37s
drive-scsi0: transferred 27.9 GiB of 32.0 GiB (87.04%) in 2m 38s
drive-scsi0: transferred 28.1 GiB of 32.0 GiB (87.85%) in 2m 39s
drive-scsi0: transferred 28.4 GiB of 32.0 GiB (88.71%) in 2m 40s
drive-scsi0: transferred 28.7 GiB of 32.0 GiB (89.56%) in 2m 41s
drive-scsi0: transferred 28.9 GiB of 32.0 GiB (90.40%) in 2m 42s
drive-scsi0: transferred 29.2 GiB of 32.0 GiB (91.26%) in 2m 43s
drive-scsi0: transferred 29.5 GiB of 32.0 GiB (92.11%) in 2m 44s
drive-scsi0: transferred 29.8 GiB of 32.0 GiB (92.92%) in 2m 45s
drive-scsi0: transferred 30.0 GiB of 32.0 GiB (93.72%) in 2m 46s
drive-scsi0: transferred 30.3 GiB of 32.0 GiB (94.58%) in 2m 47s
drive-scsi0: transferred 30.5 GiB of 32.0 GiB (95.39%) in 2m 48s
drive-scsi0: transferred 30.8 GiB of 32.0 GiB (96.20%) in 2m 49s
drive-scsi0: transferred 31.1 GiB of 32.0 GiB (97.02%) in 2m 50s
drive-scsi0: transferred 31.3 GiB of 32.0 GiB (97.81%) in 2m 51s
drive-scsi0: transferred 31.6 GiB of 32.0 GiB (98.67%) in 2m 52s
drive-scsi0: transferred 31.9 GiB of 32.0 GiB (99.48%) in 2m 53s
drive-scsi0: transferred 32.0 GiB of 32.0 GiB (100.00%) in 2m 54s, ready
all 'mirror' jobs are ready
2024-04-14 21:05:43 starting online/live migration on unix:/run/qemu-server/101.migrate
2024-04-14 21:05:43 set migration capabilities
2024-04-14 21:05:43 migration downtime limit: 100 ms
2024-04-14 21:05:43 migration cachesize: 1.0 GiB
2024-04-14 21:05:43 set migration parameters
2024-04-14 21:05:43 start migrate command to unix:/run/qemu-server/101.migrate
2024-04-14 21:05:44 migration active, transferred 214.6 MiB of 8.0 GiB VM-state, 281.0 MiB/s
2024-04-14 21:05:45 migration active, transferred 482.7 MiB of 8.0 GiB VM-state, 262.0 MiB/s
2024-04-14 21:05:46 migration active, transferred 762.8 MiB of 8.0 GiB VM-state, 281.6 MiB/s
2024-04-14 21:05:47 migration active, transferred 1.0 GiB of 8.0 GiB VM-state, 278.9 MiB/s
2024-04-14 21:05:48 migration active, transferred 1.3 GiB of 8.0 GiB VM-state, 273.7 MiB/s
2024-04-14 21:05:49 migration active, transferred 1.6 GiB of 8.0 GiB VM-state, 278.9 MiB/s
2024-04-14 21:05:50 migration active, transferred 1.8 GiB of 8.0 GiB VM-state, 281.6 MiB/s
2024-04-14 21:05:51 migration active, transferred 2.1 GiB of 8.0 GiB VM-state, 283.7 MiB/s
2024-04-14 21:05:52 migration active, transferred 2.4 GiB of 8.0 GiB VM-state, 283.7 MiB/s
2024-04-14 21:05:53 migration active, transferred 2.6 GiB of 8.0 GiB VM-state, 274.1 MiB/s
2024-04-14 21:05:54 migration active, transferred 2.8 GiB of 8.0 GiB VM-state, 916.7 MiB/s
2024-04-14 21:05:55 migration active, transferred 3.1 GiB of 8.0 GiB VM-state, 282.5 MiB/s
2024-04-14 21:05:56 migration active, transferred 3.4 GiB of 8.0 GiB VM-state, 256.5 MiB/s
2024-04-14 21:05:57 migration active, transferred 3.6 GiB of 8.0 GiB VM-state, 228.6 MiB/s
2024-04-14 21:05:58 migration active, transferred 3.9 GiB of 8.0 GiB VM-state, 296.8 MiB/s
2024-04-14 21:05:59 migration active, transferred 4.2 GiB of 8.0 GiB VM-state, 286.5 MiB/s
2024-04-14 21:06:00 migration active, transferred 4.4 GiB of 8.0 GiB VM-state, 262.2 MiB/s
2024-04-14 21:06:01 migration active, transferred 4.7 GiB of 8.0 GiB VM-state, 276.3 MiB/s
2024-04-14 21:06:02 migration active, transferred 5.0 GiB of 8.0 GiB VM-state, 281.0 MiB/s
2024-04-14 21:06:03 migration active, transferred 5.2 GiB of 8.0 GiB VM-state, 184.3 MiB/s
2024-04-14 21:06:04 migration active, transferred 5.5 GiB of 8.0 GiB VM-state, 281.0 MiB/s
2024-04-14 21:06:05 migration active, transferred 5.8 GiB of 8.0 GiB VM-state, 281.0 MiB/s
2024-04-14 21:06:06 migration active, transferred 6.0 GiB of 8.0 GiB VM-state, 280.4 MiB/s
2024-04-14 21:06:07 migration active, transferred 6.3 GiB of 8.0 GiB VM-state, 266.1 MiB/s
2024-04-14 21:06:08 migration active, transferred 6.5 GiB of 8.0 GiB VM-state, 288.9 MiB/s
2024-04-14 21:06:09 migration active, transferred 6.8 GiB of 8.0 GiB VM-state, 281.3 MiB/s
2024-04-14 21:06:10 migration active, transferred 7.1 GiB of 8.0 GiB VM-state, 283.4 MiB/s
2024-04-14 21:06:11 migration active, transferred 7.3 GiB of 8.0 GiB VM-state, 179.7 MiB/s
2024-04-14 21:06:14 migration active, transferred 7.4 GiB of 8.0 GiB VM-state, 80.1 MiB/s
2024-04-14 21:06:14 xbzrle: send updates to 24063 pages in 9.5 MiB encoded memory, cache-miss 10.31%, overflow 125
2024-04-14 21:06:14 auto-increased downtime to continue migration: 200 ms
2024-04-14 21:06:16 migration active, transferred 7.4 GiB of 8.0 GiB VM-state, 26.5 MiB/s, VM dirties lots of memory: 63.8 MiB/s
2024-04-14 21:06:16 xbzrle: send updates to 49344 pages in 16.8 MiB encoded memory, cache-miss 23.29%, overflow 235
2024-04-14 21:06:16 auto-increased downtime to continue migration: 400 ms
2024-04-14 21:06:17 migration active, transferred 7.4 GiB of 8.0 GiB VM-state, 48.0 MiB/s, VM dirties lots of memory: 57.8 MiB/s
2024-04-14 21:06:17 xbzrle: send updates to 75489 pages in 25.7 MiB encoded memory, cache-miss 8.85%, overflow 391
2024-04-14 21:06:18 average migration speed: 234.6 MiB/s - downtime 266 ms
2024-04-14 21:06:18 migration status: completed
all 'mirror' jobs are ready
drive-efidisk0: Completing block job_id...
drive-efidisk0: Completed successfully.
drive-scsi0: Completing block job_id...
drive-scsi0: Completed successfully.
all 'mirror' jobs are ready
drive-efidisk0: Completing block job_id...
drive-efidisk0: Completed successfully.
drive-scsi0: Completing block job_id...
drive-scsi0: Completed successfully.
all 'mirror' jobs are ready
drive-efidisk0: Completing block job_id...
drive-efidisk0: Completed successfully.
drive-scsi0: Completing block job_id...
drive-scsi0: Completed successfully.
drive-efidisk0: mirror-job finished
drive-scsi0: mirror-job finished
2024-04-14 21:06:21 stopping NBD storage migration server on target.
2024-04-14 21:06:22 ERROR: tunnel replied 'ERR: resume failed - VM 101 not running' to command 'resume 101'
Logical volume "vm-101-disk-0" successfully removed.
Logical volume "vm-101-disk-1" successfully removed.
2024-04-14 21:06:26 ERROR: migration finished with problems (duration 00:03:45)
TASK ERROR: migration problems
Any ideas on what could be going wrong?