Skip to content

Compliance generator Duplicate IDs with days is greater than 11 #44

@lancewf

Description

@lancewf

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions