Bug 1835083
| Summary: | Curator and indexmanagement pods can't connect to elasticsearch after upgrade logging from 4.4 to 4.5 | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | Qiaoling Tang <qitang> |
| Component: | Logging | Assignee: | Jeff Cantrill <jcantril> |
| Status: | CLOSED ERRATA | QA Contact: | Anping Li <anli> |
| Severity: | high | Docs Contact: | |
| Priority: | urgent | ||
| Version: | 4.5 | CC: | anli, aos-bugs, igor.tiunov, jcantril, periklis, rheinzma |
| Target Milestone: | --- | ||
| Target Release: | 4.6.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | No Doc Update | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-10-27 15:58:59 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: | |||
| Bug Depends On: | |||
| Bug Blocks: | 1843564 | ||
@Qiaoling Tang The index management cronjobs should connect now properly. The curator is not an issue, because it will be retried after elasticsearch initialization is done. If you see it happening though please open a new ticket to separate the fixes and the tests. Curator and IndexManagement operate independently. The logging was upgraded to 4.5 using the workaround to 1841832 (Deleted the networkpolicy and delete the infra-write and app-write indices during the upgrade').
The curator and rollover pods still couldn't talk with ES clusters.
curator-1591002600-c67tr 0/1 Error 0 5m15s
elasticsearch-cdm-4ojr1ygf-1-5b894f774f-6cz8d 2/2 Running 0 69m
elasticsearch-cdm-4ojr1ygf-2-555fc57976-xtdw9 2/2 Running 0 69m
elasticsearch-cdm-4ojr1ygf-3-b8bd58695-44m7c 2/2 Running 0 69m
elasticsearch-delete-app-1591002900-77pcd 0/1 Completed 0 12s
elasticsearch-delete-audit-1591002900-jnrgc 0/1 Completed 0 12s
elasticsearch-delete-infra-1591002900-rqfmf 0/1 Completed 0 12s
elasticsearch-rollover-app-1591002900-4c29d 0/1 Error 0 12s
elasticsearch-rollover-audit-1591002900-mskdf 0/1 Error 0 12s
elasticsearch-rollover-infra-1591002900-qtnfw 0/1 Error 0 12s
#oc logs curator-1591002600-c67tr
Traceback (most recent call last):
File "/opt/app-root/src/lib/oalconverter/convert.py", line 18, in <module>
from ruamel import yaml
ModuleNotFoundError: No module named 'ruamel'
Usage: curator [OPTIONS] ACTION_FILE
Error: Invalid value for "action_file": Path "/opt/app-root/src/actions.yaml" does not exist.
$ oc logs curator-1591002600-c67tr
Traceback (most recent call last):
File "/opt/app-root/src/lib/oalconverter/convert.py", line 18, in <module>
from ruamel import yaml
ModuleNotFoundError: No module named 'ruamel'
Usage: curator [OPTIONS] ACTION_FILE
Error: Invalid value for "action_file": Path "/opt/app-root/src/actions.yaml" does not exist.
[anli@preserve-docker-slave U95734]$ oc logs^C
[anli@preserve-docker-slave U95734]$ oc logs elasticsearch-rollover-app-1591002900-4c29d
+++ echo eyJjb25kaXRpb25zIjp7Im1heF9hZ2UiOiIxaCIsIm1heF9kb2NzIjoxMjI4ODAsIm1heF9zaXplIjoiMTIwZ2IifX0=
+++ base64 -d
++ decoded='{"conditions":{"max_age":"1h","max_docs":122880,"max_size":"120gb"}}'
++++ cat /var/run/secrets/kubernetes.io/serviceaccount/token
+++ curl 'https://elasticsearch:9200/app-write/_rollover?pretty' -w '%{response_code}' -sv --cacert /etc/indexmanagement/keys/admin-ca -HContent-Type:application/json -XPOST '-HAuthorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjF6RFJua0daQmVoWVphNUdQZEc2bF9HbUVqNldUZVlMYllIeEpCaWM2OEEifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJvcGVuc2hpZnQtbG9nZ2luZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJlbGFzdGljc2VhcmNoLXRva2VuLTd6MnRkIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6ImVsYXN0aWNzZWFyY2giLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI2ZDA1Y2RiMy0wNjJiLTRkODMtOWIxYS00N2U4OTlhYzQ2ZjciLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6b3BlbnNoaWZ0LWxvZ2dpbmc6ZWxhc3RpY3NlYXJjaCJ9.fOpV-T1s6eC3AviZUpoZrmmSuhorT8VR6PFAEthJ3V4sazC3o6BDOOYHZKk6cZcNSypyR9keY8UAqTU3DlvOsRucrTcDTlpw_PLzIbz4TV_wEulRo5DkopQICpVjF78r01hVYnkXzZaFwnLG2fYXaKTl0qgdyUVS0WAQgq_OzZWE_1UU0VRemXFDXQmgs-bVDpCu8sK59QfkiwYmtQfgGDIAc32kwBuV05Xk6YDbDeTR2Rom5ZwzI642S5lYl4p4ROH8fXT4vIiyQ7kHQL3PHLXlN6O-M1otCXpZRitUEMhcg_gRgRkh25TrvuYJuSOJSYIzBKxTrzYCGN7sTQY79g' -o /tmp/response.txt -d '{"conditions":{"max_age":"1h","max_docs":122880,"max_size":"120gb"}}'
* About to connect() to elasticsearch port 9200 (#0)
* Trying 172.30.203.210...
* Connected to elasticsearch (172.30.203.210) port 9200 (#0)
* Initializing NSS with certpath: sql:/etc/pki/nssdb
* CAfile: /etc/indexmanagement/keys/admin-ca
CApath: none
* NSS: client certificate not found (nickname not specified)
* SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384
* Server certificate:
* subject: CN=logging-es,OU=OpenShift,O=Logging
* start date: Jun 01 01:16:02 2020 GMT
* expire date: Jun 01 01:16:02 2022 GMT
* common name: logging-es
* issuer: CN=openshift-cluster-logging-signer
> POST /app-write/_rollover?pretty HTTP/1.1
> User-Agent: curl/7.29.0
> Host: elasticsearch:9200
> Accept: */*
> Content-Type:application/json
> Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6IjF6RFJua0daQmVoWVphNUdQZEc2bF9HbUVqNldUZVlMYllIeEpCaWM2OEEifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJvcGVuc2hpZnQtbG9nZ2luZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJlbGFzdGljc2VhcmNoLXRva2VuLTd6MnRkIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6ImVsYXN0aWNzZWFyY2giLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiI2ZDA1Y2RiMy0wNjJiLTRkODMtOWIxYS00N2U4OTlhYzQ2ZjciLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6b3BlbnNoaWZ0LWxvZ2dpbmc6ZWxhc3RpY3NlYXJjaCJ9.fOpV-T1s6eC3AviZUpoZrmmSuhorT8VR6PFAEthJ3V4sazC3o6BDOOYHZKk6cZcNSypyR9keY8UAqTU3DlvOsRucrTcDTlpw_PLzIbz4TV_wEulRo5DkopQICpVjF78r01hVYnkXzZaFwnLG2fYXaKTl0qgdyUVS0WAQgq_OzZWE_1UU0VRemXFDXQmgs-bVDpCu8sK59QfkiwYmtQfgGDIAc32kwBuV05Xk6YDbDeTR2Rom5ZwzI642S5lYl4p4ROH8fXT4vIiyQ7kHQL3PHLXlN6O-M1otCXpZRitUEMhcg_gRgRkh25TrvuYJuSOJSYIzBKxTrzYCGN7sTQY79g
> Content-Length: 68
>
} [data not shown]
* upload completely sent off: 68 out of 68 bytes
< HTTP/1.1 401 Unauthorized
< content-type: text/plain; charset=UTF-8
< content-length: 29
<
{ [data not shown]
* Connection #0 to host elasticsearch left intact
++ code=401
++ '[' 401 == 200 ']'
++ cat /tmp/response.txt
Authentication finally failed++ exit 1
@Anping Looking on the curl requests of your last comment, I realize that you are not using the latest version of elasticsearch-operator including the fix: https://github.com/openshift/elasticsearch-operator/commit/c02c8b69600cbe042df54bd884503cbdb60730dd @Periklis,
No, the fix had been merged.
{
"License": "GPLv2+",
"architecture": "x86_64",
"build-date": "2020-05-30T16:15:16.417113",
"com.redhat.build-host": "cpt-1001.osbs.prod.upshift.rdu2.redhat.com",
"com.redhat.component": "elasticsearch-operator-container",
"com.redhat.delivery.appregistry": "false",
"com.redhat.license_terms": "https://www.redhat.com/en/about/red-hat-end-user-license-agreements",
"description": "This is the component that manages an Elasticsearch cluster on a kubernetes based platform",
"distribution-scope": "public",
"io.k8s.description": "This is the component that manages an Elasticsearch cluster on a kubernetes based platform",
"io.k8s.display-name": "OpenShift elasticsearch-operator",
"io.openshift.build.commit.id": "9852c6b88d045647b40044a0d302b4462bab0deb",
"io.openshift.build.commit.url": "https://github.com/openshift/elasticsearch-operator/commit/9852c6b88d045647b40044a0d302b4462bab0deb",
"io.openshift.build.source-location": "https://github.com/openshift/elasticsearch-operator",
"io.openshift.maintainer.component": "Logging",
"io.openshift.maintainer.product": "OpenShift Container Platform",
"io.openshift.tags": "openshift,logging,elasticsearch",
"maintainer": "AOS Logging <aos-logging>",
"name": "openshift/ose-elasticsearch-operator",
"release": "202005301517",
"summary": "Provides the latest release of the Red Hat Universal Base Image 7.",
"url": "https://access.redhat.com/containers/#/registry.access.redhat.com/openshift/ose-elasticsearch-operator/images/v4.5.0-202005301517",
"vcs-ref": "73b7316edc320fb5796255a002ee8f90265c4f07",
"vcs-type": "git",
"vendor": "Red Hat, Inc.",
"version": "v4.5.0"
}
The elasticsearch-delete- pod work. curator and elasticsearch-rollover failed
curator-1591157400-6gdbs 0/1 Error 0 6m45s
elasticsearch-cdm-knaloezd-1-7bbdf76f85-z2pqv 2/2 Running 0 22m
elasticsearch-cdm-knaloezd-2-5d9d75f6fb-qs7gc 2/2 Running 0 22m
elasticsearch-cdm-knaloezd-3-86dd567d7-b2vlz 2/2 Running 0 22m
elasticsearch-delete-app-1591157700-4gmcl 0/1 Completed 0 112s
elasticsearch-delete-audit-1591157700-tm2lh 0/1 Completed 0 112s
elasticsearch-delete-infra-1591157700-jlhmg 0/1 Completed 0 112s
elasticsearch-rollover-app-1591157700-5l9rh 0/1 Error 0 112s
elasticsearch-rollover-audit-1591157700-sm7rm 0/1 Error 0 112s
elasticsearch-rollover-infra-1591157700-78mpt 0/1 Error 0 112s
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.6 GA Images), 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-2020:4196 |
Description of problem: Deploy logging 4.4, then upgrade logging from 4.4 to 4.5, all the curator and index management pods are in Error status: $ oc get pod NAME READY STATUS RESTARTS AGE cluster-logging-operator-d857bb6db-2fjrr 1/1 Running 0 30m curator-1589333400-7vl4w 0/1 Completed 0 56m curator-1589335200-rg5z2 0/1 Error 0 26m elasticsearch-cdm-m2j2lxw9-1-596649ffc8-nrz5k 2/2 Running 0 29m elasticsearch-cdm-m2j2lxw9-2-78787b64cf-vvwvk 2/2 Running 0 26m elasticsearch-cdm-m2j2lxw9-3-74d7bd8db4-n9fbf 2/2 Running 0 24m elasticsearch-delete-app-1589336100-vg46f 0/1 Error 0 11m elasticsearch-delete-audit-1589336100-9mqhr 0/1 Error 0 11m elasticsearch-delete-infra-1589336100-7694k 0/1 Error 0 11m elasticsearch-rollover-app-1589336100-7cc4s 0/1 Error 0 11m elasticsearch-rollover-audit-1589336100-hz4jz 0/1 Error 0 11m elasticsearch-rollover-infra-1589336100-pdgdz 0/1 Error 0 11m fluentd-8dvgn 1/1 Running 0 27m fluentd-q89wn 1/1 Running 0 29m fluentd-r57cg 1/1 Running 0 27m fluentd-sfvhg 1/1 Running 0 29m fluentd-t2bdg 1/1 Running 0 28m fluentd-xf9mm 1/1 Running 0 26m kibana-6ff5c8d8f-s5tgq 2/2 Running 0 65m $ oc logs curator-1589335200-rg5z2 2020-05-13 02:00:17,460 INFO Found curator configuration in [/etc/curator/settings/config.yaml] 2020-05-13 02:00:17,474 INFO Converting config file. Traceback (most recent call last): File "/usr/bin/curator", line 9, in <module> load_entry_point('elasticsearch-curator==5.2.0', 'console_scripts', 'curator')() File "/usr/lib/python2.7/site-packages/click/core.py", line 722, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/core.py", line 697, in main rv = self.invoke(ctx) File "/usr/lib/python2.7/site-packages/click/core.py", line 895, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python2.7/site-packages/click/core.py", line 535, in invoke return callback(*args, **kwargs) File "/usr/lib/python2.7/site-packages/curator/cli.py", line 211, in cli run(config, action_file, dry_run) File "/usr/lib/python2.7/site-packages/curator/cli.py", line 158, in run client = get_client(**client_args) File "/usr/lib/python2.7/site-packages/curator/utils.py", line 800, in get_client 'Error: {0}'.format(e) elasticsearch.exceptions.ElasticsearchException: Unable to create client connection to Elasticsearch. Error: TransportError(503, u'Open Distro not initialized') $ oc logs elasticsearch-rollover-app-1589336100-7cc4s +++ echo eyJjb25kaXRpb25zIjp7Im1heF9hZ2UiOiI4aCIsIm1heF9kb2NzIjoxMjI4ODAsIm1heF9zaXplIjoiMTIwZ2IifX0= +++ base64 -d ++ decoded='{"conditions":{"max_age":"8h","max_docs":122880,"max_size":"120gb"}}' ++++ cat /var/run/secrets/kubernetes.io/serviceaccount/token +++ curl 'https://elasticsearch:9200/app-write/_rollover?pretty' -w '%{response_code}' -sv --cacert /etc/indexmanagement/keys/admin-ca -HContent-Type:application/json -XPOST '-HAuthorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InNqRFR2NXhoeHNocFB5WnVpQjNUTFZDSTRFZmJQY1gteGxSS3c4bXBnRXMifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJvcGVuc2hpZnQtbG9nZ2luZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJlbGFzdGljc2VhcmNoLXRva2VuLXpsNTVxIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6ImVsYXN0aWNzZWFyY2giLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJmOGY0YTVmNi04ZGY3LTQ4NzQtYjQ1Ny00ZjNhNzIxNjRkMzAiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6b3BlbnNoaWZ0LWxvZ2dpbmc6ZWxhc3RpY3NlYXJjaCJ9.KCzRKnTaIPaNQjaStjbq1fKc2VfAB5BLtv4Qif9h8bB40HPoH72NSFNnFJQMNlpZdYnzZV8zqK_9bOI4EXnsioL8NkW5-YB3hHq3OROFZ1g6d2T1vQQM-I8MerXm_ELMc80XmSn-ugtEWOUXXBnRzRFcVjyuljFWxq_YDOcQW2t_bvlvESqaQrzF-nhkjKst6xrmbfOr0CvjRDdNOWSA3gz1hZ72RWkIl325PCkAaxO5BZ7XvnQNG0nyi42bDiacWxDh9S-YbzJTR4umFQnKaUSV9hqctS_X5XTVSW9yPGxX_RVDSQ3MVVyGB9IjnASS3MWfWea4hAKfDjeW5pZjOQ' -o /tmp/response.txt -d '{"conditions":{"max_age":"8h","max_docs":122880,"max_size":"120gb"}}' * About to connect() to elasticsearch port 9200 (#0) * Trying 172.30.202.177... * Connected to elasticsearch (172.30.202.177) port 9200 (#0) * Initializing NSS with certpath: sql:/etc/pki/nssdb * CAfile: /etc/indexmanagement/keys/admin-ca CApath: none * NSS: client certificate not found (nickname not specified) * SSL connection using TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 * Server certificate: * subject: CN=logging-es,OU=OpenShift,O=Logging * start date: May 13 00:26:17 2020 GMT * expire date: May 13 00:26:17 2022 GMT * common name: logging-es * issuer: CN=openshift-cluster-logging-signer > POST /app-write/_rollover?pretty HTTP/1.1 > User-Agent: curl/7.29.0 > Host: elasticsearch:9200 > Accept: */* > Content-Type:application/json > Authorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InNqRFR2NXhoeHNocFB5WnVpQjNUTFZDSTRFZmJQY1gteGxSS3c4bXBnRXMifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJvcGVuc2hpZnQtbG9nZ2luZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJlbGFzdGljc2VhcmNoLXRva2VuLXpsNTVxIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6ImVsYXN0aWNzZWFyY2giLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJmOGY0YTVmNi04ZGY3LTQ4NzQtYjQ1Ny00ZjNhNzIxNjRkMzAiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6b3BlbnNoaWZ0LWxvZ2dpbmc6ZWxhc3RpY3NlYXJjaCJ9.KCzRKnTaIPaNQjaStjbq1fKc2VfAB5BLtv4Qif9h8bB40HPoH72NSFNnFJQMNlpZdYnzZV8zqK_9bOI4EXnsioL8NkW5-YB3hHq3OROFZ1g6d2T1vQQM-I8MerXm_ELMc80XmSn-ugtEWOUXXBnRzRFcVjyuljFWxq_YDOcQW2t_bvlvESqaQrzF-nhkjKst6xrmbfOr0CvjRDdNOWSA3gz1hZ72RWkIl325PCkAaxO5BZ7XvnQNG0nyi42bDiacWxDh9S-YbzJTR4umFQnKaUSV9hqctS_X5XTVSW9yPGxX_RVDSQ3MVVyGB9IjnASS3MWfWea4hAKfDjeW5pZjOQ > Content-Length: 68 > } [data not shown] * upload completely sent off: 68 out of 68 bytes < HTTP/1.1 401 Unauthorized < content-type: text/plain; charset=UTF-8 < content-length: 29 < { [data not shown] * Connection #0 to host elasticsearch left intact ++ code=401 ++ '[' 401 == 200 ']' ++ cat /tmp/response.txt Authentication finally failed++ exit 1 $ oc logs elasticsearch-delete-app-1589336100-vg46f ++++ cat /var/run/secrets/kubernetes.io/serviceaccount/token +++ curl -s 'https://elasticsearch:9200/app-*/_alias/app-write' --cacert /etc/indexmanagement/keys/admin-ca '-HAuthorization: Bearer eyJhbGciOiJSUzI1NiIsImtpZCI6InNqRFR2NXhoeHNocFB5WnVpQjNUTFZDSTRFZmJQY1gteGxSS3c4bXBnRXMifQ.eyJpc3MiOiJrdWJlcm5ldGVzL3NlcnZpY2VhY2NvdW50Iiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9uYW1lc3BhY2UiOiJvcGVuc2hpZnQtbG9nZ2luZyIsImt1YmVybmV0ZXMuaW8vc2VydmljZWFjY291bnQvc2VjcmV0Lm5hbWUiOiJlbGFzdGljc2VhcmNoLXRva2VuLXpsNTVxIiwia3ViZXJuZXRlcy5pby9zZXJ2aWNlYWNjb3VudC9zZXJ2aWNlLWFjY291bnQubmFtZSI6ImVsYXN0aWNzZWFyY2giLCJrdWJlcm5ldGVzLmlvL3NlcnZpY2VhY2NvdW50L3NlcnZpY2UtYWNjb3VudC51aWQiOiJmOGY0YTVmNi04ZGY3LTQ4NzQtYjQ1Ny00ZjNhNzIxNjRkMzAiLCJzdWIiOiJzeXN0ZW06c2VydmljZWFjY291bnQ6b3BlbnNoaWZ0LWxvZ2dpbmc6ZWxhc3RpY3NlYXJjaCJ9.KCzRKnTaIPaNQjaStjbq1fKc2VfAB5BLtv4Qif9h8bB40HPoH72NSFNnFJQMNlpZdYnzZV8zqK_9bOI4EXnsioL8NkW5-YB3hHq3OROFZ1g6d2T1vQQM-I8MerXm_ELMc80XmSn-ugtEWOUXXBnRzRFcVjyuljFWxq_YDOcQW2t_bvlvESqaQrzF-nhkjKst6xrmbfOr0CvjRDdNOWSA3gz1hZ72RWkIl325PCkAaxO5BZ7XvnQNG0nyi42bDiacWxDh9S-YbzJTR4umFQnKaUSV9hqctS_X5XTVSW9yPGxX_RVDSQ3MVVyGB9IjnASS3MWfWea4hAKfDjeW5pZjOQ' -HContent-Type:application/json ++ writeIndices='Authentication finally failed' +++ cat ++ CMD='import json,sys r=json.load(sys.stdin) alias="app-write" indices = [index for index in r if r[index]['\''aliases'\''][alias]['\''is_write_index'\'']] if len(indices) > 0: print indices[0] ' +++ python -c 'import json,sys r=json.load(sys.stdin) alias="app-write" indices = [index for index in r if r[index]['\''aliases'\''][alias]['\''is_write_index'\'']] if len(indices) > 0: print indices[0] ' +++ echo 'Authentication finally failed' Traceback (most recent call last): File "<string>", line 2, in <module> File "/usr/lib64/python2.7/json/__init__.py", line 290, in load **kw) File "/usr/lib64/python2.7/json/__init__.py", line 338, in loads return _default_decoder.decode(s) File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode obj, end = self.raw_decode(s, idx=_w(s, 0).end()) File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode raise ValueError("No JSON object could be decoded") ValueError: No JSON object could be decoded ++ writeIndex= Version-Release number of selected component (if applicable): logging 4.4: 4.4.0-202005120551 logging 4.5 images are from 4.5.0-0.ci-2020-05-12-205117 4.5 manifests are copied from master branch. How reproducible: Always Steps to Reproduce: 1. deploy logging 4.4 2. upgrade logging to 4.5 3. check curator/index management pods status Actual results: Expected results: Additional info: Fluentd could connect to ES after upgrade to 4.5. No this issue when deploy logging 4.5