Bug #11796
closedSystem groups should be treated like normal groups and display their list of nodes
Description
In groups page, we have system groups. For them, we don't have the list of nodes, which is quite disturbing.
We should be able to see the list of nodes as for any other groups.
Can workaround the limitation with APIs, for example to see all nodes managed by relay with ID '717b63d1-01fe-4d4f-a7e5-cfb7c0d47b4f', one can uses:
curl -k -H "X-API-Token: the_token" -H "Content-Type: application/json" -X GET 'https://xxxxx/rudder/api/latest/groups/hasPolicyServer-717b63d1-01fe-4d4f-a7e5-cfb7c0d47b4f'
And with "jq" tools, one can even just get the list of managed nodes, one by line:
curl -k -H "X-API-Token: the_token" -H "Content-Type: application/json" -X GET 'https://xxxxx/rudder/api/latest/groups/hasPolicyServer-717b63d1-01fe-4d4f-a7e5-cfb7c0d47b4f' | jq '.data.groups[].nodeIds[]'
But it became trickier for some special "magic" groups: "All Nodes", "All Managed Nodes", "All Node with a Server Role". These groups don't really hold any reference to nodeId, and so the user just can't see them.
So we need to 1/ return these groups in API, et 2/ let the user see content of all system groups.
Updated by Vincent MEMBRÉ about 7 years ago
- Target version changed from 4.1.9 to 4.1.10
Updated by Benoît PECCATTE about 7 years ago
- Related to User story #11890: Rename system groups added
Updated by Vincent MEMBRÉ almost 7 years ago
- Target version changed from 4.1.10 to 4.1.11
- Priority changed from 50 to 49
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.11 to 4.1.12
- Priority changed from 49 to 48
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.12 to 4.1.13
- Priority changed from 48 to 47
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.1.13 to 411
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 411 to 4.1.13
Updated by Vincent MEMBRÉ over 6 years ago
- Target version changed from 4.1.13 to 4.1.14
- Priority changed from 47 to 45
Updated by Benoît PECCATTE over 6 years ago
- Target version changed from 4.1.14 to 4.1.15
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.15 to 4.1.16
- Priority changed from 45 to 43
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.16 to 4.1.17
- Priority changed from 43 to 42
Updated by Vincent MEMBRÉ about 6 years ago
- Target version changed from 4.1.17 to 4.1.18
- Priority changed from 42 to 0
Updated by Vincent MEMBRÉ almost 6 years ago
- Target version changed from 4.1.18 to 4.1.19
Updated by Alexis Mousset almost 6 years ago
- Target version changed from 4.1.19 to 4.1.20
Updated by François ARMAND almost 6 years ago
- Target version changed from 4.1.20 to 4.1.21
Updated by François ARMAND over 5 years ago
- Related to User story #11911: New tab in group details: display Rules applied to the group added
Updated by François ARMAND over 5 years ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND over 5 years ago
- Target version changed from 4.1.21 to 5.0.9
Updated by François ARMAND over 5 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Vincent MEMBRÉ
- Pull Request set to https://github.com/Normation/rudder/pull/2160
Updated by Rudder Quality Assistant over 5 years ago
- Assignee changed from Vincent MEMBRÉ to François ARMAND
Updated by François ARMAND over 5 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|fe4a02e792a2ec1ee4e4fb4f578c487fa454f2d4.
Updated by Vincent MEMBRÉ over 5 years ago
- Subject changed from System groups should display their list of nodes to System groups should be treated like normal groups and display their list of nodes
Updated by Vincent MEMBRÉ over 5 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 5.0.9 which was released today.