Termix icon indicating copy to clipboard operation
Termix copied to clipboard

Proxmox auto-sync creates duplicate hosts and misses running VMs

Open termix-github-bot[bot] opened this issue 3 weeks ago • 4 comments

What happened?

I'm experiencing issues with the automatic synchronization feature of the Proxmox plugin.

My setup consists of 1 Proxmox cluster with 4 nodes, all configured in Termix.

The automatic synchronization is not working correctly:

  • Duplicate Termix hosts are created for the same VM within the same Proxmox cluster.
  • Some VMs are missing after synchronization.
  • Sometimes, only stopped VMs are synchronized, while running VMs are not detected or imported correctly.
  • The synchronization does not consistently maintain a single Termix host per Proxmox VM.

It appears that the plugin may not correctly identify and match existing VMs when multiple nodes from the same cluster are configured.

Expected behavior: Each VM should appear exactly once in Termix, regardless of which Proxmox node it is running on. Running and stopped VMs should both be detected, and subsequent synchronizations should update existing hosts without creating duplicates.

Actual behavior: Duplicate hosts appear

Steps to reproduce

  1. Set up a Proxmox cluster with 4 nodes.
  2. Add all 4 Proxmox nodes to Termix and configure the Proxmox plugin.
  3. Enable automatic guest synchronization for multiple nodes within the same cluster.
  4. Allow the automatic synchronization to run.
  5. Check the synchronized hosts in Termix.
  6. Observe that some VMs appear multiple times, while others are missing.
  7. In some cases, only stopped VMs are synchronized, while running VMs are not imported.

Expected result: One unique Termix host per Proxmox VM, with all VMs correctly detected.

Actual result: Duplicate hosts and incomplete VM synchronization.

Termix version

26.11.1 / plugins 1.3.0

Platform

Termix Web UI – Proxmox Plugin


[!NOTE] Submitted via the Termix Discord Support Bot Reported by aurelien23 on Discord View Discord thread

termix-github-bot[bot] avatar Nov 12 '26 16:11 termix-github-bot[bot]

Auto-triage

Proxmox auto-sync creates duplicate hosts and misses running VMs when multiple cluster nodes are configured.

Field Value
Type Bug
Difficulty 3/5 (Moderate)
Priority Medium

More info needed: The maintainer needs to know if 'Discover' shows the missing VMs and if there are sync errors.

A maintainer will take a look. If anything above looks wrong, just say so.

termix-triage-bot[bot] avatar Nov 18 '26 03:11 termix-triage-bot[bot]

Thanks. The duplicates came from auto sync running on all four nodes at the same time: each node read the host list while another was still adding guests to it. Proxmox 1.3.1 runs them one after another, so each guest is made once.

For the missing running VMs I need a bit more: when you press Discover on one node in the Proxmox host settings, do those VMs show up in the list? And does the sync status on that host show any errors?

LukeGus avatar Nov 18 '26 04:11 LukeGus

@termix-github-bot[bot] this issue still needs the info asked for above. If nothing is added in the next 7 days it will be closed. You can always reopen it by replying.

termix-triage-bot[bot] avatar Nov 26 '26 02:11 termix-triage-bot[bot]

Closing this since there was no reply to the question above. Reply any time and the issue will be reopened.

termix-triage-bot[bot] avatar Nov 26 '26 02:11 termix-triage-bot[bot]