[ZBX-18944] Kubernetes Volumes discovery fails Created: 2021 Jan 29 Updated: 2024 Apr 10 Resolved: 2021 Nov 08 |
|
Status: | Closed |
Project: | ZABBIX BUGS AND ISSUES |
Component/s: | Server (S) |
Affects Version/s: | 5.0.7, 5.0.8 |
Fix Version/s: | 6.0.0alpha6, 6.0 (plan) |
Type: | Problem report | Priority: | Minor |
Reporter: | Patrick Remy | Assignee: | Michael Veksler |
Resolution: | Fixed | Votes: | 0 |
Labels: | templates, triggers, trivial | ||
Remaining Estimate: | Not Specified | ||
Time Spent: | Not Specified | ||
Original Estimate: | Not Specified | ||
Environment: |
Linux Debian 10 |
Attachments: |
![]() ![]() |
||||||||
Issue Links: |
|
||||||||
Team: | |||||||||
Sprint: | Sprint 82 (Nov 2021) | ||||||||
Story Points: | 0.25 |
Description |
Steps to reproduce:
Result: PVCs are not discovered, as trigger creation fails. „Cannot create trigger: value "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-cb944255-a513-4efc-b2b1-342c3cb36347/globalmount: Disk space is critically low (used > {$VFS.FS.PUSED.MAX.CRIT:"/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-cb944255-a513-4efc-b2b1-342c3cb36347/globalmount"}%)" is too long.” Expected: |
Comments |
Comment by Patrick Remy [ 2021 Jan 29 ] |
See https://git.zabbix.com/projects/ZBX/repos/zabbix/browse/src/zabbix_server/lld/lld_trigger.c#2226-2227 for specific code lines. Is there a way to extend `field_len`? Current workaround is to delete the (used > {$VFS.FS.PUSED.MAX.CRIT) from all trigger templates names, to shorten it enough. |
Comment by Aigars Kadikis [ 2021 Feb 01 ] |
Can reproduce it with 5.0.8 backend whit LLD data: [ { "{#FSNAME}": "/var/lib/kubelet/plugins/kubernetes.io/csi/pv/pvc-cb944255-a513-4efc-b2b1-342c3cb36347/globalmount", "{#FSTYPE}": "rootfs" } ] Attaching dummy-lld-embeded.xml |
Comment by Michael Veksler [ 2021 Oct 29 ] |
The length of DB field triggers.description has been increased to 2048 in 6.0.0alpha4(master) |
Comment by Michael Veksler [ 2021 Nov 05 ] |
Available in:
|
Comment by Frank [ 2022 Jun 08 ] |
This appears to still be an issue in Zabbix 6.0.4: Cannot create trigger: value "/hostfs/root/var/lib/kubelet/pods/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/volumes/kubernetes.io~csi/pvc-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx/mount: Disk space is low (used > {$VFS.FS.PUSED.MAX.WARN:"/hostfs/root/var/lib/kubelet/pods/xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx/volumes/kubernetes.io~csi/pvc-xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxxx"}%)" is too long. |
Comment by Jeff [ 2023 Oct 05 ] |
This is still a problem in 6.4.7.. |