Summary: | storageClass definition in clusterlogging cr not honored - EmptyDir is used. | ||||||
---|---|---|---|---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | Mike Fiedler <mifiedle> | ||||
Component: | Logging | Assignee: | ewolinet | ||||
Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> | ||||
Severity: | high | Docs Contact: | |||||
Priority: | unspecified | ||||||
Version: | 4.1.0 | CC: | aos-bugs, ekuric, ewolinet, jcantril, rmeggins | ||||
Target Milestone: | --- | ||||||
Target Release: | 4.1.0 | ||||||
Hardware: | x86_64 | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | Doc Type: | No Doc Update | |||||
Doc Text: |
undefined
|
Story Points: | --- | ||||
Clone Of: | Environment: | ||||||
Last Closed: | 2019-06-04 10:42:02 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: | |||||
Attachments: |
|
Description
Mike Fiedler
2019-01-17 21:00:15 UTC
Created attachment 1521373 [details]
resource definitions and pod logs
I was following the doc here for the storage definition: https://github.com/openshift/cluster-logging-operator/blob/master/docs/configuration.md Per @ewolinet, I also tried: logStore: elasticsearch: storage: storageClassName: gp2 size: 10Gi type: elasticsearch and the hybrid of the two: logStore: elasticsearch: storage: storageClass: storageClassName: gp2 size: 10Gi type: elasticsearch But, the results were the same - the values were overwritten with storage: {}. I believe Eric saw the same behavior when he tested it as well. Verified with upstream - waiting for official OCP images. Verified on 4.0-art-latest-2019-01-25-045028 logStore: elasticsearch: nodeCount: 3 redundancyPolicy: SingleRedundancy resources: {} storage: storageClassName: gp2 size: 50G type: elasticsearch 3 PVCs created with gp2 storageclass and used as /elasticsearch/persistent in the pod 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 |