heketi-cli fails with error "Failed to get list of pods" in OCP 3
Issue
- heketi-cli device add command failed.
- Log of the pod
heketi-storage
inglusterfs
project shows:
- Log of the pod
[kubeexec] ERROR heketi/pkg/remoteexec/kube/target.go:134:kube.TargetDaemonSet.GetTargetPod: Get https://9.255.0.1:443/api/v1/namespaces/glusterfs/pods?labelSelector=glusterfs-node: dial tcp <master-IP>:443: connect: network is unreachable
[kubeexec] ERROR 2019/09/17 06:28:17 heketi/pkg/remoteexec/kube/target.go:135:kube.TargetDaemonSet.GetTargetPod: Failed to get list of pods
Environment
- Red Hat OpenShift Container Platform 3.11.88
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.