Installation

Splunk Operator for Kubernetes - PVCs for /etc/ and /var fail when trying to use MapR fileystem

crawdaddy18
Observer

Splunkers,

I am attempting to use the Splunk Operator for Kubernetes with the MapR filesystem.  The pods fail with the following error:

STDERR:
homePath='/opt/splunk/var/lib/splunk/audit/db' of index=_audit on unusable filesystem.\
Validating databases (splunkd validatedb) failed with code '1'

---

I have created a splunk user on my MapR cluster with uid and gid of 41812 to match that of the splunk user in the pod (I am only trying to get a License Master to come up right now).

I can see the PV and the PVC created on the MapR cluster and I see the temporary files being created, so I don't know why things are failing.  Any help is greatly appreciated.  Thanks!

[splunk@ip-10-20-1-148 db]$ ll

total 0
-rw------- 1 splunk splunkgroup 0 Jul 27 16:27 test.Aeftef
-rw------- 1 splunk splunkgroup 0 Jul 27 16:44 test.CG68oO
-rw------- 1 splunk splunkgroup 0 Jul 27 16:29 test.cptS7n
-rw------- 1 splunk splunkgroup 0 Jul 27 16:32 test.eG1WdX

 

On a side note, I had to create splunkgroup with GID of 41812 and could not name it "splunk" in my AD due to a user already being named "splunk".  Hope that is not an issue because technically, the LM POD user is splunk(41812) for the uid, gid, and group.

Labels (1)
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

A Four-Part Event Series: Full Stack Observability For the AI Era

As AI reshapes applications, infrastructure, and the way teams operate, the traditional boundaries of ...

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Event Series: Level up your SOC: Advancing with Splunk Enterprise Security

AI has fundamentally raised the stakes for security operations, and this three-part series is your guide to ...