When running chef-load generate --config /home/centos/chef_load.toml with the below toml file where we're seeing msg="Message failure" error="rpc error: code = Internal desc = elastic: Error 409 (Conflict)" errors when the message published to elasticsearch. It looks like there was duplicate ID somewhere in the process.
log_file = "/var/log/chef-load/chef-load.log"
data_collector_url = "https://ec2-18-237-53-7.us-west-2.compute.amazonaws.com/data-collector/v0/"
data_collector_token = "65qzN_HWnbR6j9JKdH9P4onxf-k="
ohai_json_file = "/home/centos/ohai-data.json"
converge_status_json_file = "/home/centos/converge-success.json"
compliance_status_json_file = "/home/centos/compliance-status.json"
compliance_sample_reports_dir = "/home/centos/inspec-reports"
num_nodes = 10
num_actions = 20
interval = 30
[matrix]
[matrix.simulation]
nodes = 60000
days = 12
max_scans = 4
total_max_scans = 1000000
If you change the matrix.simulation.days to 11 the errors go away.
When running
chef-load generate --config /home/centos/chef_load.tomlwith the below toml file where we're seeingmsg="Message failure" error="rpc error: code = Internal desc = elastic: Error 409 (Conflict)"errors when the message published to elasticsearch. It looks like there was duplicate ID somewhere in the process.If you change the
matrix.simulation.daysto 11 the errors go away.