Actions
Bug #20281
closedQuery seems to be ignored for pendings nodes
Status:
Released
Priority:
N/A
Assignee:
Category:
Relay server or API
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
Checked
Regression:
Description
When we try to querying the list of pending nodes through API, the query seems to be ignored
Example:
curl -k -H "X-API-Token: 6swMZ3Lz2C8P1IDrcU7VrqVn3rezgKF1" -H "Content-Type: application/json" -X GET 'https://192.168.3.2/rudder/api/latest/nodes/pending?where=\[\{"objectType":"node","attribute":"OS","comparator":"eq","value":"Linux"\},\{"objectType":"node","attribute":"nodeHostname","comparator":"regex","value":"node2.*"\}\]'
This always return the full list of nodes, not the list matching the where
clause.
Updated by Elaad FURREEDAN about 3 years ago
- Status changed from New to In progress
Updated by Elaad FURREEDAN about 3 years ago
Work in progess here: https://github.com/ElaadF/rudder/commit/1a3b7ad23c68a226548b03a057a580c847fd9288
Updated by Elaad FURREEDAN about 3 years ago
Work in progess here: https://github.com/ElaadF/rudder/commit/c46ec58da00ce160af9a5087c71a917dae0f754d
Updated by Elaad FURREEDAN about 3 years ago
Work in progess here: https://github.com/ElaadF/rudder/commit/26aa010b566510e7e3905e34c8c0ec3dfdabdee2
Updated by Nicolas CHARLES about 3 years ago
- Assignee changed from Elaad FURREEDAN to Nicolas CHARLES
Updated by Nicolas CHARLES about 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from Nicolas CHARLES to François ARMAND
- Pull Request set to https://github.com/Normation/rudder/pull/4003
Updated by Nicolas CHARLES about 3 years ago
- Assignee changed from François ARMAND to Elaad FURREEDAN
Updated by Elaad FURREEDAN about 3 years ago
- Translation missing: en.field_tag_list set to Sponsored
Updated by Anonymous almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|5004fd98fc4330200dde724ef295eec20c6938de.
Updated by François ARMAND almost 3 years ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ almost 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 6.2.12 and 7.0.0~rc2 which were released today.
Actions