2.2.5.3. Web 控制台 OpenShift 的常见问题
2.2.5.3.1. executor Pod Throws NoRouteToHostException
当访问 executor pod 日志时,可以看到以下错误:
13:44:03,501 SEVERE [org.jboss.windup.web.messaging.executor.ExecutorBootstrap] (main) Could not start messaging listener due to: Failed to connect to any server. Servers tried: [http-remoting://192.0.2.4:8080 (java.net.NoRouteToHostException: No route to host)]: javax.naming.CommunicationException: Failed to connect to any server. Servers tried: [http-remoting://192.0.2.4:8080 (java.net.NoRouteToHostException: No route to host)] [...]
这意味着:
NoRouteToHostException 表示此 pod 无法连接到 Web 控制台 Pod。
如何解决它:
在新部署中,因为 executor 在 web 控制台前启动。否则,检查 Web 控制台 pod 并解决此处看到的任何错误。成功运行 Web 控制台后,应该可以解决这个错误。