Deployment Architecture

Error While Creating Deployable App

JoshuaJJ
Path Finder

I have read other forums and posts, but it did not help with my issue. 

I am getting the typical Error while creating deployable apps: Error coping src'" /opt/splunk/etc/shcluster/my_app" to staging area=" /opt/splunk/var/run/splunk/deply.#######.tmp/apps/my_app." 180 errors 

 

They are all python files (.py) this is for every app that has python files as well. I have checked the permissions and Splunk owns the files. I am so confused as to what is happening. I understand this is a permission issue, but Splunk owns the files (rambling) with permissions set to rw on all python files on the deployer.  Also, splunk user owns all files under /opt/splunk 

 

Any help greatly appreciated! 

Labels (2)
0 Karma
1 Solution

JoshuaJJ
Path Finder

Figured it out,  fapolicy was the issue. 

View solution in original post

0 Karma

JoshuaJJ
Path Finder

Some more insight, if I remove the python files it will deploy successfully. 

0 Karma

JoshuaJJ
Path Finder

Figured it out,  fapolicy was the issue. 

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

.conf25 Global Broadcast: Don’t Miss a Moment

Hello Splunkers, .conf25 is only a click away.  Not able to make it to .conf25 in person? No worries, you can ...

Observe and Secure All Apps with Splunk

 Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

What's New in Splunk Observability - August 2025

What's New We are excited to announce the latest enhancements to Splunk Observability Cloud as well as what is ...