Actions
Bug #20336
closedBad logs for migration error when technique is missing
Status:
Released
Priority:
N/A
Assignee:
Category:
System integration
Target version:
Pull Request:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
Description
When a new system technique is missing, we get a useless error message:
[2021-11-30 13:32:11+0100] INFO migration - Check if all Rudder 7.0 system technique are correctly loaded in technique library [2021-11-30 13:32:13+0100] INFO git-repository - git-gc performed on configuration-repository in PT5.763S [2021-11-30 13:32:13+0100] ERROR migration - Error during migration of policy server system configuration to Rudder V7.0 data. It is likely that Rudder won't work as expected. Please check the log above. Error was: SystemError: An error occured; cause was: java.nio.file.NoSuchFileException: /var/rudder/configuration-repository/techniques/system/rudder-service-postgresql/1.0/placeholder ->
The code was thought to produce:
s"New system technique '${t}' is not available in technique repository. " + s"It is necessary to be able to migrate old system configurations to 7.0."
but that code is not reached.
Updated by François ARMAND almost 3 years ago
- Related to Bug #20335: Database connection test is broken since the rules table has been removed added
Updated by François ARMAND almost 3 years ago
- Status changed from New to In progress
Updated by François ARMAND almost 3 years ago
- Status changed from In progress to Pending technical review
- Assignee changed from François ARMAND to Alexis Mousset
- Pull Request set to https://github.com/Normation/rudder/pull/4028
Updated by François ARMAND almost 3 years ago
- Status changed from Pending technical review to Pending release
Applied in changeset rudder|cc30db91b74b69ad2bab7d48c52ad7f6f3b45f75.
Updated by Vincent MEMBRÉ almost 3 years ago
- Status changed from Pending release to Released
This bug has been fixed in Rudder 7.0.0~rc2 which was released today.
Actions