splunk / docker-splunk

Splunk Docker GitHub Repository
450 stars 245 forks source link

Launching a Forwarder licensed heavy container fails in 9.0.9, 9.1.4, and 9.2.1 #662

Open alexeiser opened 2 months ago

alexeiser commented 2 months ago

The most recent docker images 9.0.9, 9.1.4 and 9.2.1 all fail with the error:

The conditional check 'not check_fwd_lic.content.json.entry[0].content.is_active' failed. The error was: error while evaluating conditional (not check_fwd_lic.content.json.entry[0].content.is_active): 'dict object' has no attribute 'content'

The error appears to be in '/opt/ansible/roles/splunk_common/tasks/licenses/enable_forwarder_license.yml': line 15, column 3, but may be elsewhere in the file depending on the exact syntax problem.

I believe the root cause is an splunk-nsible bug - so https://github.com/splunk/splunk-ansible/issues/813 was created. This issue is for tracking, and helping others if they have the same issue.