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

Re: Unable to access route: 503



You *should* be able to run oc logs NAME --previous in that scenario to grab the latest logs if they exist.  If you try that and are unable to access them, please open a bug.

On Nov 26, 2015, at 11:06 AM, Philippe Lafoucrière <philippe lafoucriere tech-angels com> wrote:


On Thu, Nov 26, 2015 at 10:06 AM, Fernando Lozano <flozano redhat com> wrote:
oc logs <podname> will give you the same as docker logs from the node.

But the app inside the container has to send all logs to stdout/stderr.
If not you have to oc exec into the pod and them inspect the app log files.

Theoretically, yes.
but when a pod doesn't start, the container is a non running mode, meaning os can't fetch the logs.
I've seen that many times in the last days.
Either you can do that command in loop hoping to luckily arrive when the container is starting, otherwise you're screwed, and have to fetch docker logs directly ;)

_______________________________________________
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]