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

Infra nodes created when only sending compliance data

Open srb3 opened this issue 5 years ago • 0 comments

Describe the problem

When I run a chef-load test, that is configured to only send compliance data to chef autoamte, it also generates basic node objects in the Automate Infrastructure tab. This seems to be causing an issue when testing the data-feed-service: https://github.com/chef/automate/issues/3954

I have added screenshots to help illustrate the problem. compliance data from chef-load: Selection_249 Selection_253

infrastructure node data also from chef-load: Selection_250 Selection_251 Selection_252

Software Version

chef-load v4.0.0

Replication Case

I configured chef-load like this

log_file = "/var/tmp/chef_load/chef-load.log"
data_collector_url = "https://chef-automate.test/data-collector/v0/"
data_collector_token = "rt+cGGX0Q+PNPg=="
compliance_status_json_file = "/var/tmp/chef_load/compliance_cloud_scan.json"
num_nodes = 7000
interval = 1440
node_name_prefix = "gcp-api"
num_actions = 30

Then after starting it log into chef automate and checked the infrastructure tab

It would expect chef-load to only create configuration management node objects if I had chosen to send it ohia data and configured the chef_server_url endpoint in the toml file.

srb3 avatar Jun 20 '20 18:06 srb3