Deployment Architecture

Apps not deploying correctly

lhollada
Engager

I'm setting up a new deployment server and a test client. When deploying apps to this client, I get these sorts of errors in the client log:

11-08-2011 11:08:16.404 -0600 WARN  DeployedApplication - Installing app: linux to location: /opt/splunkforwarder/etc/apps/linux
11-08-2011 11:08:16.407 -0600 ERROR IniFile - Cannot open ini file for parsing: No such file or directory
11-08-2011 11:08:16.407 -0600 ERROR ConfObjectManagerDB - Cannot initialize: /opt/splunkforwarder/etc/apps/linux/metadata/local.meta

The actual app files update, but I cannot figure out why it's having a problem with the metadata. Here's my serverclass.conf:

[global]
blacklist.0=*
restartSplunkd = True

[serverClass:AppsByMachineType]
machineTypes=windows-intel,linux-i686,linux-x86_64

[serverClass:AppsByMachineType:app:allservers]
machineTypes=windows-intel,linux-i686,linux-x86_64

[serverClass:AppsByMachineType:app:windows]
machineTypes=windows-intel

[serverClass:AppsByMachineType:app:linux]
machineTypes = linux-x86_64,linux-i686
restartSplunkd = True

Any ideas would be appreciated.

One additional note: it doesn't seem like the clients are acutally restarting Splunkd like they should be, but I'm not sure why.

0 Karma
1 Solution

lhollada
Engager

In case anyone is curious, the problem here was the lack of a metadata/local.meta file in the app directory on the deployment server. Once that was in place, the app was installed successfully to the client, which then restarted splunkd.

View solution in original post

lhollada
Engager

In case anyone is curious, the problem here was the lack of a metadata/local.meta file in the app directory on the deployment server. Once that was in place, the app was installed successfully to the client, which then restarted splunkd.

OMohi
Path Finder

I am facing similar issue, how did you get the metadata/local.meta file in place in the app directory?

Please let us know.

Thanks

Obaid

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...