Project

General

Profile

Bug #11796

System groups should be treated like normal groups and display their list of nodes

Added by François ARMAND over 1 year ago. Updated 3 months ago.

Status:
Released
Priority:
N/A
Category:
Web - Nodes & inventories
Target version:
Severity:
Minor - inconvenience | misleading | easy workaround
User visibility:
Getting started - demo | first install | level 1 Techniques
Effort required:
Priority:
0

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.


Related issues

Related to Rudder - User story #11890: Rename system groupsNewActions
Related to Rudder - User story #11911: New tab in group details: display Rules applied to the groupReleasedActions

Associated revisions

Revision fe4a02e7 (diff)
Added by François ARMAND 4 months ago

Fixes #11796: System groups should display their list of nodes

History

#2

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.9 to 4.1.10
#3

Updated by Benoît PECCATTE over 1 year ago

#4

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.10 to 4.1.11
  • Priority changed from 50 to 49
#5

Updated by Vincent MEMBRÉ over 1 year ago

  • Target version changed from 4.1.11 to 4.1.12
  • Priority changed from 49 to 48
#6

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.1.12 to 4.1.13
  • Priority changed from 48 to 47
#7

Updated by Benoît PECCATTE about 1 year ago

  • Target version changed from 4.1.13 to 411
#8

Updated by Benoît PECCATTE about 1 year ago

  • Target version changed from 411 to 4.1.13
#9

Updated by Vincent MEMBRÉ about 1 year ago

  • Target version changed from 4.1.13 to 4.1.14
  • Priority changed from 47 to 45
#10

Updated by Benoît PECCATTE 12 months ago

  • Target version changed from 4.1.14 to 4.1.15
#11

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 4.1.15 to 4.1.16
  • Priority changed from 45 to 43
#12

Updated by Vincent MEMBRÉ 9 months ago

  • Target version changed from 4.1.16 to 4.1.17
  • Priority changed from 43 to 42
#13

Updated by Vincent MEMBRÉ 8 months ago

  • Target version changed from 4.1.17 to 4.1.18
  • Priority changed from 42 to 0
#14

Updated by Vincent MEMBRÉ 6 months ago

  • Target version changed from 4.1.18 to 4.1.19
#15

Updated by Alexis MOUSSET 6 months ago

  • Target version changed from 4.1.19 to 4.1.20
#16

Updated by François ARMAND 5 months ago

  • Target version changed from 4.1.20 to 4.1.21
#17

Updated by François ARMAND 4 months ago

  • Related to User story #11911: New tab in group details: display Rules applied to the group added
#18

Updated by François ARMAND 4 months ago

  • Status changed from New to In progress
  • Assignee set to François ARMAND
#19

Updated by François ARMAND 4 months ago

  • Target version changed from 4.1.21 to 5.0.9
#20

Updated by François ARMAND 4 months 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
#21

Updated by Rudder Quality Assistant 4 months ago

  • Assignee changed from Vincent MEMBRÉ to François ARMAND
#22

Updated by François ARMAND 4 months ago

  • Status changed from Pending technical review to Pending release
#23

Updated by Vincent MEMBRÉ 3 months 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
#24

Updated by Vincent MEMBRÉ 3 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 5.0.9 which was released today.

Also available in: Atom PDF