When using the nodeQuery ["=","facts_environment","my_env"]
I get the following error:
[2023-08-30T17:44:42,330] WARN client.DefaultHTTP [NodeService-SourceLoader14] - getFactForAllNodes() ended with status code: 400 msg: 'facts_environment' is not a queryable object for facts. Known queryable objects are 'certname', 'environment', 'name', and 'value'
I think that the problem is that node API and facts API are expecting different queryable object
When using the nodeQuery
["=","facts_environment","my_env"]
I get the following error:
[2023-08-30T17:44:42,330] WARN client.DefaultHTTP [NodeService-SourceLoader14] - getFactForAllNodes() ended with status code: 400 msg: 'facts_environment' is not a queryable object for facts. Known queryable objects are 'certname', 'environment', 'name', and 'value'
I think that the problem is that node API and facts API are expecting different queryable object