Skip to content

Infra nodes created when only sending compliance data #51

@srb3

Description

@srb3

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: chef/automate#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.

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