Skip to content

nodeQuery filter fails when using facts_environment #18

@nosrio

Description

@nosrio

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

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