[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Node routing does not work



Hi,

We added a new node to our open shift installation, after deploying a application we discovered that the routing to the node is not working we get the following error 

Not Found

The requested URL / was not found on this server.


After some investigation we found that the service open shift-node-web-proxy is not working, the following error 

[root node-dev-eu-std-03 fedora]# systemctl status openshift-node-web-proxy
openshift-node-web-proxy.service - OpenShift Node Web Routing Proxy
   Loaded: loaded (/usr/lib/systemd/system/openshift-node-web-proxy.service; enabled)
   Active: active (running) since Wed 2014-09-10 14:55:12 UTC; 12s ago
 Main PID: 500 (node)
   CGroup: name=systemd:/system/openshift-node-web-proxy.service
           └─500 /usr/bin/node /usr/lib/node_modules/openshift-node-web-proxy/bin/web-proxy.js --config /etc/openshift/web-proxy-config.json

Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912870:INFO:[10/Sep/2014:14:55:12 0000] - Creating protocol server for secure_http_proxy
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912874:INFO:[10/Sep/2014:14:55:12 0000] - Creating websocket server for secure_http_proxy
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912875:INFO:[10/Sep/2014:14:55:12 0000] - Initialized ProxyServer
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912875:INFO:[10/Sep/2014:14:55:12 0000] - Starting protocol servers for: nonsecure_http_proxy,secure_http_proxy
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912875:INFO:[10/Sep/2014:14:55:12 0000] - Starting protocol handler for nonsecure_http_proxy ...
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912880:INFO:[10/Sep/2014:14:55:12 0000] - Starting protocol handler for secure_http_proxy ...
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912881:INFO:[10/Sep/2014:14:55:12 0000] - secure_http_proxy listening on undefined:8000
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912881:INFO:[10/Sep/2014:14:55:12 0000] - secure_http_proxy listening on undefined:8443
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912895:ERROR:[10/Sep/2014:14:55:12 0000] - Failed to load routes from file '/var/lib/openshift/.httpd.d/routes.json - Error: Cannot find module '/var/lib/openshift/.httpd.d/routes.json'
Sep 10 14:55:12 node-dev-eu-std-03.infra.planoncloud.com node[500]: 1410360912896:INFO:[10/Sep/2014:14:55:12 0000] - Routing information was reloaded

The file is correct en is there but can not be read
The file contains :

{"halara003-proddev.planoncloud.com":{"endpoints":["127.10.102.1:18070"],"limits":{"connections":5,"bandwidth":100}}}


Any idea's

Met vriendelijke groet / Yours sincerely / Mit freundlichen Grüßen / Très cordialement,

 

Henk Laracker

Lead architect / Planon cloud center manager



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]