Can Someone please help me with Issue in VM migration between Proxmox nodes?

elija6266

New Member
Apr 9, 2024
2
1
1
Hello there,

I am encountering an issue with VM migration between Proxmox nodes and I am hoping to get some assistance.

I have a setup with two Proxmox nodes (let's call them Node1 and Node2) connected to a shared storage. When I try to migrate a running VM from Node1 to Node2 using the Proxmox web interface, the migration fails with the following error message: "Migration failed: internal error: unable to execute QEMU command 'migrate': Device 'pci-bridge' is in use by driver 'vfio-pci'."

I have checked the logs on both nodes and it seems that the issue is related to the vfio-pci driver. The VM that I'm trying to migrate has a PCI device passed through using vfio-pci. I suspect that this might be causing the conflict during migration.

Also, I have taken help from this: https://forum.proxmox.com/threads/migration-failure-between-two-tableau.96499/ which definitely helped me out a lot.

Has anyone else encountered a similar issue with VM migration involving PCI passthrough devices?

Is there a workaround or solution to allow VM migration in this scenario?

Thankyou in advance for your help and assistance.
 
With a VM that has a PCI passthrough, the VM is then immediately HW centric, i.e.: it uses a piece of the physical host's HW. The physical PCI is for sure not migratable, (maybe with DHL!).

The only way to enable the migration (workaround) is to first remove the PCI passthrough from the VM & then migrate.

Wiki here.
 
  • Like
Reactions: Kingneutron

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!