Project

General

Profile

Actions

Bug #20790

open

Groups based on server roles are not modified during upgrade

Added by Nicolas CHARLES 6 months ago. Updated 23 days ago.

Status:
New
Priority:
N/A
Assignee:
-
Category:
Web - Nodes & inventories
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
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 #1

Updated by François ARMAND 6 months ago

  • Related to Bug #19650: Need a migration script about changes in system directives, groups and rules added
Actions #2

Updated by Nicolas CHARLES 6 months ago

Workaround: before upgrading, replace the condition by

Actions #3

Updated by Vincent MEMBRÉ 4 months ago

  • Target version changed from 7.0.2 to 7.0.3
Actions #4

Updated by Vincent MEMBRÉ 3 months ago

  • Target version changed from 7.0.3 to 7.0.4
Actions #5

Updated by Vincent MEMBRÉ about 2 months ago

  • Target version changed from 7.0.4 to 7.0.5
Actions #6

Updated by Vincent MEMBRÉ 23 days ago

  • Target version changed from 7.0.5 to 7.0.6
Actions

Also available in: Atom PDF