Skip to content

Loki 2.6.1 not starting (failed to create memberlist) #52

@flouis1

Description

@flouis1

Trying to run Loki through the current version of Helm deployment. Startup of the loki pod is failing with the error message:

log

msg=“module failed” module=memberlist-kv error=“invalid service state: Stopping, expected: Running”

Same issue seen here

Here I assume that your current namespace is jfrog-plg
if not

kc config set-context --current --namespace=jfrog-plg

Pull config

hl get values loki  -o yaml > values.loki.yaml

Fix by adding those line to value.yml

loki:
[...]
  config:
    memberlist:
      bind_addr:
        - ${MY_POD_IP}

  ingester:
    extraArgs:
    - -config.expand-env=true
    extraEnv:
      - name: MY_POD_IP
        valueFrom:
          fieldRef:
            fieldPath: status.podIP

Update install

hl upgrade --install "loki" grafana/loki-stack -f values.loki.yaml

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions