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

LokiStack operator S3 storage problem

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not a Bug
    • Icon: Undefined Undefined
    • None
    • None
    • Log Storage
    • False
    • None
    • False
    • NEW
    • NEW
    • Bug Fix
    • Log Storage - Sprint 246

      Description of problem:

      logging-loki-compactor throws error then using ODF s3:

      failed to init delete store: failed to get s3 object: MissingRegion: could not find region configuration

      if I add "region" to secret it try to connect to aws.

      Version-Release number of selected component (if applicable):

      4.14

      Loki Operator 5.8.0 provided by Red Hat

      OpenShift Data Foundation 4.14.0-rhodf provided by Red Hat

      Steps to Reproduce:

      1. Install Loki Redhat operator 5.8.0 on 
      2. Create stack

      apiVersion: loki.grafana.com/v1
      kind: LokiStack
      metadata:
        name: logging-loki
        namespace: openshift-logging
      spec:
        limits:
          global:
            retention:
              days: 14
        storage:
          schemas:
          - version: v12
            effectiveDate: "2023-11-28"
          secret:
            name: logging-loki-odf
            type: s3
        storageClassName: ocs-storagecluster-ceph-rbd
        tenants:
          mode: openshift-logging

      1. S3 secret 

      data:
        access_key_id: SzVE...
        access_key_secret: OH...
        bucketnames: bG9...
        endpoint: czMub...
      type: Opaque

      Actual results:

      failed to init delete store: failed to get s3 object: MissingRegion: could not find region configuration

      Expected results:

      sucessfull connection to s3

      Additional info:

            ptsiraki@redhat.com Periklis Tsirakidis
            andrius.scerbetka Andrius Ščerbetka (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: