chef-filebeat icon indicating copy to clipboard operation
chef-filebeat copied to clipboard

filebeat 2.2.0 doesn't support chef 12

Open sgandham123 opened this issue 5 years ago • 3 comments

Hi , I am trying to use filebeat cookbook version 2.2.0 on chef 12 in AWS. However I am getting below error on dependency module runit since it doesn't support chef12. Even if I take older versions of filebeat I get the same issue since runit always points to latest version. Could you please update the Berks file with right versions.

[2019-04-30T18:52:04+00:00] ERROR: Running exception handlers [2019-04-30T18:52:04+00:00] ERROR: Exception handlers complete [2019-04-30T18:52:04+00:00] FATAL: Stacktrace dumped to /var/chef/runs/e878a139-3c2a-4f8c-ab06-dba5c895beed/local-mode-cache/cache/chef-stacktrace.out [2019-04-30T18:52:04+00:00] FATAL: Please provide the contents of the stacktrace.out file if you file a bug report [2019-04-30T18:52:04+00:00] ERROR: Cookbook 'runit' version '5.1.0' depends on chef version [">= 14.0"], but the running chef version is 12.18.31 [2019-04-30T18:52:04+00:00] FATAL: Chef::Exceptions::ChildConvergeError: Chef run process exited unsuccessfully (exit code 1)

Thanks, Satish

sgandham123 avatar Apr 30 '19 20:04 sgandham123

same issue with windows dependency as well

sgandham123 avatar Apr 30 '19 20:04 sgandham123

It is not just version 2.2. The other versions are not pinned to a specific version of runit or windows either, so they will not run on anything < 14.

weevil44 avatar May 09 '19 20:05 weevil44

I got version 1.4 working with Chef 12.13 by adding pinning to metadata.rb

depends 'runit', '~> 4.3.1' depends 'windows', '~> 4.3.4

weevil44 avatar May 22 '19 19:05 weevil44