Azure: No private IP address found, and explicit IP not provided

From a question on the Weaviate documentation repo:

@radhamde asked:

Hello Team,
We are facing the problem of type “No private IP address found, and explicit IP not provided” in one of our weaviate container on an OpenShift cluster over Azure. I saw you are advising to set pod subnet to a valid IP range. But where from we can set it? Is it in the cluster level?

We found the pod CIDR like this way

$ kubectl get no -o json | jq ‘.spec.podCIDR’

“172.30.1.0/24”

Then where and what should we set for pod subnet?

Our container was running fine from the beginning since yesterday morning. Later on it went into crash loopback off with following error

{“action”:“memberlist_init”,“bind_port”:7000,“error”:“Failed to get final advertise address: No private IP address found, and explicit IP not provided”,“hostname”:“”,“level”:“error”,“msg”:“memberlist not created”,“time”:“2024-03-26T07:17:50Z”}
{“action”:“startup”,“error”:“create member list: Failed to get final advertise address: No private IP address found, and explicit IP not provided”,“level”:“error”,“msg”:“could not init cluster state”,“time”:“2024-03-26T07:17:50Z”}

Please advise.

Regards
Radha M De

Seems related to this issue: