Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-2440

[loki-operator] Live tail of logs does not work on OpenShift

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • OBSDA-7 - Adopting Loki as an alternative to Elasticsearch to support more lightweight, easier to manage/operate storage scenarios
    • VERIFIED
    • Before this update, the Loki operator had a certificate issue in one of it's components, which caused live tailing of logs to fail in environments with TLS enbaled. With this update, live tailing works on TLS enabled environments.
    • Logging (LogExp) - Sprint 217, Logging (LogExp) - Sprint 218, Logging (LogExp) - Sprint 219, Logging (LogExp) - Sprint 220, Log Storage - Sprint 221, Log Storage - Sprint 222

      The "live tailing" function of Loki works correctly on a LokiStack deployed on kind, but it does not work on a LokiStack deployed on OCP.

      Grafana reports the following error:

      Live tailing was stopped due to following error: undefined 

      logcli reports this error:

      Tailing logs failed: Error response from server:  (websocket: bad handshake) 

      This seems to be related to the issue that the components have TLS enabled when deployed on OCP, while this is disabled in the "development" configuration.

            rh-ee-mbouqsim Mohamed-Amine Bouqsimi (Inactive)
            rojacob@redhat.com Robert Jacob
            Anping Li Anping Li
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: