-
Notifications
You must be signed in to change notification settings - Fork 116
Splunk pod crashloops when at Set general pass4SymmKey task in Ansible v1.0.1 #401
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Comments
Hi @cicsyd, thanks for reporting the bug. To further investigate the issue, could you please provide the following information:
|
Heya, Turns out it was because we were using AWS Bottlerocket which mounts a read only file system, I suspect because when the splunk container gets created, it runs an install and tries to write to the file system, which is mounted as read only We ended up getting it working while doing isolation testing with AL2 |
Hi,
We're having trouble deploying Splunk in our EKS environment.
Each time we create a splunk cluster master or even standalone, the startup of the pod fails at this stage:
TASK [splunk_common : Set general pass4SymmKey] ********************************
An exception occurred during task execution. To see the full traceback, use -vvv. The error was: PermissionError: [Errno 13] Permission denied: b'/opt/splunk/etc/system/local/.ansible_tmpyks780qsserver.conf'
fatal: [localhost]: FAILED! => {
"changed": false
}
MSG:
Failed to replace file: /home/splunk/.ansible/tmp/ansible-moduletmp-1625547034.5380409-rfekiuy4/tmpf16i6leu to /opt/splunk/etc/system/local/server.conf: [Errno 13] Permission denied: b'/opt/splunk/etc/system/local/.ansible_tmpyks780qsserver.conf'
Currently using EKS 1.20 and have also tried EKS 1.18.
Persistent storage is on gp3, but we also tested gp2 with the same results.
Worker nodes are AWS Bottlerocket, but we also tried AmazonLinux2
What could we be possibly missing?
We've confirmed that the pvc and secrets do mount correctly and could not find any other error logs, both in cloudwatch and the operator container
The text was updated successfully, but these errors were encountered: