这是报错信息

[root@master1 ~]# kubectl logs -f -n istio-system  jaeger-es-index-cleaner-1609170900-v6kl2
/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py:147: UserWarning: When using `ssl_context`, all other SSL related kwargs are ignored
  warnings.warn(
Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 158, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 80, in create_connection
    raise err
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/connection.py", line 70, in create_connection
    sock.connect(sa)
ConnectionRefusedError: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 241, in perform_request
    response = self.pool.urlopen(
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 637, in urlopen
    retries = retries.increment(method, url, error=e, _pool=self,
  File "/usr/local/lib/python3.8/site-packages/urllib3/util/retry.py", line 344, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.8/site-packages/urllib3/packages/six.py", line 686, in reraise
    raise value
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 597, in urlopen
    httplib_response = self._make_request(conn, method, url,
  File "/usr/local/lib/python3.8/site-packages/urllib3/connectionpool.py", line 354, in _make_request
    conn.request(method, url, **httplib_request_kw)
  File "/usr/local/lib/python3.8/http/client.py", line 1230, in request
    self._send_request(method, url, body, headers, encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1276, in _send_request
    self.endheaders(body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1225, in endheaders
    self._send_output(message_body, encode_chunked=encode_chunked)
  File "/usr/local/lib/python3.8/http/client.py", line 1004, in _send_output
    self.send(msg)
  File "/usr/local/lib/python3.8/http/client.py", line 944, in send
    self.connect()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 181, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.8/site-packages/urllib3/connection.py", line 167, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPConnection object at 0x7f8b8d253d90>: Failed to establish a new connection: [Errno 111] Connection refused

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.8/site-packages/curator/utils.py", line 642, in get_indices
    client.indices.get_settings(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/utils.py", line 84, in _wrapped
    return func(*args, params=params, **kwargs)
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/client/indices.py", line 677, in get_settings
    return self.transport.perform_request(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/transport.py", line 351, in perform_request
    status, headers_response, data = connection.perform_request(
  File "/usr/local/lib/python3.8/site-packages/elasticsearch/connection/http_urllib3.py", line 254, in perform_request
    raise ConnectionError("N/A", str(e), e)
elasticsearch.exceptions.ConnectionError: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8b8d253d90>: Failed to establish a new connection: [Errno 111] Connection refused) caused by: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8b8d253d90>: Failed to establish a new connection: [Errno 111] Connection refused)

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/es-index-cleaner/esCleaner.py", line 112, in <module>
    main()
  File "/es-index-cleaner/esCleaner.py", line 30, in main
    ilo = curator.IndexList(client)
  File "/usr/local/lib/python3.8/site-packages/curator/indexlist.py", line 31, in __init__
    self.__get_indices()
  File "/usr/local/lib/python3.8/site-packages/curator/indexlist.py", line 66, in __get_indices
    self.all_indices = utils.get_indices(self.client)
  File "/usr/local/lib/python3.8/site-packages/curator/utils.py", line 653, in get_indices
    raise exceptions.FailedExecution('Failed to get indices. Error: {0}'.format(e))
curator.exceptions.FailedExecution: Failed to get indices. Error: ConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8b8d253d90>: Failed to establish a new connection: [Errno 111] Connection refused) causedby: NewConnectionError(<urllib3.connection.HTTPConnection object at 0x7f8b8d253d90>: Failed to establish a new connection: [Errno 111] Connection refused)
[root@master1 ~]#
[root@master1 ~]# kubectl get cc -oyaml -n kubesphere-system | grep servicemesh: -C 2
    persistence:
      storageClass: ""
    servicemesh:
      enabled: true
  status:
--
      enabledTime: 2020-12-19T18:07:36CST
      status: enabled
    servicemesh:
      enabledTime: 2020-12-19T18:12:35CST
      status: enabled
[root@master1 ~]# kubectl -n istio-system get pod
NAME                                       READY   STATUS    RESTARTS   AGE
istio-citadel-db964f79b-7rwxt              1/1     Running   1          14h
istio-galley-54967df754-6dzg8              1/1     Running   0          14h
istio-ingressgateway-7859866c8f-vn9v9      1/1     Running   0          14h
istio-pilot-664f84444b-l4nrh               2/2     Running   0          14h
istio-policy-67fd95df4f-5lqzh              2/2     Running   3          14h
istio-sidecar-injector-79d8675f79-s6mnk    1/1     Running   1          14h
istio-telemetry-7cb8ff57b8-gf6ps           2/2     Running   3          14h
jaeger-collector-7d8fb79d9b-jrmsr          1/1     Running   5          14h
jaeger-es-index-cleaner-1609170900-5qkmn   0/1     Error     0          77m
jaeger-es-index-cleaner-1609170900-jms5v   0/1     Error     0          11h
jaeger-es-index-cleaner-1609170900-pv9rc   0/1     Error     0          76m
jaeger-es-index-cleaner-1609170900-v6kl2   0/1     Error     0          76m
jaeger-operator-5c9b697cd8-ldx8w           1/1     Running   1          14h
jaeger-query-6f4fbc8fff-9fgk4              2/2     Running   5          14h
  • Jeff 回复了此帖