Project

General

Profile

Actions

Bug #27283

closed

bootchecks - An error occurred while migrating techniques

Added by Michel BOUISSOU 25 days ago. Updated 22 days ago.

Status:
Rejected
Priority:
1 (highest)
Category:
Web - Config management
Target version:
Severity:
UX impact:
User visibility:
Effort required:
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No

Description

This issue might be related to Bug #26926, but I'm not sure.

Logged during webapp restart :

2025-07-15 06:25:51+0200 INFO  bootchecks - Started editor techniques update
2025-07-15 06:25:51+0200 ERROR bootchecks - An error occurred while updating techniques based on ncf; error message is: An Error occurred while extracting data from generic methods ncf API; cause was: Inconsistency: .file_from_string_mustache.parameter[0].constraints(expected ',' or '}' got '0')
2025-07-15 06:25:51+0200 INFO  bootchecks - [#9] Migrate technique.json to technique.yml
2025-07-15 06:25:51+0200 INFO  bootchecks.migration.techniques - Checking if some techniques need to be migrated to YAML format
2025-07-15 06:25:52+0200 INFO  status.techniques - All techniques have success compilation result
2025-07-15 06:25:52+0200 INFO  status.techniques - All techniques have success compilation result
2025-07-15 06:25:52+0200 INFO  techniques.reader - Reloading technique library, no modified techniques found
2025-07-15 06:25:53+0200 INFO  com.normation.rudder.services.policies.DeployOnTechniqueCallback - Update Technique library after updating all techniques at start up
2025-07-15 06:25:53+0200 ERROR bootchecks - An error occurred while migrating techniques based using a json file; error message is: An error occurred during techniques update after update of all techniques from the editor; cause was: An Error occurred while extracting data from generic methods ncf API; cause was: Unexpected: Inconsistency: .file_from_string_mustache.parameter[0].constraints(expected ',' or '}' got '0')

Related issues 1 (1 open0 closed)

Is duplicate of Rudder - Bug #26926: On Raspberry 5, error getting generic methods metadata - generic_methods.json truncated at 256 KoIn progressFrançois ARMANDActions
Actions #1

Updated by Michel BOUISSOU 25 days ago

  • Target version set to 8.3.3

Observed on Rudder version : 8.3.3~git202507092104

Actions #2

Updated by Félix DALLIDET 25 days ago

  • Target version changed from 8.3.3 to 8.3.4
Actions #3

Updated by François ARMAND 23 days ago

  • Category set to Web - Config management
  • Assignee set to François ARMAND
  • Priority changed from To review to 1 (highest)

P1 for assessment.

@Michel BOUISSOU :
- what is the source version for the migration ?
- can you post the corresponding ncf api data and if you find the file_from_string_mustache part ?

Actions #4

Updated by François ARMAND 23 days ago

  • Status changed from New to In progress
Actions #5

Updated by François ARMAND 23 days ago

  • Status changed from In progress to Pending technical review
  • Pull Request set to https://github.com/Normation/rudder/pull/6524
Actions #6

Updated by François ARMAND 22 days ago

  • Is duplicate of Bug #26926: On Raspberry 5, error getting generic methods metadata - generic_methods.json truncated at 256 Ko added
Actions #7

Updated by François ARMAND 22 days ago

  • Status changed from Pending technical review to Rejected

This is a duplicate of #26926

Actions

Also available in: Atom PDF