Failed to create memberlist no private IP address found in Loki for RHOCP 4

Solution Verified - Updated -

Issue

  • Loki pods are in CrashLoop status:

    logging-loki-compactor-0                      0/1     CrashLoopBackOff   
    logging-loki-distributor-74f676459-9gbzh      0/1     CrashLoopBackOff   
    logging-loki-distributor-74f676459-zlqhj      0/1     CrashLoopBackOff   
    logging-loki-ingester-0                       0/1     CrashLoopBackOff   
    logging-loki-querier-6d56f558b-rnflv          0/1     CrashLoopBackOff   
    logging-loki-querier-6d56f558b-z7h8f          0/1     CrashLoopBackOff
    
  • Services from pods has no endpoints.
  • Log messages are

    failed to create memberlist: Failed to get final advertise address: no private IP address found, and explicit IP not provided
    

Environment

  • Red Hat OpenShift Container Platform 4 (RHOCP)
  • Loki Logging stack
  • Red Hat OpenShift Logging (RHOL)
    • 5.5
    • 5.6
    • 5.7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content