Bug 1655881
| Summary: | The default SSL Env wasn't set in curator | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> |
| Component: | Logging | Assignee: | ewolinet |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 4.1.0 | CC: | aos-bugs, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 4.1.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: |
undefined
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-06-04 10:41:04 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
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 |
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: