• 【Istio】error initializing configuration '/etc/istio/proxy/envoy-rev0.json': malformed IP address: istio-statsd-prom-bridge


      今天遇到一个问题,istio的组件一直在重启,查看log大概是这个样子

    018-05-03T07:29:49.935580Z     info    Epoch 0 starting
    2018-05-03T07:29:49.936317Z     info    Envoy command: [-c /etc/istio/proxy/envoy-rev0.json --restart-epoch 0 --drain-time-s 45 --parent-shutdown-time-s 60 --service-cluster istio-ingress --service-node ingress~57.144.0.82~istio-ingress-5b8b8669b5-hjqrd.istio-system~istio-system.svc.cluster.local --max-obj-name-len 189 -l info --v2-config-only]
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:188] initializing epoch 0 (hot restart version=9.200.16384.256.options=capacity=16384, num_slots=8209 hash=228984379728933363)
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:190] statically linked extensions:
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:192]   access_loggers: envoy.file_access_log,envoy.http_grpc_access_log
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:195]   filters.http: envoy.buffer,envoy.cors,envoy.ext_authz,envoy.fault,envoy.grpc_http1_bridge,envoy.grpc_json_transcoder,envoy.grpc_web,envoy.gzip,envoy.health_check,envoy.http_dynamo_filter,envoy.ip_tagging,envoy.lua,envoy.rate_limit,envoy.router,envoy.squash,istio_authn,jwt-auth,mixer
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:198]   filters.listener: envoy.listener.original_dst,envoy.listener.proxy_protocol
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:201]   filters.network: envoy.client_ssl_auth,envoy.echo,envoy.ext_authz,envoy.http_connection_manager,envoy.mongo_proxy,envoy.ratelimit,envoy.redis_proxy,envoy.tcp_proxy,mixer
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:203]   stat_sinks: envoy.dog_statsd,envoy.metrics_service,envoy.statsd
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:205]   tracers: envoy.dynamic.ot,envoy.lightstep,envoy.zipkin
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:208]   transport_sockets.downstream: alts,raw_buffer,ssl
    [2018-05-03 07:29:49.973][55][info][main] external/envoy/source/server/server.cc:211]   transport_sockets.upstream: alts,raw_buffer,ssl
    [2018-05-03 07:29:49.980][55][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:217] gRPC config stream closed: 1, 
    [2018-05-03 07:29:49.980][55][warning][upstream] external/envoy/source/common/config/grpc_mux_impl.cc:39] Unable to establish new stream
    [2018-05-03 07:29:49.980][55][info][config] external/envoy/source/server/configuration_impl.cc:52] loading 0 listener(s)
    [2018-05-03 07:29:49.980][55][info][config] external/envoy/source/server/configuration_impl.cc:92] loading tracing configuration
    [2018-05-03 07:29:49.980][55][info][config] external/envoy/source/server/configuration_impl.cc:101]   loading tracing driver: envoy.zipkin
    [2018-05-03 07:29:49.980][55][info][config] external/envoy/source/server/configuration_impl.cc:114] loading stats sink configuration
    [2018-05-03 07:29:49.980][55][critical][main] external/envoy/source/server/server.cc:72] error initializing configuration '/etc/istio/proxy/envoy-rev0.json': malformed IP address: istio-statsd-prom-bridge
    [2018-05-03 07:29:49.981][55][info][main] external/envoy/source/server/server.cc:426] exiting
    2018-05-03T07:29:49.983382Z     warn    Epoch 0 terminated with an error: exit status 1
    2018-05-03T07:29:49.983414Z     warn    Aborted all epochs
    2018-05-03T07:29:49.983463Z     info    Epoch 0: set retry delay to 1m42.4s, budget to 0

      解决方案

       重启Kubernetes集群的dns和每个节点的flannel

    kubectl delete pod -n kube-system kube-dns-*****

      

  • 相关阅读:
    InDesign 2022创建动态电子书和电子杂志
    如何在Mac上使用屏幕共享
    Mac终端程序背景如何设置为透明的?
    使用photoshop2021对有阴影的背光摄影照片进行调色修改
    Sketch如何实现背景局部模糊?
    苹果 macOS Monterey 12.3 开发者预览版 Beta 4 发布
    让Mac程序坞只显示正在运行的应用程序的方法
    Cornerstone 意外退出、打开闪退的解决办法
    windows下清理DNF缓存
    Centos7friewalld报错Failed to start firewalld dynamic firewall daemon
  • 原文地址:https://www.cnblogs.com/yuxiaoba/p/9983963.html
Copyright © 2020-2023  润新知