gyptazy / ProxLB

ProxLB - (Re)Balance VM Workloads Across Nodes in Proxmox Clusters. A Load Balancer for Proxmox - and more!
https://proxlb.de
GNU General Public License v3.0
139 stars 6 forks source link

`Bug`: VM tags may be present on VMs that do not have this tag anymore #11

Open gyptazy opened 2 months ago

gyptazy commented 2 months ago

General

The new feature https://github.com/gyptazy/ProxLB/issues/3 has been merged and also works as expected in the most cases. However, there seems to be a bug in the Proxmox API, where old tags of VMs suddenly come up again. Those tags are not more visible in the UI but may come up out of sudden when gathering via API requests.

Issue

Here, only two machines have a group tag assignment of plb_include_ai01 but the API sometimes returns more (which were systems in the past which also had this tag assigned). In the web interface it is clearly visible that only the two systems have the tag. On the right site, an API request for the tags is done, where sometimes more VMs are being returned than expected.

Video

Task