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!

Mastering Threat Intelligence in ES 8.5, Splunk AI Assistant v2, and More from Splunk ...

Splunk Lantern is Splunk’s customer success center that provides practical guidance from Splunk experts on key ...

Break the Build: Inside the KubeDoom Lounge at .conf26

    You step up to the machine. The pixelated corridors of a certain 1993 FPS load in front of you, EMP Pulse ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...