{"action":"created","issue":{"url":"https://api.github.com/repos/strimzi/strimzi/issues/336","repository_url":"https://api.github.com/repos/strimzi/strimzi","labels_url":"https://api.github.com/repos/strimzi/strimzi/issues/336/labels{/name}","comments_url":"https://api.github.com/repos/strimzi/strimzi/issues/336/comments","events_url":"https://api.github.com/repos/strimzi/strimzi/issues/336/events","html_url":"https://github.com/strimzi/strimzi/issues/336","id":308941448,"number":336,"title":"java.net.NoRouteToHostException: No route to host","user":{"login":"maropak","id":25895833,"avatar_url":"https://avatars3.githubusercontent.com/u/25895833?v=4","gravatar_id":"","url":"https://api.github.com/users/maropak","html_url":"https://github.com/maropak","followers_url":"https://api.github.com/users/maropak/followers","following_url":"https://api.github.com/users/maropak/following{/other_user}","gists_url":"https://api.github.com/users/maropak/gists{/gist_id}","starred_url":"https://api.github.com/users/maropak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maropak/subscriptions","organizations_url":"https://api.github.com/users/maropak/orgs","repos_url":"https://api.github.com/users/maropak/repos","events_url":"https://api.github.com/users/maropak/events{/privacy}","received_events_url":"https://api.github.com/users/maropak/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":9,"created_at":"2018-03-27T12:09:16Z","updated_at":"2018-03-27T17:59:04Z","closed_at":null,"author_association":"NONE","body":"Hi,\r\nI have received \r\n\r\n_WARN Session 0x0 for server null, unexpected error, closing socket connection and attempting reconnect (org.apache.zookeeper.ClientCnxn)\r\njava.net.NoRouteToHostException: No route to host\r\n        at sun.nio.ch.SocketChannelImpl.checkConnect(Native Method)\r\n        at sun.nio.ch.SocketChannelImpl.finishConnect(SocketChannelImpl.java:717)\r\n        at org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:361)\r\n        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1141)_\r\n\r\nWhen I wanted take topics list from Kafka docker container using \r\n\r\n./kafka-topics.sh --list --zookeeper 172.30.28.101:2181\r\nwhere 172.30.28.101 is MY_CLUSTER_KAFKA_PORT_9091_TCP_ADDR\r\n\r\nIn my-cluster-kafka-0 I have in logs \r\n\r\n_ERROR [KafkaApi-0] Number of alive brokers '1' does not meet the required replication factor '3' for the offsets topic (configured via 'offsets.topic.replication.factor'). This error can be ignored if the cluster is starting up and not all brokers are up yet._\r\n\r\nBecause my openshift instance has only one node (but in ephemeral-template.yaml I have set KAFKA_NODE_COUNT=3) - **is at least 3 nodes required ?**\r\n\r\nPreviously I also set vertx.disableFileCPResolving=true, because I had exception during kafka/zookeeper start , so maybe it cause problem ?\r\n\r\n_Exception in thread \"main\" java.lang.IllegalStateException: Failed to create cache dir\r\n\tat io.vertx.core.impl.FileResolver.setupCacheDir(FileResolver.java:299)\r\n\tat io.vertx.core.impl.FileResolver.<init>(FileResolver.java:92)\r\n\tat io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:185)\r\n\tat io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:144)\r\n\tat io.vertx.core.impl.VertxImpl.<init>(VertxImpl.java:140)\r\n\tat io.vertx.core.impl.VertxFactoryImpl.vertx(VertxFactoryImpl.java:34)\r\n\tat io.vertx.core.Vertx.vertx(Vertx.java:82)\r\n\tat io.strimzi.controller.topic.Main.deploy(Main.java:38)\r\n\tat io.strimzi.controller.topic.Main.run(Main.java:33)\r\n\tat io.strimzi.controller.topic.Main.main(Main.java:26)_\r\n\r\nThanks for help\r\n"},"comment":{"url":"https://api.github.com/repos/strimzi/strimzi/issues/comments/376618350","html_url":"https://github.com/strimzi/strimzi/issues/336#issuecomment-376618350","issue_url":"https://api.github.com/repos/strimzi/strimzi/issues/336","id":376618350,"user":{"login":"maropak","id":25895833,"avatar_url":"https://avatars3.githubusercontent.com/u/25895833?v=4","gravatar_id":"","url":"https://api.github.com/users/maropak","html_url":"https://github.com/maropak","followers_url":"https://api.github.com/users/maropak/followers","following_url":"https://api.github.com/users/maropak/following{/other_user}","gists_url":"https://api.github.com/users/maropak/gists{/gist_id}","starred_url":"https://api.github.com/users/maropak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/maropak/subscriptions","organizations_url":"https://api.github.com/users/maropak/orgs","repos_url":"https://api.github.com/users/maropak/repos","events_url":"https://api.github.com/users/maropak/events{/privacy}","received_events_url":"https://api.github.com/users/maropak/received_events","type":"User","site_admin":false},"created_at":"2018-03-27T17:59:04Z","updated_at":"2018-03-27T17:59:04Z","author_association":"NONE","body":"I'm using current master, but can switch to 0.2.0 and check there.\r\nI will check master with -Dvertx.cacheDirBase=/tmp and let you know.\r\n\r\nThanks for help"}}
{"actor":{"display_login":"maropak"}}