grafana / loki

Like Prometheus, but for logs.
https://grafana.com/loki
GNU Affero General Public License v3.0
23.33k stars 3.38k forks source link

Mkdir /loki/tsdb-shipper-active: read-only file system #13683

Open alex-shef opened 1 month ago

alex-shef commented 1 month ago

I am trying to set up Helm chart Loki in the GCP cluster. How do I manage this error? “mkdir /loki/tsdb-shipper-active: read-only file system error initialising module: store”

values.yaml:

loki:
  auth_enabled: false

  commonConfig:
    ring:
      instance_addr: 127.0.0.1
      kvstore:
        store: inmemory
    replication_factor: 1
    path_prefix: /loki

  storage:
    bucketNames:
      chunks: ab7d14a0f02ac9ab-loki-logs-bucket
    type: gcs

  schemaConfig:
    configs:
      - from: 2024-07-22
        store: tsdb
        object_store: gcs
        schema: v13
        index:
          prefix: index_
          period: 24h

  storageConfig:
    tsdb_shipper:
      active_index_directory: /loki/index
      cache_location: /loki/index_cache
    gcs:
      bucket_name: ab7d14a0f02ac9ab-loki-logs-bucket

serviceAccount:
  annotations:
    iam.gke.io/gcp-service-account: "loki-sa@linear-reporter.iam.gserviceaccount.com"
JStickler commented 1 month ago

Questions have a better chance of being answered if you ask them on the community forums.

alex-shef commented 1 month ago

Questions have a better chance of being answered if you ask them on the community forums.

No one responds either on the Community Forum or in the Slack chat