Project

General

Profile

Actions

User story #3274

closed

User story #3273: Have a group containing all nodes

Add "all nodes" Group in LDAP

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

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

Description

We need to add the "all nodes" group in the bootstrap.ldif, so that group will included on a new installation

here is the extract corresponding to the group :

dn: nodeGroupId=All-Nodes,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
objectClass: nodeGroup
objectClass: top
cn: All Nodes
isDynamic: TRUE
nodeGroupId: All-Nodes
jsonNodeGroupQuery: { "select":"nodeAndPolicyServer", "composition":"And", "where":[ {"objectType":"node","attribute":"nodeId","comparator":"exists","value":""}]}
isEnabled: TRUE
isSystem: FALSE

A migration has to be done to add that group, if missing on an upgrade.

Actions #1

Updated by Vincent MEMBRÉ about 11 years ago

  • Description updated (diff)

Rudder upgrade will use a ldif file containing what to add to the ldap.

its contains will be

dn: nodeGroupId=All-Nodes,groupCategoryId=GroupRoot,ou=Rudder,cn=rudder-configuration
changetype: add
objectClass: nodeGroup
objectClass: top
cn: All Nodes
isDynamic: TRUE
nodeGroupId: All-Nodes
jsonNodeGroupQuery: { "select":"nodeAndPolicyServer", "composition":"And", "where":[ {"objectType":"node","attribute":"nodeId","comparator":"exists","value":""}]}
isEnabled: TRUE
isSystem: FALSE
Actions #2

Updated by Vincent MEMBRÉ about 11 years ago

  • Status changed from New to Pending technical review
  • Assignee changed from Vincent MEMBRÉ to Jonathan CLARKE
Actions #3

Updated by François ARMAND about 11 years ago

  • Assignee changed from Jonathan CLARKE to Nicolas CHARLES

Nicolas, could you please review https://github.com/Normation/rudder/pull/121 to ?

Actions #4

Updated by Nicolas CHARLES about 11 years ago

  • Assignee changed from Nicolas CHARLES to François ARMAND

I've answered the question !

Actions #5

Updated by Vincent MEMBRÉ about 11 years ago

I removed the migration ldif, as we don't want to add that group on an update, only on a new Rudder server.

This still need a review.

Actions #6

Updated by François ARMAND about 11 years ago

  • Status changed from Pending technical review to 12

This is OK for me.

Actions #7

Updated by Nicolas PERRON about 11 years ago

  • Category changed from 11 to Web - Nodes & inventories
Actions #8

Updated by Vincent MEMBRÉ about 11 years ago

This ticket should be rejected and closed,

We don't want to add an "all node" group, we would rather have use system groups

Actions #9

Updated by Matthieu CERDA about 11 years ago

  • Status changed from 12 to Rejected

This ticket is to be rejected.

Actions #10

Updated by Benoît PECCATTE about 9 years ago

  • Tracker changed from 6 to User story
Actions

Also available in: Atom PDF