Project

General

Custom queries

Profile

Actions

Bug #11796

closed

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

Added by François ARMAND over 7 years ago. Updated about 6 years ago.

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

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 2 (1 open1 closed)

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 groupReleasedVincent MEMBRÉActions
#2

Updated by Vincent MEMBRÉ over 7 years ago

  • Target version changed from 4.1.9 to 4.1.10
#3

Updated by Benoît PECCATTE over 7 years ago

#4

Updated by Vincent MEMBRÉ over 7 years ago

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

Updated by Vincent MEMBRÉ about 7 years ago

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

Updated by Vincent MEMBRÉ about 7 years 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 7 years ago

  • Target version changed from 4.1.13 to 411
#8

Updated by Benoît PECCATTE about 7 years ago

  • Target version changed from 411 to 4.1.13
#9

Updated by Vincent MEMBRÉ almost 7 years ago

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

Updated by Benoît PECCATTE almost 7 years ago

  • Target version changed from 4.1.14 to 4.1.15
#11

Updated by Vincent MEMBRÉ over 6 years ago

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

Updated by Vincent MEMBRÉ over 6 years ago

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

Updated by Vincent MEMBRÉ over 6 years ago

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

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.18 to 4.1.19
#15

Updated by Alexis Mousset over 6 years ago

  • Target version changed from 4.1.19 to 4.1.20
#16

Updated by François ARMAND over 6 years ago

  • Target version changed from 4.1.20 to 4.1.21
#17

Updated by François ARMAND about 6 years ago

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

Updated by François ARMAND about 6 years ago

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

Updated by François ARMAND about 6 years ago

  • Target version changed from 4.1.21 to 5.0.9
#20

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

Updated by Rudder Quality Assistant about 6 years ago

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

Updated by François ARMAND about 6 years ago

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

Updated by Vincent MEMBRÉ about 6 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
#24

Updated by Vincent MEMBRÉ about 6 years ago

  • Status changed from Pending release to Released
Actions

Also available in: Atom PDF