How can I install only hawkular-cassandra shema again after initial deployment ?
Issue
- When the hawkular-cassandra is failed to install its schema during initial installation, you can see the following messages from the hawkular-metrics pod logs.
INFO [org.hawkular.metrics.api.jaxrs.util.SchemaVersionChecker] (metricsservice-lifecycle-thread) Version check failed: Keyspace hawkular_metrics does not exist
- And you may also install the schema again when your case is in the following one.
- The hawkular-cassandar PV is replaced with new one.
- The hawkular-cassandar pod which is configured as emptyDir(temporary storage) was restarted. Because the emptyDir will be reset due to restart the pod.
Environment
- OpenShift Container Platform
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.