Hide Forgot
Description of problem: There are not default values for $ES_CA, $ES_CLIENT_KEY and $ES_CLIENT_CERT when the curator are deployed by cluster-logging-operator. the curator pod go into error. Version-Release number of selected component (if applicable): openshift/ose-cluster-logging-operator/images/v4.0.0-0.79.0.0" How reproducible: always Steps to Reproduce: 1. deploy logging by cluster-logging-operator EXCLUSIONS="10-service-monitor-fluentd.yaml 05-deployment.yaml image-references" cluster-logging-operator/hack/deploy-setup.sh oc create -f cluster-logging-operator/05-deployment.yaml -n openshift-logging oc create -f cluster-logging-operator/cluster-logging-operator/hack/examples/cr.yaml 2. set the curator interval 10 minute {"spec":{"curation":{"curator":{"schedule": "10/ * * * *"}}}} 3. Enable Debug Mode oc set env cronjob/curator CURATOR_LOG_LEVEL=debug oc set env cronjob/curator CURATOR_SCRIPT_LOG_LEVEL=debug 4. Waiting 10 minutes, and show the container logs Actual results: #oc logs curator-1543904400-npvkl + result=000 + [[ 000 -eq 200 ]] + sleep 1 + (( i++ )) + (( i<=60 )) ++ curl --cacert --key --cert -s -w '%{http_code}' -XGET https://elasticsearch:9200/ -o /dev/null % Total % Received % Xferd Average Speed Time Time Time Current Dload Upload Total Spent Left Speed 0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0curl: (77) Problem with the SSL CA cert (path? access rights?) Expected results: There are default values for $ES_CA, $ES_CLIENT_KEY and $ES_CLIENT_CERT Additional info:
https://github.com/openshift/cluster-logging-operator/pull/51
Pass with quay.io/openshift/origin-cluster-logging-operator@sha256:fd5ecd8523e55e3371f88f0a793715532deb38a553cd47dc413f488e3e7db4a2
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758