Project

General

Profile

Actions

Bug #20790

open

Groups based on server roles are not modified during upgrade

Added by Nicolas CHARLES almost 3 years ago. Updated 5 months ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:

Description

And they silently fail after upgrade

[2022-02-18 12:55:59+0100] ERROR rudder-ldap-entity-mapper - Error when parsing query fo
r node group persisted at DN 'nodeGroupId=5f6b225e-d8e5-4a99-b556-7a58bcdd24e8,groupCate
goryId=GroupRoot,ou=Rudder,cn=rudder-configuration' (name: 'group with server role'), th
at seems to be an inconsistency. You should modify that group. Erros was: Unexpected: Th
e attribute 'rudderServerRole' is unknown for type 'node' in line 'StringCriterionLine(n
ode,rudderServerRole,exists,Some(Linux))'. Possible attributes: [OS, agentName, inventor
yDate, ipHostNumber, localAccountName, localAdministratorAccountName, nodeHostname, node
Id, osArchitectureType, osFullName, osKernelVersion, osName, osServicePack, osVersion, p
olicyServerId, ram, state, swap]}
[2022-02-18 12:55:59+0100] ERROR scheduled.job - Unexpected: No query defined for group 
'group with server role' (5f6b225e-d8e5-4a99-b556-7a58bcdd24e8) Error when updating dyna
mic group '5f6b225e-d8e5-4a99-b556-7a58bcdd24e8'


Files

clipboard-202202181404-ajmlm.png (65.5 KB) clipboard-202202181404-ajmlm.png Nicolas CHARLES, 2022-02-18 14:04

Related issues 1 (0 open1 closed)

Related to Rudder - Bug #19650: Need a migration script about changes in system directives, groups and rulesReleasedVincent MEMBRÉActions
Actions

Also available in: Atom PDF