opencord / voltha-helm-charts

Apache License 2.0
8 stars 5 forks source link

voltha-infra-kafka-0 CrashLoopBackOff #4

Open yeChina opened 2 years ago

yeChina commented 2 years ago

[2022-02-21 09:06:40,278] ERROR Unable to resolve address: voltha-infra-zookeeper:2181 (org.apache.zookeeper.client.StaticHostProvider) java.net.UnknownHostException: voltha-infra-zookeeper: Temporary failure in name resolution at java.base/java.net.Inet4AddressImpl.lookupAllHostAddr(Native Method) at java.base/java.net.InetAddress$PlatformNameService.lookupAllHostAddr(InetAddress.java:929) at java.base/java.net.InetAddress.getAddressesFromNameService(InetAddress.java:1515) at java.base/java.net.InetAddress$NameServiceAddresses.get(InetAddress.java:848) at java.base/java.net.InetAddress.getAllByName0(InetAddress.java:1505) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1364) at java.base/java.net.InetAddress.getAllByName(InetAddress.java:1298) at org.apache.zookeeper.client.StaticHostProvider$1.getAllByName(StaticHostProvider.java:92) at org.apache.zookeeper.client.StaticHostProvider.resolve(StaticHostProvider.java:147) at org.apache.zookeeper.client.StaticHostProvider.next(StaticHostProvider.java:375) at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1137) [2022-02-21 09:06:40,398] INFO Session: 0x0 closed (org.apache.zookeeper.ZooKeeper) [2022-02-21 09:06:40,398] INFO EventThread shut down for session: 0x0 (org.apache.zookeeper.ClientCnxn) [2022-02-21 09:06:40,402] INFO [ZooKeeperClient Kafka server] Closed. (kafka.zookeeper.ZooKeeperClient) [2022-02-21 09:06:40,406] ERROR Fatal error during KafkaServer startup. Prepare to shutdown (kafka.server.KafkaServer) kafka.zookeeper.ZooKeeperClientTimeoutException: Timed out waiting for connection while in state: CONNECTING at kafka.zookeeper.ZooKeeperClient.$anonfun$waitUntilConnected$3(ZooKeeperClient.scala:262) at kafka.zookeeper.ZooKeeperClient.waitUntilConnected(ZooKeeperClient.scala:258) at kafka.zookeeper.ZooKeeperClient.(ZooKeeperClient.scala:119) at kafka.zk.KafkaZkClient$.apply(KafkaZkClient.scala:1881) at kafka.server.KafkaServer.createZkClient$1(KafkaServer.scala:441) at kafka.server.KafkaServer.initZkClient(KafkaServer.scala:466) at kafka.server.KafkaServer.startup(KafkaServer.scala:233) at kafka.server.KafkaServerStartable.startup(KafkaServerStartable.scala:44) at kafka.Kafka$.main(Kafka.scala:82) at kafka.Kafka.main(Kafka.scala) [2022-02-21 09:06:40,407] INFO shutting down (kafka.server.KafkaServer) [2022-02-21 09:06:40,416] INFO App info kafka.server for 0 unregistered (org.apache.kafka.common.utils.AppInfoParser) [2022-02-21 09:06:40,417] INFO shut down completed (kafka.server.KafkaServer) [2022-02-21 09:06:40,417] ERROR Exiting Kafka. (kafka.server.KafkaServerStartable) [2022-02-21 09:06:40,419] INFO shutting down (kafka.server.KafkaServer)

Use default operations Do me a favor

yeChina commented 2 years ago

I have no name!@voltha-infra-zookeeper-0:/etc$ cat hosts

Kubernetes-managed hosts file.

127.0.0.1 localhost ::1 localhost ip6-localhost ip6-loopback fe00::0 ip6-localnet fe00::0 ip6-mcastprefix fe00::1 ip6-allnodes fe00::2 ip6-allrouters 10.244.0.161 voltha-infra-zookeeper-0.voltha-infra-zookeeper-headless.infra.svc.cluster.local voltha-infra-zookeeper-0

I have no name!@voltha-infra-zookeeper-0:/etc$ ls -l hosts -rw-r--r-- 1 root root 302 Feb 21 03:40 hosts

i dont konw how to do?