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
Get Updates on the Splunk Community!

Prove Your Splunk Prowess at .conf25—No Prereqs Required!

Your Next Big Security Credential: No Prerequisites Needed We know you’ve got the skills, and now, earning the ...

Splunk Observability Cloud's AI Assistant in Action Series: Observability as Code

This is the sixth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how to ...

Splunk Answers Content Calendar, July Edition I

Hello Community! Welcome to another month of Community Content Calendar series! For the month of July, we will ...