Bug 1947781
| Summary: | Index Management pod TypeError: initial_value must be unicode or None, not str | ||||||
|---|---|---|---|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Anping Li <anli> | ||||
| Component: | Logging | Assignee: | ewolinet | ||||
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> | ||||
| Severity: | urgent | Docs Contact: | |||||
| Priority: | high | ||||||
| Version: | 4.5 | CC: | aos-bugs | ||||
| Target Milestone: | --- | ||||||
| Target Release: | 4.5.z | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2021-04-28 14:15:57 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: | |||||||
| Attachments: |
|
||||||
Created attachment 1770524 [details]
resource files
clusterloging/instance resource file
elasticsearch/elasticsearch resource file
rollover and delete script in configmap indexmanagement-scripts
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 (OpenShift Container Platform 4.5.38 extras update), 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-2021:1303 |
Description of problem: #oc logs elasticsearch-im-app-1617957900-hftsw Traceback (most recent call last): File "<string>", line 5, in <module> TypeError: initial_value must be unicode or None, not str Version-Release number of selected component (if applicable): clusterserviceversion.operators.coreos.com/clusterlogging.4.5.0-202104011927.p0 clusterserviceversion.operators.coreos.com/elasticsearch-operator.4.5.0-202104011927.p0 How reproducible: Always Steps to Reproduce: 1. Deploy/upgrade clusterlogging to 4.5.0-202104011927. #The clusterlogging instance is as below: apiVersion: "logging.openshift.io/v1" kind: "ClusterLogging" metadata: name: "instance" namespace: openshift-logging spec: managementState: "Managed" logStore: retentionPolicy: application: maxAge: 2d infra: maxAge: 2d audit: maxAge: 1w type: "elasticsearch" elasticsearch: nodeCount: 3 resources: limits: memory: 2Gi requests: cpu: 200m memory: 2Gi storage: size: "20G" storageClassName: "standard" redundancyPolicy: "SingleRedundancy" visualization: type: "kibana" kibana: replicas: 1 collection: logs: type: "fluentd" fluentd: {} Acutal result: elasticsearch-im-app-1617957900-hftsw 0/1 Error 0 10m elasticsearch-im-audit-1617957900-wbsxg 0/1 Error 0 10m elasticsearch-im-infra-1617957900-cwmgg 0/1 Error 0 10m $oc logs elasticsearch-im-app-1617957900-hftsw Traceback (most recent call last): File "<string>", line 5, in <module> TypeError: initial_value must be unicode or None, not str