charts
charts copied to clipboard
Adding promtail to syslog-ng fails
App Name
syslog-ng
SCALE Version
22.02.1
App Version
3.36.1_1.0.19
Application Events
2022-05-28 14:07:23
Applied LoadBalancer DaemonSet ix-syslog/svclb-syslog-syslog-ng-syslog-udp
2022-05-28 14:07:23
Applied LoadBalancer DaemonSet ix-syslog/svclb-syslog-syslog-ng
2022-05-28 14:07:23
Applied LoadBalancer DaemonSet ix-syslog/svclb-syslog-syslog-ng-syslog-tls
2022-05-28 14:07:51
Started container syslog-syslog-ng
2022-05-28 14:07:51
Created container syslog-syslog-ng
2022-05-28 14:07:50
Successfully pulled image "tccr.io/truecharts/syslog-ng:v3.36.1@sha256:7b8d18e31faad631d519c5a8f10bd711ff4fd5862830a6a61b3f1c47ab05da0f" in 11.76965844s
2022-05-28 14:07:38
Pulling image "tccr.io/truecharts/syslog-ng:v3.36.1@sha256:7b8d18e31faad631d519c5a8f10bd711ff4fd5862830a6a61b3f1c47ab05da0f"
2022-05-28 14:07:38
Started container hostpatch
2022-05-28 14:07:38
Created container hostpatch
2022-05-28 14:07:36
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-05-28 14:07:35
LoadBalancer Ingress IP addresses updated: 192.168.7.2
2022-05-28 14:07:35
LoadBalancer Ingress IP addresses updated: 192.168.7.2
2022-05-28 14:07:35
Started container autopermissions
2022-05-28 14:07:35
LoadBalancer Ingress IP addresses updated: 192.168.7.2
2022-05-28 14:07:35
Created container autopermissions
2022-05-28 14:07:34
Started container lb-tcp-6514
2022-05-28 14:07:34
Started container lb-udp-5514
2022-05-28 14:07:34
Created container lb-tcp-6514
2022-05-28 14:07:34
Started container lb-tcp-6601
2022-05-28 14:07:33
Created container lb-udp-5514
2022-05-28 14:07:33
Created container lb-tcp-6601
2022-05-28 14:07:32
Container image "ghcr.io/truecharts/alpine:v3.15.2@sha256:29ed3480a0ee43f7af681fed5d4fc215516abf1c41eade6938b26d8c9c2c7583" already present on machine
2022-05-28 14:07:32
Add eth0 [172.16.0.66/16] from ix-net
2022-05-28 14:07:30
Container image "rancher/klipper-lb:v0.3.4" already present on machine
2022-05-28 14:07:30
Container image "rancher/klipper-lb:v0.3.4" already present on machine
2022-05-28 14:07:30
Container image "rancher/klipper-lb:v0.3.4" already present on machine
2022-05-28 14:07:30
Add eth0 [172.16.0.65/16] from ix-net
2022-05-28 14:07:30
Add eth0 [172.16.0.64/16] from ix-net
2022-05-28 14:07:30
Add eth0 [172.16.0.63/16] from ix-net
Successfully assigned ix-syslog/syslog-syslog-ng-5d5bbd9b94-758pp to ix-truenas
2022-05-28 14:07:26
Successfully provisioned volume pvc-d85ea754-cf6a-4ff4-9538-26d0cbdcb9b4
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
Successfully assigned ix-syslog/svclb-syslog-syslog-ng-5wsvt to ix-truenas
Successfully assigned ix-syslog/svclb-syslog-syslog-ng-syslog-udp-sm95p to ix-truenas
Successfully assigned ix-syslog/svclb-syslog-syslog-ng-syslog-tls-bz6xm to ix-truenas
0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
2022-05-28 14:07:23
Created pod: svclb-syslog-syslog-ng-syslog-tls-bz6xm
2022-05-28 14:07:23
Created pod: svclb-syslog-syslog-ng-5wsvt
2022-05-28 14:07:23
Created pod: svclb-syslog-syslog-ng-syslog-udp-sm95p
2022-05-28 14:07:23
Created pod: syslog-syslog-ng-5d5bbd9b94-758pp
2022-05-28 14:07:23
Scaled up replica set syslog-syslog-ng-5d5bbd9b94 to 1
2022-05-28 14:07:23
External provisioner is provisioning volume for claim "ix-syslog/syslog-syslog-ng-config"
2022-05-28 14:07:23
waiting for a volume to be created, either by external provisioner "zfs.csi.openebs.io" or manually created by system administrator
Application Logs
2022-05-28T18:07:51.943977207Z syslog-ng: Error setting capabilities, capability management disabled; error='Operation not permitted'
2022-05-28T18:07:52.000733200Z [2022-05-28T18:07:52.000623] You have a TLS enabled source without a X.509 keypair. Make sure you have tls(key-file() and cert-file()) options, TLS handshake to this source will fail; location='/etc/syslog-ng/syslog-ng.conf:21:2'
Application Configuration
Promtail Loki URL http://loki.ix-loki.svc.cluster.local:3100/ Name loki Path /var/syslog
Describe the bug
Error: [EFAULT] Failed to update chart release: Error: UPGRADE FAILED: template: syslog-ng/templates/common.yaml:1:3: executing "syslog-ng/templates/common.yaml" at < include "common.all" . >: error calling include: template: syslog-ng/charts/common/templates/_all.tpl:9:6: executing "common.all" at : error calling include: template: syslog-ng/charts/common/templates/_postSetup.tpl:20:8: executing "common.postSetup" at : error calling include: template: syslog-ng/charts/common/templates/addons/promtail/_promtail.tpl:14:20: executing "common.addon.promtail" at : error calling include: template: syslog-ng/charts/common/templates/addons/promtail/_configmap.tpl:26:19: executing "common.addon.promtail.configmap" at <.name>: can't evaluate field name in type interface {}
To Reproduce
Go to application configuration for syslog-ng, click promtail, enter in required information.
Expected Behavior
Promtail should be set up on the requested application
Screenshots
None
Additional Context
Followed the guide here for linking promtail https://truecharts.org/manual/Quick-Start%20Guides/06-linking-apps/
I've read and agree with the following
- [X] I've checked all open and closed issues and my issue is not there.
@tire-fire You are aware that our Loki implementation already includes a promtail instance for all app and host logs for TrueNAS SCALE?
I didn't know how that worked. I want to get syslog events from my OPNSense system. I thought I would need a syslog server that has promtail to get the logs from it.
How would that work?
I didn't know how that worked. I want to get syslog events from my OPNSense system. I thought I would need a syslog server that has promtail to get the logs from it.
How would that work?
No idea really... We just build installers.
But you are correct, that error shouldn't be there (tm).
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.
This issue is locked to prevent necro-posting on closed issues. Please create a new issue or contact staff on discord of the problem persists