Persistent VNC Port Conflict Issue During VM Migration in Proxmox Cluster

Dear Proxmox Team,

I am writing to report a persistent issue we are experiencing with VNC port conflicts during VM migration within our Proxmox cluster environment. This problem significantly impacts our operations, and we believe it warrants a permanent solution.


**Issue Description:**
While attempting to migrate VM (ID: 103362) from one node to another within our Proxmox cluster, we consistently encounter the following error message:


Code:
()
2024-06-21 14:40:46 starting migration of VM 103362 to node 'prx01' (10.55.1.20)
2024-06-21 14:40:46 found local disk 'local-lvm:vm-103362-dmczidgxd4pwKwOo-qcjjPvlazF3SFoul' (attached)
2024-06-21 14:40:46 starting VM 103362 on remote node 'prx01'
2024-06-21 14:40:50 [prx01] kvm: -vnc 0.0.0.0:4,password=on: Failed to find an available port: Address already in use
2024-06-21 14:40:50 [prx01] start failed: QEMU exited with code 1
2024-06-21 14:40:50 ERROR: online migrate failure - remote command failed with exit code 255
2024-06-21 14:40:50 aborting phase 2 - cleanup resources
2024-06-21 14:40:50 migrate_cancel
2024-06-21 14:40:52 ERROR: migration finished with problems (duration 00:00:07)
TASK ERROR: migration problems


**Current Workaround:**

To temporarily resolve this issue, we manually check and configure VNC ports to avoid conflicts before initiating the migration process. While this workaround helps in specific instances, it is not a sustainable or scalable solution, especially in environments with frequent VM migrations.


**Request for Permanent Solution:**

Given the critical nature of this issue, we strongly urge the Proxmox development team to implement a permanent fix. Specifically, we recommend the following:

1. **Automatic VNC Port Management:** Enhance Proxmox to automatically detect and assign available VNC ports during VM migration, preventing conflicts.


**Conclusion:**

This issue disrupts our operations and undermines the efficiency of our virtualized environment. We believe that implementing these improvements will greatly enhance the reliability and user experience of Proxmox.

We appreciate your attention to this matter and look forward to a timely resolution.

Thank you for your support.

Best regards,
 

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!