Bug #23446
closedChange request on special:all_nodes_without_role lead to error
Description
Since we change the target rule name special:all_nodes_without_role
to special:all_exceptPolicyServers
(introduced by https://github.com/Normation/rudder/pull/4065)
When we access the change-request page, it generates an error in webapp logs
com.normation.rudder.domain.policies.RuleTarget - Error when trying to read the following serialized Rule target as a composite target: 'special:all_nodes_without_role'. Reported parsing error cause was: unknown token s Near: sp
It seems that Eventlogs are also impacted by this change, since the contains ModifyRuleDiff
Updated by Elaad FURREEDAN about 1 year ago
- Related to Bug #20460: Invalid attribute 'special:all_servers_with_role' (or special:all_nodes_without_role) for entry ruleTarget added
Updated by Alexis Mousset about 1 year ago
- Target version changed from 7.2-next to 7.3
Updated by François ARMAND 11 months ago
- Status changed from New to In progress
- Assignee set to François ARMAND
Updated by François ARMAND 11 months ago
Since we don't have an understanding of the size of event log or existing change request with the old format, we will take an iterative migration solution:
- for event logs, just be able to read them: the one with the old format will tend to not be accessed after time (and if we still need, just log).
- for change request, read both new and old format, write only new.
It may have as a consequence that we need to keep forever that format, but eventlogs are not meant to be rewritten (perhaps a "cold storage" solution for them would be more appropriate, and migration would be done off line on the cold storage only)
Updated by François ARMAND 11 months 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/5254
Updated by Anonymous 11 months ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder:rudder|584f8457ebaf7f18c756899c45470d58218cf901.
Updated by Clark ANDRIANASOLO 10 months ago
- Fix check changed from To do to Checked
Updated by Vincent MEMBRÉ 5 months ago
- Status changed from Pending release to Released