Project

General

Profile

Actions

Bug #20336

closed

Bad logs for migration error when technique is missing

Added by François ARMAND 6 months ago. Updated 5 months ago.

Status:
Released
Priority:
N/A
Category:
System integration
Target version:
Severity:
User visibility:
Effort required:
Priority:
0

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.


Related issues

Related to Rudder - Bug #20335: Database connection test is broken since the rules table has been removedReleasedNicolas CHARLESActions
Actions #1

Updated by François ARMAND 6 months ago

  • Related to Bug #20335: Database connection test is broken since the rules table has been removed added
Actions #2

Updated by François ARMAND 6 months ago

  • Status changed from New to In progress
Actions #3

Updated by François ARMAND 6 months 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
Actions #4

Updated by François ARMAND 6 months ago

  • Status changed from Pending technical review to Pending release
Actions #5

Updated by Vincent MEMBRÉ 5 months ago

  • Status changed from Pending release to Released

This bug has been fixed in Rudder 7.0.0~rc2 which was released today.

Actions

Also available in: Atom PDF