Tag colour and order not retaining override colour or order

stephenvr

Renowned Member
Aug 30, 2013
5
0
66
I've changed the default tag colour style. When I assign the style to the VM the colour is correct but if I refresh the browser page the colours change to the default colours. If I log out of the management interface and log back in, the colours are correct according to the override colours but if I refresh the browser again, the colours default back to the default colours. The order of the tags also change to default. Ordering is set to Configuration. I've tried different browsers and using incognito mode.

Before browser refresh
pxmx_tags_override.png

After browser refresh
pxmx_tags.png
 
Hi, I've been experiencing the same issue on two independent machines since Proxmox VE 9.0.9 (117b893e0e6a4fee). Sometimes it is inconsistent and doesn't affect all VMs, with some retaining some or all custom settings. They also sometimes change randomly without refreshing the page.

As can be seen in my screenshot, tags with the same label have different colors across VMs, with the first two containers respecting the custom tags, and the rest of them using the default colors and order.

patch-no-username-small.jpg
 
Last edited:
the first issue with reload etc. i could imagine how they could happen, but the second one with the same tag i can't imagine how that would happen if the tags are really the same (so no whitespace, case difference,etc) but anyway, both are bugs, would you mind opening a bug for each problem ?
 
the first issue with reload etc. i could imagine how they could happen, but the second one with the same tag i can't imagine how that would happen if the tags are really the same (so no whitespace, case difference,etc) but anyway, both are bugs, would you mind opening a bug for each problem ?
Thanks for the info. Will report the bug.
 
Same problem here on version 8.4.13. It was fine in an older version. So it's not only a bug on version 9!!
 
Last edited:
I think that this bug start happen after upgrade of pve-manager, before upgrade to 8.4.13 this not happened. In changelog to 8.4.13 there is "
* ui: resource tree: various performance imrpovement for the main resource
tree, making initial load, updates and scrolling significantly more
responsive on setups with thousands of virtual guests.
"
After upgrade and refresh browser i lost proper tag colors (i also have problem that sometimes that same tag have different coloers, one defined one default).
If I do some action on machine, ex. set lock, powerdown, poweron then tag color is set to defined. Refresh browser and tags color backs to mormal.
 
  • Like
Reactions: HWAM
ah ok, if that version is the culprit, then I think the cause of the bug(s) should already be fixed in git by this commit: https://git.proxmox.com/?p=pve-manager.git;a=commitdiff;h=c2e2559d2176062c44aab9fc934f67f047ac585b
it's not yet bumped/packaged yet for the 8.4 branch but if some of you could test this commit, it could accelerate a new package version
I've applied the patch you linked to my instance as can be seen in my screenshot and unfortunately, the issue persists. I tested using both Safari and Google Chrome, and deleted all caches and browsing data prior to testing.

It may be worth noting that the colors are only wrong in the side view, but displayed correctly in the VM details, which should rule out whitespaces or case difference being the cause of the inconsistencies, as those should then affect the VM view as well.

patch-no-username.jpg
 
Last edited:
ok thanks for testing, then i'll continue looking for the culprit
 
  • Like
Reactions: garnoux
I can confirm this Issue on my Side aswell.

In an Incognito Tab in Firefox and Safari it seems to work initially, but reloading the Page via F5 or CTRL + Shift + R leads to the Tag Issue!


PVE-Version:
Code:
proxmox-ve: 8.4.0 (running kernel: 6.8.12-15-pve)
pve-manager: 8.4.14 (running version: 8.4.14/b502d23c55afcba1)
proxmox-kernel-helper: 8.1.4
pve-kernel-6.2: 8.0.5
proxmox-kernel-6.8: 6.8.12-15
proxmox-kernel-6.8.12-15-pve-signed: 6.8.12-15
proxmox-kernel-6.8.12-14-pve-signed: 6.8.12-14
proxmox-kernel-6.5.13-6-pve-signed: 6.5.13-6
proxmox-kernel-6.5: 6.5.13-6
proxmox-kernel-6.2.16-20-pve: 6.2.16-20
proxmox-kernel-6.2: 6.2.16-20
pve-kernel-6.2.16-3-pve: 6.2.16-3
ceph: 19.2.2-pve1~bpo12+2
ceph-fuse: 19.2.2-pve1~bpo12+2
corosync: 3.1.9-pve1
criu: 3.17.1-2+deb12u2
glusterfs-client: 10.3-5
ifupdown2: 3.2.0-1+pmx11
ksm-control-daemon: 1.5-1
libjs-extjs: 7.0.0-5
libknet1: 1.30-pve2
libproxmox-acme-perl: 1.6.0
libproxmox-backup-qemu0: 1.5.2
libproxmox-rs-perl: 0.3.5
libpve-access-control: 8.2.2
libpve-apiclient-perl: 3.3.2
libpve-cluster-api-perl: 8.1.2
libpve-cluster-perl: 8.1.2
libpve-common-perl: 8.3.4
libpve-guest-common-perl: 5.2.2
libpve-http-server-perl: 5.2.2
libpve-network-perl: 0.11.2
libpve-rs-perl: 0.9.4
libpve-storage-perl: 8.3.7
libspice-server1: 0.15.1-1
lvm2: 2.03.16-2
lxc-pve: 6.0.0-1
lxcfs: 6.0.0-pve2
novnc-pve: 1.6.0-2
proxmox-backup-client: 3.4.6-1
proxmox-backup-file-restore: 3.4.6-1
proxmox-backup-restore-image: 0.7.0
proxmox-firewall: 0.7.1
proxmox-kernel-helper: 8.1.4
proxmox-mail-forward: 0.3.3
proxmox-mini-journalreader: 1.5
proxmox-widget-toolkit: 4.3.13
pve-cluster: 8.1.2
pve-container: 5.3.3
pve-docs: 8.4.1
pve-edk2-firmware: 4.2025.02-4~bpo12+1
pve-esxi-import-tools: 0.7.4
pve-firewall: 5.1.2
pve-firmware: 3.16-3
pve-ha-manager: 4.0.7
pve-i18n: 3.4.5
pve-qemu-kvm: 9.2.0-7
pve-xtermjs: 5.5.0-2
qemu-server: 8.4.3
smartmontools: 7.3-pve1
spiceterm: 3.3.1
swtpm: 0.8.0+pve1
vncterm: 1.8.1
zfsutils-linux: 2.2.8-pve1
 
Last edited:
I have also seen this behaviour recently. I then noticed that changing the sidebar view mode results in the expected tag colours being applied.
 
  • Like
Reactions: cpulove
I agree with keeka that changing the side view from server view to folder view and back again temporarily fixes the tag colors, however refreshing the web page (i.e. ctrl-r) will break those tag colors again...

I'm using PVE version 8.4.14 in my home lab and thought I'd be clever and try to manually edit the ResourceTree.js file (as per below), but alas... I searched the filesystem for this file and couldn't find it anywhere, which is probably a good thing :) - little knowledge is dangerous...

I guess I'll just wait for the commit to be pushed through to my version of PVE...

Cheers!

1759213260050.png
 
  • Like
Reactions: cpulove
I'm using PVE version 8.4.14 in my home lab and thought I'd be clever and try to manually edit the ResourceTree.js file (as per below), but alas... I searched the filesystem for this file and couldn't find it anywhere, which is probably a good thing :) - little knowledge is dangerous...
IIRC, it's located within `/usr/share/pve-manager/js/pvemanagerlib.js`.
 
I had this for a brief moment as well after updating to 8.4.14. When changing to 'Folder view' the tag colors reverted to default scheme and in 'Server view' it was working fine. On a side note - in the Datacenter Manager (PDM), I can see that it's using the default color schema and this doesn't seem to be changeable.