Uploaded image for project: 'Observability Documentation'
  1. Observability Documentation
  2. OBSDOCS-891

Recommended storage technology for Loki Logging storage

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • None
    • Logging 6.0, Logging 6.1, Logging 6.2, Logging 6.3, logging 6.4
    • Logging
    • 5
    • False
    • Hide

      None

      Show
      None
    • False
    • 5
    • Moderate

      Issue 1

      In section Scalability and performance > Scalability and performance optimization > Recommended configurable storage technology is present the Table 2. Recommended and configurable storage technology is said for Loki:

      Storage Type Block                     File                        Object              
      Loki Logging Not configurable Not configurable Recommended

      This information is not correct. Loki needs two different kind of storage:

      • permanent storage: must have object storage
      • temporary storage: must have and it can be Block (recommended) or File (Configurable, but not recommended per performance issues)

      Issue 2

      In the section https://docs.redhat.com/en/documentation/openshift_container_platform/4.21/html/scalability_and_performance/scalability-and-performance-optimization#logging is said:

      Loki Operator:

      The preferred storage technology is S3 compatible Object storage.

      Block storage is not configurable

      As indicated in Issue 1 this aseveration is not correct as:

      • For permanent storage is mandatory to have available S3 compatible Object storage.
      • For temporary storage is recommended to use Block storage. File storage is Configurable, but not recommended because of performance issues and could lead to corrupt the data

      Issue 3
      Starting in OpenShift 4.16 (included), Elasticsearch is not longer supported for Logging, then, all the references inside "Scalability and Performance should be removed

      Issue 4

      In the section Recommended configurable storage technology is observed the note 6 in the Elasticsearch Logging row where the note says:

      6 For logging, review the recommended storage solution in Configuring persistent storage for the log store section. Using NFS storage as a persistent volume or through NAS, such as Gluster, can corrupt the data. Hence, NFS is not supported for Elasticsearch storage and LokiStack log store in OpenShift Container Platform Logging. You must use one persistent volume type per log store.

      NFS should be supported for Loki, even, when not recommended.

       Issue 5

      Similar to the warning for Elasticsearch in the Logging Documentation section Configuring persistent storage for the log store where it's said:

      Using NFS storage as a volume or a persistent volume (or via NAS such as Gluster) is not supported for Elasticsearch storage, as Lucene relies on file system behavior that NFS does not supply. Data corruption and other problems can occur.

      It should be expected a Warning for Loki indicating that for the temporary storage, the recommended is Block and NFS is not recommended as per performance.

              Unassigned Unassigned
              rhn-support-ocasalsa Oscar Casal Sanchez
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated: