Bug 1702544
Summary: | Elasticsearch failed to start due to invalid cert date if hosts have non-UTC timezone | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Kenjiro Nakayama <knakayam> |
Component: | Logging | Assignee: | Noriko Hosoi <nhosoi> |
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 3.11.0 | CC: | aos-bugs, jcantril, nhosoi, rmeggins |
Target Milestone: | --- | ||
Target Release: | 3.11.z | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: When OpenShift Nodes's timezone is not set to UTC, the current non-UTC timestamp is used for the NotBefore checking.
Consequence: If the timezone is ahead of UTC, the NotBefore checking fails.
Fix: Regardless of the nodes' timezone, getting the UTC timestamp and set it to "startdate" in the certificates.
Result: No more failure due to the non-UTC current timestamp.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2019-06-26 09:08: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
Kenjiro Nakayama
2019-04-24 05:38:17 UTC
The es pod can be started in openshift3/ose-logging-elasticsearch5:v3.11.117 timedatectl status Local time: Thu 2019-06-13 15:59:19 CST Universal time: Thu 2019-06-13 07:59:19 UTC RTC time: Thu 2019-06-13 07:59:19 Time zone: Asia/Shanghai (CST, +0800) 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:1605 |