Project

General

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 6 years ago. Updated almost 5 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
Actions #2

Updated by Vincent MEMBRÉ over 6 years ago

  • Target version changed from 4.1.9 to 4.1.10
Actions #3

Updated by Benoît PECCATTE over 6 years ago

Actions #4

Updated by Vincent MEMBRÉ about 6 years ago

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

Updated by Vincent MEMBRÉ almost 6 years ago

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

Updated by Vincent MEMBRÉ almost 6 years ago

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

Updated by Benoît PECCATTE almost 6 years ago

  • Target version changed from 4.1.13 to 411
Actions #8

Updated by Benoît PECCATTE almost 6 years ago

  • Target version changed from 411 to 4.1.13
Actions #9

Updated by Vincent MEMBRÉ over 5 years ago

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

Updated by Benoît PECCATTE over 5 years ago

  • Target version changed from 4.1.14 to 4.1.15
Actions #11

Updated by Vincent MEMBRÉ over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

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

Updated by Vincent MEMBRÉ over 5 years ago

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

Updated by Vincent MEMBRÉ about 5 years ago

  • Target version changed from 4.1.18 to 4.1.19
Actions #15

Updated by Alexis Mousset about 5 years ago

  • Target version changed from 4.1.19 to 4.1.20
Actions #16

Updated by François ARMAND about 5 years ago

  • Target version changed from 4.1.20 to 4.1.21
Actions #17

Updated by François ARMAND about 5 years ago

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

Updated by François ARMAND about 5 years ago

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

Updated by François ARMAND about 5 years ago

  • Target version changed from 4.1.21 to 5.0.9
Actions #20

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

Updated by Rudder Quality Assistant about 5 years ago

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

Updated by François ARMAND about 5 years ago

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

Updated by Vincent MEMBRÉ almost 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
Actions #24

Updated by Vincent MEMBRÉ almost 5 years ago

  • Status changed from Pending release to Released

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

Actions

Also available in: Atom PDF