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
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!

Deep insights, no barriers: Splunk Observability Cloud Free Edition

As software delivery cycles continue to accelerate, observability shouldn’t be a luxury — it should be a ...

Monitoring AI Agents with Splunk Observability Cloud

Let’s say I’m running a travel planning AI app in production. A user asks for three concise hotel options in ...

[Puzzles] Solve, Learn, Repeat: Tiling

This puzzle (first published here) is based on finding groups of tessellated tiles (inspired by floor tiles I ...