logs follow option missing in UI occasionally
Some times when a container is loaded, Logs are not streaming in UI. The follow option is also not showing. But it loads the logs after a delay.
In the sametime "oc logs -f
We are using docker 1.9.1 with json-file logging driver
Version
oc v1.4.1 kubernetes v1.4.0+776c994 features: Basic-Auth GSSAPI Kerberos SPNEGO
server
Steps To Reproduce
- Load testing on containers
Current Result
Logs stops streaming on UI
Expected Result
Additional Information
We observers this scenario occasionally during load testing.
If the logs are not yet streaming the follow log link does not appear. In later releases (1.5 I think) we follow the log automatically. So if the concern is that you are having to wait until it starts streaming to follow the log then that should already be resolved. As long as the follow log link appears once the log starts streaming, then this is not a bug.
As far as the delay you are seeing: The cli and the console use the same api but over different transport mechanisms. The console uses websockets. If you are seeing problems with the logs not connecting under load only for the web console, your servers may be running out of available socket connections.
Issues go stale after 90d of inactivity.
Mark the issue as fresh by commenting /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.
Exclude this issue from closing by commenting /lifecycle frozen.
If this issue is safe to close now please do so with /close.
/lifecycle stale
/close