Skip to content

fluentd pods crashing specified cert path does not exist:/var/run/ocp-collector/secrets/openshift-logforwarding-splunk/ca-bundle.crt" #2

@walidshaari

Description

@walidshaari

Hi Andrew,

I follow your README file, installed the local splunk, however when I try to deploy the openshift-logforwarding-splunk

helm upgrade -i --namespace=openshift-logging openshift-logforwarding-splunk charts/openshift-logforwarding-splunk/ --set forwarding.splunk.token=4a8a737d-5452-426c-a6f7-106dca4e813f

fluentd pods start crashing loop and I get the error "specified cert path does not exist:/var/run/ocp-collector/secrets/openshift-logforwarding-splunk/ca-bundle.crt" so I thought maybe I am not using the right value so I specify the values.yaml file using -f option, same error, I do not do upgrade, but I uninstall and deploy

helm upgrade -i --namespace=openshift-logging openshift-logforwarding-splunk charts/openshift-logforwarding-splunk/ -f charts/openshift-logforwarding-splunk/values.yaml --set forwarding.splunk.token=4a8a737d-5452-426c-a6f7-106dca4e813f 

then I use both -f and --set

helm upgrade -i --namespace=openshift-logging openshift-logforwarding-splunk charts/openshift-logforwarding-splunk/ -f charts/openshift-logforwarding-splunk/values.yaml --set forwarding.splunk.token=4a8a737d-5452-426c-a6f7-106dca4e813f  --set forwarding.fluentd.caFile=./charts/openshift-logforwarding-splunk/files/default-openshift-logging-fluentd.crt
#oc logs fluentd-4s9xl

2020-08-11 06:54:28 +0000 [error]: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="specified cert path does not exist:/var/run/ocp-collector/secrets/openshift-logforwarding-splunk/ca-bundle.crt"

# oc logs fluentd-mx548

2020-08-11 14:10:27 +0000 [error]: config error file="/etc/fluent/fluent.conf" error_class=Fluent::ConfigError error="specified cert path does not exist:/var/run/ocp-collector/secrets/openshift-logforwarding-splunk/ca-bundle.crt"

confession: I have not read your book yet, I promise I will do soon, any hints where I have gone wrong?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions