Bug 1677454
| Summary: | "openshift_logging_curator_run_timezone" is not implemented in CronJob template of Curator5 on v3.11 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Daein Park <dapark> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | medium | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 3.11.0 | CC: | anli, aos-bugs, mburke, rmeggins |
| Target Milestone: | --- | ||
| Target Release: | 3.11.z | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-15 05:44:06 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: | |||
|
Description
Daein Park
2019-02-15 01:07:49 UTC
Between 3.10 and 3.11 we switched from custom implementation of cron to official k8s cronjob controller. Run hour and run minute are no longer environmental variables of the pod, but are part of the cronjob configuration. https://github.com/openshift/openshift-ansible/blob/master/roles/openshift_logging_curator/tasks/main.yaml#L92 Kubernetes cronjob controller uses timezone of the host, which is why we don't configure it directly from curator playbook any more. As documented in https://github.com/openshift/origin-aggregated-logging/tree/master/curator#compatibility-with-openshift-37 @Daein Park, please wait for https://github.com/openshift/openshift-ansible/pull/11211 to merge and then close this bz. Thank you for providing the correction of this BZ @Josef, I misunderstood to be required both "ansible playbooks" and "curator config" for configuration of run time, because the source code and logic of runtime env has been still remained now. Let me please make clear whether or not update or remove the related source code in future for suppressing confusing. If you're remained intentionally the codes, then we would record the causes here for others. And it also would be required to update the documentation parts. Docs change PR: https://github.com/openshift/openshift-docs/pull/13758 Verified and pass, the openshift_logging_curator_run_timezone was removed Can this BZ be closed? (In reply to Michael Burke from comment #11) > Can this BZ be closed? This BZ has been marked as RELEASE_PENDING for months now - what's up? A couple of bugs in this status. Ticket files to RCM. This should have been closed due to errata shipping. Closing now. |