failed to sync configmap cache: timed out waiting for the condition

2,593 views
Skip to first unread message

Nanda kumar R

unread,
Feb 28, 2022, 11:45:04 AM2/28/22
to Prometheus Users
Hi Team,

I have a prometheus container running in k8s and is using longhorn as storage to store config files and DB. The Prometheus container starts successfully and could be accessed by Prometheus UI as well for around 2-3 mins and crashes immediately. When I describe the k8s pod, it shows below error message during crash.

"MountVolume.SetUp failed for volume "prometheus-config-volume" : failed to sync configmap cache: timed out waiting for the condition"

The configmap being referred by prometheus-config-volume does exist. So, I am not sure what is going wrong here as prometheus logs too didn't have any helpful message for. Could someone help me find the issue here?

Regards,
Nanda

Brian Candler

unread,
Mar 1, 2022, 2:37:15 AM3/1/22
to Prometheus Users
> "MountVolume.SetUp failed for volume "prometheus-config-volume" : failed to sync configmap cache: timed out waiting for the condition"

That appears to be either a Kubernetes or a Longhorn error.  Either way, it's not anything that Prometheus is responsible for.

Reply all
Reply to author
Forward
0 new messages