Metrics Cannot Attach/Mount the Intended Storage
Issue
- Starting Metrics backup after work on the cluster and I get an error about storage:
<DATE_TIME> <DATE_TIME> 2 hawkular-cassandra-1-7voky Pod Warning FailedMount {kubelet test.example.com} Unable to mount volumes for pod "hawkular-cassandra-1-7voky_openshift-infra(96765ee3-8c28-11e6-916f-005056a6d599)": timeout expired waiting for volumes to attach/mount for pod "hawkular-cassandra-1-7voky"/"openshift-infra". list of unattached/unmounted volumes=[cassandra-data]
<DATE_TIME> <DATE_TIME> 2 hawkular-cassandra-1-7voky Pod Warning FailedSync {kubelet test.example.com} Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "hawkular-cassandra-1-7voky"/"openshift-infra". list of unattached/unmounted volumes=[cassandra-data]
<DATE_TIME> <DATE_TIME> 29 heapster-lszxv Pod spec.containers{heapster} Warning Unhealthy {kubelet test.example.com} Readiness probe failed: The heapster process is not yet started, it is waiting for the Hawkular Metrics to start.
- Updating my cluster and metrics won't start back up
- Events indicate cassandra can't mount the volume
- Cassandra failing with error about permissions:
ERROR 20:01:35 Has no permission to create directory /cassandra_data/data
Environment
- Red Hat OpenShift Enterprise
- 3.0
- 3.1
- 3.2
- Red Hat OpenShift Container Platform
- 3.3
- 3.4
- 3.5
- 3.6
- 3.7
- 3.9
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
