Project

General

Profile

Actions

User story #3374

closed

User story #3273: Have a group containing all nodes

Change system groups name/description in the LDAP

Added by Vincent MEMBRÉ over 11 years ago. Updated over 9 years ago.

Status:
Released
Priority:
2
Assignee:
Jonathan CLARKE
Category:
Web - Nodes & inventories
Target version:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
Fix check:
Regression:

Description

Following #3372, system groups are now displayed in the Rudder UI, but the names and description are not easy to understand.

There is four groups concerned(with DN and description) are :

  • Root policy server
    • DN = ruleTarget=policyServer:root,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
    • A special target which only matches the policy server with the ID given after the semicolon
  • All servers
    • DN = ruleTarget=special:all,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
    • A special target which matches absolutly all known nodes, including policy servers
  • All user servers
    • DN = ruleTarget=special:all_exceptPolicyServers,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
    • A special target which matches all user nodes (no policy server s)
  • Root server group
    • DN = nodeGroupId=hasPolicyServer-root,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
    • Root server goup

Their name and description should be renamed to :

  • Root policy server
    • ??
  • All nodes
    • ??
  • All managed nodes
    • ??
  • All nodes managed by policy server root
    • ??

Those change should be done in the LDAP using a migration script

The system group category should be renamed from "System group category" to "System groups" which is more user friendly

Assigned to Jon to complete what should be changed

Pull Request URL: https://github.com/Normation/rudder-packages/pull/25

Actions #1

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from New to 8
  • Assignee changed from Jonathan CLARKE to Nicolas PERRON

Their name and description should be renamed to :

  • "Root policy server " --> "Root policy server" (no change)
    • ??
  • "All servers " --> "All nodes"
    • New description: All nodes known by Rudder (including Rudder policy servers)
  • "All user servers" --> "All managed nodes"
    • New description: All nodes known by Rudder (excluding Rudder policy servers)
  • "Root server group " --> "All nodes managed by root policy server"
    • New description: All nodes known by Rudder directly connected to the root server
Actions #2

Updated by Nicolas PERRON over 11 years ago

  • Status changed from 8 to Discussion
  • Assignee changed from Nicolas PERRON to Jonathan CLARKE

Jonathan CLARKE wrote:

Their name and description should be renamed to :

  • "Root policy server " --> "Root policy server" (no change)
    • ??

Will this entry change its description ?

  • "All servers " --> "All nodes"
    • New description: All nodes known by Rudder (including Rudder policy servers)
  • "All user servers" --> "All managed nodes"
    • New description: All nodes known by Rudder (excluding Rudder policy servers)
  • "Root server group " --> "All nodes managed by root policy server"
    • New description: All nodes known by Rudder directly connected to the root server

To change them, an LDIF containing instructions below works:

dn: ruleTarget=special:all,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: modify
replace: cn
cn: All nodes

dn: ruleTarget=special:all,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: modify
replace: description
description: All nodes known by Rudder (including Rudder policy servers)

dn: ruleTarget=special:all_exceptPolicyServers,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: modify
replace: cn
cn: All managed nodes

dn: ruleTarget=special:all_exceptPolicyServers,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: modify
replace: description
description: All nodes known by Rudder (excluding Rudder policy servers)

dn: nodeGroupId=hasPolicyServer-root,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: modify
replace: cn
cn: All nodes managed by root policy server

dn: nodeGroupId=hasPolicyServer-root,groupCategoryId=SystemGroups,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: modify
replace: description
description: All nodes known by Rudder directly connected to the root server

The system group category should be renamed from "System group category" to "System groups" which is more user friendly

I don't understand what you mean. All entries seem already to be "groupCategoryId=SystemGroup", what is asked to change ?

Actions #3

Updated by Nicolas PERRON over 11 years ago

Nicolas PERRON wrote:

Jonathan CLARKE wrote:

Their name and description should be renamed to :

  • "Root policy server " --> "Root policy server" (no change)
    • ??

It has been decided by Jon to be 'Only the root policy server'

Actions #4

Updated by Nicolas PERRON over 11 years ago

  • Description updated (diff)
Actions #5

Updated by Nicolas PERRON over 11 years ago

  • Status changed from Discussion to 10
  • % Done changed from 0 to 100

Jon, could you review it, please ?

Actions #6

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from 10 to 12

Looks good to me.

Actions #7

Updated by Nicolas PERRON over 11 years ago

  • Status changed from 12 to Pending release

Applied in changeset packages:commit:35bd808f84dc38869e68e2635f2600078d823a68.

Actions #8

Updated by Matthieu CERDA over 11 years ago

Applied in changeset packages:commit:f954aec1f4fc0f2ffb26ca25df8daa59603e9295.

Actions #9

Updated by Nicolas PERRON over 11 years ago

A new Pull Request has been added : https://github.com/Normation/rudder-packages/pull/26

Actions #10

Updated by Matthieu CERDA over 11 years ago

Pull request acknowledged and merged

Actions #11

Updated by Jonathan CLARKE over 11 years ago

  • Status changed from Pending release to Released

This ticket has been addressed in version 2.6.0~beta1 of Rudder, which has just been released. Please see the changelog here: https://www.rudder-project.org/foswiki/System/Documentation:ChangeLog26.

Actions #12

Updated by Benoît PECCATTE over 9 years ago

  • Tracker changed from 6 to User story
Actions

Also available in: Atom PDF