Project

General

Profile

Actions

Bug #24937

closed

Query in get pending node API doesn't match anything

Added by Elaad FURREEDAN 6 months ago. Updated 6 months ago.

Status:
Released
Priority:
N/A
Category:
API
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Yes

Description

In 8.1 if we try to use the API to get the list of pending nodes with a filter query, like this : /nodes/pending@where=[{"objectType":"node","attribute":"nodeHostname","comparator":"eq","value":"ubuntu22.rudder.local"}]
the list of nodes in response is empty, if we retry the request without filter the list of nodes it contains the node

Actions

Also available in: Atom PDF