Remote migrate error - Insecure dependency in unlink

jkatz

New Member
Oct 22, 2024
1
0
1
I'm trying to migrate a vm from one cluster to another. The call gets accepted and a 'Migrate' task gets created on the source. It does error out with 'Error: migration problems' A qmtunnel does get created on the target cluster. It spins for a moment and then stops with status=ok.

I checked the task log in the source and get this message:

2024-10-21 20:52:51 Setting up tunnel for '/run/qemu-server/101.migrate'
2024-10-21 20:52:51 ERROR: online migrate failure - failed to write forwarding command - Insecure dependency in unlink while running with -T switch at /usr/share/perl5/PVE/Tunnel.pm line 214, <GEN9693> line 5.
2024-10-21 20:52:51 aborting phase 2 - cleanup resources

If I try it with the VM powered off, then the error message is: 'Error: migration aborted'. Same log entry.

Any idea where to go from here?

Thanks,
jonathan
 
  • Like
Reactions: mashino
Hi @b3nw ,
the fix was applied long ago. It does not depend on the PDM version, but the Proxmox VE version. Make sure your qemu-server package version is at least 8.2.5 on the source node of the migration. You can check with pveversion -v for example.

If the version is new enough, please share more details about your issue, i.e. full task log, versions from source and target node, VM configuration.