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

Re: Unable to access route: 503



Hi Den,


Two restarts from the wordpress pod smells trouble with the app itself.

Anyway you can check the service definition is correct by oc get pod and them oc describe pod wordpress-xxxx (whatever you see in oc get pod). Check if the pod has a label name=wordpress. I guess it should be ok as the service as one Endpoint.

10.1.0.11 should be your wordpress-xxxx pod IP address (from oc describe pod). Try to connect directly to that pod address, instead of the route. This should work from any node or from the master. You can use curl or elinks if you do not have GUI on those hosts.

If connecting directly to the pod works, try connecting to the service ip address (172.30.117.249)

Sorry I am giving only general troubleshooring steps, and sorry if those are already known to you.


[]s, Fernando Lozano


[centos ip]$ oc get pods
NAME        READY     STATUS    RESTARTS   AGE
mysql       1/1       Running   0          1d
wordpress   1/1       Running   2          1d



[centos ip]$ oc describe service wpfrontend
Name:            wpfrontend
Namespace:        wordpress
Labels:            name=wpfrontend
Selector:        name=wordpress
Type:            LoadBalancer
IP:            172.30.117.249
Port:            <unnamed>    5055/TCP
NodePort:        <unnamed>    32200/TCP
Endpoints:        10.1.0.11:80
Session Affinity:    None
No events.


From: philippe lafoucriere tech-angels com
Date: Thu, 26 Nov 2015 08:30:46 -0500
Subject: Re: Unable to access route: 503
To: dencowboy hotmail com
CC: flozano redhat com; users lists openshift redhat com

"No server available to handle the request."

Could you show your associated service?
Are you sure the pod are in a running state, without restarting repeatedly?
Finally, do you use readiness/liveness probes? (if your pods are running, but not considered as "ready", the LB won't use them, and therefore, "No server available to handle the request." :))


_______________________________________________
users mailing list
users lists openshift redhat com
http://lists.openshift.redhat.com/openshiftmm/listinfo/users


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